Backend
Last updated
Was this helpful?
Last updated
Was this helpful?
Install docker with docker-compose
Put database dump inside postgres_data
folder with name devDB
Run database container separately and wait until dump will be applieddocker-compose -f docker/docker-compose.dev.yml up --build db
Stop running container (Ctrl+C/Cmd+C)
Run development environmentdocker-compose -f docker/docker-compose.dev.yml up --build
Login into image docker exec -it proco_dev_backend /bin/bash
Create admin user pipenv run python manage.py createsuperuser
CMS and API will be available at 8000 port: