PRs are welcome!
The dev environment of NAAS can be instantiated by doing the following:
- Clone down the NAAS repo to your device:
git clone git@github.com:lykinsbd/naas.git
- Create a Python virtual environment in that folder:
python3 -m venv naas
- Change to that directory and activate the virtual environment:
source bin/activate
- Install the requirements:
pip install -r requirements.txt
- Make any changes you desire.
- Launch a local Redis container:
docker run -p 6379:6379 redis:5-alpine
- Launch a local worker process:
python worker.py 2 -l DEBUG -s 1
- Launch the Gunicorn server:
gunicorn -c gunicorn.py naas.app:app
- Test your changes...