This demo was created by @oisinBates to orginally showcase the celery_progress package. Here we have modified it to run fully in docker to be used in Release.
Generate an API key at api.nasa.gov and add it to a .env file in the root directory as NASA_API_KEY (see .env.example).
Simply run the following in a terminal:
docker-compose up -dAfter that, visit localhost:8000 to see the app running!
Start RabbitMQ and Redis on Docker
docker run -d -p 5672:5672 rabbitmqdocker run -d -p 6379:6379 redisFrom within this repo's root directory, run the following commands in order to install this project's dependencies in a virtual environment and run a Django web server:
pip install --user pipenvpipenv shellpipenv installpython3 manage.py runserverOpen a second terminal window and run the following:
python3 -m celery -A demo_project worker -l info --concurrency=8
