API backend to browse launch data from a public API on the frontend.
- Create a virtualenv
- In the postactivate (or activate script), export the following environment variables:
export NM_LAUNCH_API_SETTINGS=nm_launch_api.config.local
export LAUNCH_LIBRARY_BASE_URL=https://launchlibrary.net/1.3
- After you activate your virtualenv, from the root directory of the project, run:
pip install -U .
- Once the package is installed, simply run:
<path to virtualenv>/bin/nm_launch_api
The API is now running on localhost port 8000.
- In a virtualenv:
pip install -r requirements/ci.txt
- Simply run the command:
python setup.py test