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
Login to the backend using fab ssh:backend
Prepare data: load fixtures & run all required commands from .
Go to to see the frontend / polymer running. The Django app is running under
Create admin with python manage.py createsuperuser
Go to login with your credentials.
Important! User created with superuser command will not be assosiated with any country, so frontend will fail. You need to assign the country manually in the admin panel from user edit page.
And can now go to http://127.0.0.1:8082/tpm/ to see the frontend interface.
Here are some docker tips:
display all containers:
ssh into running django_api container
stop all containers
cleanup docker system: remove all inactive containers