Backend

Local setup

  1. Install docker with docker-compose

  2. Put database dump inside postgres_data folder with name devDB

  3. Run database container separately and wait until dump will be applieddocker-compose -f docker/docker-compose.dev.yml up --build db

  4. Stop running container (Ctrl+C/Cmd+C)

  5. Run development environmentdocker-compose -f docker/docker-compose.dev.yml up --build

  6. Login into image docker exec -it proco_dev_backend /bin/bash

  7. Create admin user pipenv run python manage.py createsuperuser

  8. CMS and API will be available at 8000 port: http://localhost:8000/admin/

Last updated

Was this helpful?