Backend
Local setup
Install docker with docker-compose
Put database dump inside
postgres_data
folder with namedevDB
Run database container separately and wait until dump will be applied
docker-compose -f docker/docker-compose.dev.yml up --build db
Stop running container (Ctrl+C/Cmd+C)
Run development environment
docker-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: http://localhost:8000/admin/
Last updated
Was this helpful?