Development Setup
Last updated
Last updated
Install for your OS. Also install Fabric via pip install fabric
Create .env file with the reference of.env.example
or receive .env file from your team member
Runfab up
Go to to check if the frontend / polymer is running. The Django app is running under
Login to backend using fab ssh:backed
and create admin withpython manage.py createsuperuser
To prepare data, load fixtures and run all required commands from the chapter .
Go to login with your credentials
Important! Users created with superuser command will not be associated with any country, which could lead to the frontend issues. You need to assign the country manually in the admin panel from the user edit page.
Open in your browser to see the frontend interface.
Here are some useful docker tips:
display all containers:
ssh into running django_api container
stop all containers
cleanup docker system: remove all inactive containers