Minor update of deploy
This commit is contained in:
parent
9e6a620b82
commit
a665d5dee6
1 changed files with 6 additions and 6 deletions
12
Makefile
12
Makefile
|
@ -68,9 +68,9 @@ deploy_test:
|
|||
make install
|
||||
./manage.py migrate
|
||||
./manage.py collectstatic --noinput
|
||||
(chown -Rf :mam . || true )
|
||||
(chmod -Rf g+rX . || true )
|
||||
(chmod -Rf g+rwX ./media/ || true )
|
||||
(chown -R :mam . || true )
|
||||
(chmod -R g+rX,go-w . || true )
|
||||
@echo Notifying apache about the change ...
|
||||
touch mamweb/wsgi.py
|
||||
@echo Done.
|
||||
|
||||
|
@ -86,9 +86,9 @@ deploy_prod:
|
|||
make install
|
||||
./manage.py migrate
|
||||
./manage.py collectstatic --noinput
|
||||
(chown -Rf :mam . || true )
|
||||
(chmod -Rf g+rX . || true )
|
||||
(chmod -Rf g+rwX ./media/ || true )
|
||||
(chown -R :mam . || true )
|
||||
(chmod -R g+rX,go-w . || true )
|
||||
@echo Notifying apache about the change ...
|
||||
touch mamweb/wsgi.py
|
||||
@echo Done.
|
||||
|
||||
|
|
Loading…
Reference in a new issue