Convert currencies
Clone the project
git clone https://github.com/nodarai/cconverter
Create .env
file with the necessary variables
Create and setup a virtualenv
virtualenv -p python3.6 .venv
source .venv/bin/activate
pip install -r requirements.txt
Run the migrations to create a database and tables
python manage.py migrate
Load the initial data
python manage.py loaddata convert/fixtures/currencies.json
Run the celery beat
celery -A cconverter beat -l debug
Run a celery worker
celery -A cconverter worker -l debug
Run the project in development mode
python manage.py runserver
Optionnally, create a superuser to access the admin interface
python manage.py createsuperuser
And follow the instructions.
Django Admin interface will be available at http://localhost:8000/admin/
The documentation, alongside with interactive API will be available at http://localhost:8000/docs/