Permalink
Browse files

Makefile

  • Loading branch information...
nicksergeant committed Oct 12, 2015
1 parent 357d1bd commit 6d0544caab33abc29ca3da5b7c782606e69622bc
Showing with 6 additions and 6 deletions.
  1. +1 −0 .gitignore
  2. +5 −6 Makefile
View
@@ -11,6 +11,7 @@
settings_local.py
settings_local_server.py
snipt.dump
snipt.dump.gz
media/cache
media/css/pro.css
View
@@ -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, \

0 comments on commit 6d0544c

Please sign in to comment.