Note: this is what I tested with, your mileage may differ.
web/js
and execute yarn install
system/js
and execute yarn install
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver --watch
python manage.py createsuperuser --username Admin --email "" --skip-checks
To start working, the following objects are required:
nav:top
or nav:side
) that are critical for proper appearance You can provision these basic structures by running the following commands:
python manage.py createsite -s scp-ru -d localhost:8000 -t "SCP Foundation" -H "Russian branch"
python manage.py seed -s scp-ru
To start the project, use:
docker-compose up
To completely delete all data, use:
docker-compose down
rm -rf ./files ./archive ./postgresql
To create users, sites and seed inside the database, start the project and afterwards use syntax such as this:
docker exec -it scpdev_web python manage.py createsite -s scp-ru -d localhost -t "SCP Foundation" -H "Russian branch"
docker exec -it scpdev_web seed -s scp-ru
To update current app that is running, do:
docker-compose up -d --no-deps --build web
Note: in more recent versions, you may want to use docker compose
instead of docker-compose
.