Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
concrexit
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
70
Issues
70
List
Boards
Labels
Service Desk
Milestones
Merge Requests
10
Merge Requests
10
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
thalia
concrexit
Commits
8514387a
Verified
Commit
8514387a
authored
Feb 21, 2019
by
Joren Vrancken
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do migrate, collectstatic and compress in entrypoints
parent
4fa22b3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
resources/entrypoint_production.sh
resources/entrypoint_production.sh
+5
-0
No files found.
resources/entrypoint_production.sh
View file @
8514387a
...
...
@@ -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
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