diff --git a/.gitignore b/.gitignore index e323ee0..242c941 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ settings_local.py settings_local_server.py snipt.dump +snipt.dump.gz media/cache media/css/pro.css diff --git a/Makefile b/Makefile index ca4398d..42da033 100644 --- a/Makefile +++ b/Makefile @@ -146,13 +146,12 @@ vagrant: @$(ssh-vagrant) '$(pm) rebuild_index --noinput;' pulldb: - @ssh nick@snipt.net -p 55555 'sudo su -c "pg_dump snipt|gzip > /tmp/snipt.dump" postgres' - @scp -q -P 55555 nick@snipt.net:/tmp/snipt.dump snipt.dump.gz - @dropdb snipt + # @ssh nick@snipt.net -p 55555 'sudo su -c "pg_dump snipt|gzip > /tmp/snipt.dump" postgres' + # @scp -q -P 55555 nick@snipt.net:/tmp/snipt.dump snipt.dump.gz + # @dropdb snipt @createdb snipt - @cat snipt.dump | gunzip | psql snipt - @cat snipt.dump | psql snipt - @rm snipt.dump snipt.dump.gz + @cat snipt.dump.gz | gunzip | psql snipt + @rm snipt.dump.gz .PHONY: assets, \ db, \