Comments (5)
For number 1
This is an issue if older versions of the pip
build
and/or setuptools
Python modules are already installed on the system. Although the documentation isn't clear, it appears that the --upgrade
flag does not require that the module be already installed. When present will upgrade the specified modules if they already installed. Without the flag, if a module is already installed it is left at the current version instead of being updated. Therefore changing the current instructions to include the upgrade flag should fix some issues with pip, build and setuptools version mismatches.
For number 2
- If the pip install command is run as the admin user (
root
) then it would install the application on normal paths, not requiring an update to$PATH
. - If the pip install command is run in a Python venv (e.g.
venv/bin/python3 -m pip install .
), then the command is installed in the venv bin directory and will be on the$PATH
if the venv enviroment has been activated (e.g.source venv/bin/activate
), or can be run directly from the bin directory, e.g.venv/bin/5gms-application-server
. - If the pip install command is run by an unprivileged user then the application server will be installed in their local home directory, a warning is displayed about updating
$PATH
to include this directory. Alternatively the command can be run by specifying the full path, e.g.~/.local/bin/5gms-application-server
.
from rt-5gms-application-server.
Regarding /docs/README.md
I would like that we make a bit more clear how to execute the following:
Install both the 5GMS Application Server and Application Function.
(I would add links to the installation pages... perhaps trivial).
...
Start the Application Server.
(5g-ms-application-server ... let's add an example)
Start the Application Function.
(/install/bin/open5gs-msafd -c msaf.yaml ... let's add an example)
from rt-5gms-application-server.
Another thing...
At the AS we've got the examples under tests/examples
At the AF they are under just /examples
Would it make sense to push the examples to another repo so they are just in one place and updated only once? e.g. at the rt-common-shared or at the rt-mbms-examples (repurposing the name to rt-examples, it's also weird that rt-mbms-examples contains flute but that's for another moment...)
from rt-5gms-application-server.
Another thing... At the AS we've got the examples under tests/examples At the AF they are under just /examples
Would it make sense to push the examples to another repo so they are just in one place and updated only once? e.g. at the rt-common-shared or at the rt-mbms-examples (repurposing the name to rt-examples, it's also weird that rt-mbms-examples contains flute but that's for another moment...)
They were moved out of rt-common-shared because, although similar, the examples for the Application Server are different from the ones for the Application Function.
For the Application Server they are only needed if you are doing stand alone testing on the Application Server without the Application Function, which is why they are in tests/examples
near the m3 test client script.
For the Application Function they are example configurations and were put in examples
. Might be better renaming that directory to example-configurations
.
from rt-5gms-application-server.
I got it. Once the AS is configured through AF you no longer need configurations (just left for testing). test/examples is fine
For the AF examples is fine
from rt-5gms-application-server.
Related Issues (20)
- Use OpenAPI to bindings script from 5G-MAG/rt-common-shared repository. HOT 3
- MVP#1 Application Server installation issues/observations HOT 21
- asyncio.create_task(..., name=...) doesn't work with Python 3.7 HOT 1
- Error, following the build instructions HOT 5
- Application Server crash on certificate upload HOT 3
- Content Hosting Configuration handling uplift in 5GMSd AS HOT 5
- Incorrect error response status code for M1_ContentHostingProvisioning_purgeContentHostingCache operation HOT 3
- Enhancement: Return number of cache entries purged in M3 response
- MVP#2 Application Server installation/running issues/observations HOT 11
- CI/CD - Automated deployment of 5GMS AS to Linode instance HOT 1
- Implement Server Health Check endpoint
- Uplift to TS 26.512 v17.4.0: Update M3 interface with new ContentHostingConfiguration structure HOT 1
- Feature: Media Streaming Data Reporting at reference point R4 HOT 1
- 5gms-application-server reports `Path parameters cannot have a default value` HOT 3
- Upstream redirects are passed to client HOT 9
- Redirection fails with recent OpenResty version HOT 1
- change in pydantic v2 HOT 3
- Development branch: Missing Nginx mime.types after clean installation HOT 2
- Updating PATH for launching Openresty HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rt-5gms-application-server.