Building Application

After providing the source code on your local machine (source), using following commands the build process is somewhat simple!

  • First check if an existing version of OpenSRANE exist in the installed packages, remove it (using command prompt for windows).

    Remove the existing OpenSRANE package from local machine
    pip uninstall OpenSRANE
    
  • To install the forked OpenSRANE on you local machine, go to the OpenSRANE folder and delete setup.py and rename the setup-Local.py to setup.py.

  • Go to the OpenSRANE folder that setup.py exist and using command prompt for windows run the following command.

    Installing OpenSRANE package from local machine
    pip install -e .
    

Now OpenSRANE has been installed on your local machine and any changes in the source code will be directly implement on OpenSRANE.

Note

  • Attention that setup.py and setup-Local.py changes should not be push to the main repository.