|
@ -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. |
|
|
|
|
|
|
|
|