GithubHelp home page GithubHelp logo

Comments (5)

davidjwbbc avatar davidjwbbc commented on September 14, 2024 1

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.

jordijoangimenez avatar jordijoangimenez commented on September 14, 2024

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.

jordijoangimenez avatar jordijoangimenez commented on September 14, 2024

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.

davidjwbbc avatar davidjwbbc commented on September 14, 2024

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.

jordijoangimenez avatar jordijoangimenez commented on September 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.