Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
57b73fdb
Commit
57b73fdb
authored
Feb 22, 2019
by
Sébastiaan Versteeg
Browse files
Merge branch 'migrate_entrypoint' into 'master'
Do migrate, collectstatic and compress in entrypoints Closes
#831
See merge request
!1179
parents
4fa22b3c
8514387a
Changes
1
Hide whitespace changes
Inline
Side-by-side
resources/entrypoint_production.sh
View file @
57b73fdb
...
...
@@ -12,6 +12,11 @@ done
>
&2
echo
"PostgreSQL is up"
cd
/usr/src/app/website/
./manage.py collectstatic
--no-input
./manage.py migrate
--no-input
./manage.py compress
--force
>
&2
echo
"Running site with uwsgi"
uwsgi
--chdir
/usr/src/app/website
\
--socket
:8000
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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