Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Vladimir Zhukov
cyberlozhkin
Commits
73680a4e
Commit
73680a4e
authored
Jan 08, 2022
by
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
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cyberlozhkin/cyberlozhkin/settings.py
View file @
73680a4e
...
...
@@ -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
...
...
deploy.sh
0 → 100755
View file @
73680a4e
#!/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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment