|
@ -59,9 +59,9 @@ schema_all.pdf: |
|
|
./manage.py graph_models -a -g | dot -Tpdf > schema_all.pdf |
|
|
./manage.py graph_models -a -g | dot -Tpdf > schema_all.pdf |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TEST_USER=${USER} |
|
|
TEST_USER=test-mam |
|
|
TEST_SERVER=atrey.karlin.mff.cuni.cz |
|
|
TEST_SERVER=atrey.karlin.mff.cuni.cz |
|
|
TEST_DIR=/akce/MaM/MaMweb/test/ |
|
|
TEST_DIR=/home/test-mam/mamweb-test/ |
|
|
|
|
|
|
|
|
# remote commands
|
|
|
# remote commands
|
|
|
HEAD=`git log --color=never |head -1|sed 's/.*commit //'` |
|
|
HEAD=`git log --color=never |head -1|sed 's/.*commit //'` |
|
@ -75,6 +75,7 @@ push_test: |
|
|
git clean -f && \
|
|
|
git clean -f && \
|
|
|
cp mamweb/settings_test.py mamweb/settings.py && \
|
|
|
cp mamweb/settings_test.py mamweb/settings.py && \
|
|
|
make install && \
|
|
|
make install && \
|
|
|
|
|
|
./manage.py collectstatic --noinput && \
|
|
|
./manage.py migrate --noinput && \
|
|
|
./manage.py migrate --noinput && \
|
|
|
(chown -Rf :mam . || true ) && \
|
|
|
(chown -Rf :mam . || true ) && \
|
|
|
(chmod -Rf g+w . || true ) && \
|
|
|
(chmod -Rf g+w . || true ) && \
|
|
|