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
|
make install
|
||||||
./manage.py migrate
|
./manage.py migrate
|
||||||
./manage.py collectstatic --noinput
|
./manage.py collectstatic --noinput
|
||||||
(chown -Rf :mam . || true )
|
(chown -R :mam . || true )
|
||||||
(chmod -Rf g+rX . || true )
|
(chmod -R g+rX,go-w . || true )
|
||||||
(chmod -Rf g+rwX ./media/ || true )
|
@echo Notifying apache about the change ...
|
||||||
touch mamweb/wsgi.py
|
touch mamweb/wsgi.py
|
||||||
@echo Done.
|
@echo Done.
|
||||||
|
|
||||||
|
@ -86,9 +86,9 @@ deploy_prod:
|
||||||
make install
|
make install
|
||||||
./manage.py migrate
|
./manage.py migrate
|
||||||
./manage.py collectstatic --noinput
|
./manage.py collectstatic --noinput
|
||||||
(chown -Rf :mam . || true )
|
(chown -R :mam . || true )
|
||||||
(chmod -Rf g+rX . || true )
|
(chmod -R g+rX,go-w . || true )
|
||||||
(chmod -Rf g+rwX ./media/ || true )
|
@echo Notifying apache about the change ...
|
||||||
touch mamweb/wsgi.py
|
touch mamweb/wsgi.py
|
||||||
@echo Done.
|
@echo Done.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue