Commit 73680a4e authored by Vladimir Zhukov's avatar Vladimir Zhukov
Browse files

Merge branch 'main' of mks2.cs.msu.ru:root/cyberspoon into main

parents f96ffe4b ec684ceb
Pipeline #1494 passed with stage
in 3 seconds
......@@ -162,6 +162,9 @@ STATICFILES_DIRS = [
BASE_DIR / 'static'
]
if not DEBUG:
STATIC_ROOT = '/cyberlozhkin_static/'
# Default primary key field type
# https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field
......
#!/bin/bash
poetry install
poetry run ./cyberlozhkin/manage.py migrate
poetry run ./cyberlozhkin/manage.py collectstatic -c --noinput
poetry run ./cyberlozhkin/manage.py check --deploy
sudo systemctl restart cyberlozhkin.service
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment