Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 18 lines (13 sloc) 408 Bytes
#!/bin/bash -xe
if grep ^DATABASES local_settings.py; then
vim local_settings.py
exit
fi
ssh -p 222 veyepar@nextdayvideo.com /home/veyepar/veyepar/dj/dumpdata.sh
scp -P 222 veyepar@nextdayvideo.com:veyepar/dj/veyepar_main.json .
touch veyepar.db
mv veyepar.db ~/temp
./manage.py syncdb --noinput
./manage.py loaddata veyepar_main.json
./manage.py loaddata veyepar_accounts.json
# ./runsrv.sh
Jump to Line
Something went wrong with that request. Please try again.