Backend
Local setup
Install docker with docker-compose
Put database dump inside
postgres_datafolder with namedevDBRun database container separately and wait until dump will be applied
docker-compose -f docker/docker-compose.dev.yml up --build dbStop running container (Ctrl+C/Cmd+C)
Run development environment
docker-compose -f docker/docker-compose.dev.yml up --buildLogin into image
docker exec -it proco_dev_backend /bin/bashCreate admin user
pipenv run python manage.py createsuperuserCMS and API will be available at 8000 port: http://localhost:8000/admin/
Last updated
Was this helpful?