From 6d0544caab33abc29ca3da5b7c782606e69622bc Mon Sep 17 00:00:00 2001 From: Nick Sergeant Date: Mon, 12 Oct 2015 12:59:15 -0400 Subject: [PATCH] Makefile --- .gitignore | 1 + Makefile | 11 +++++------ 2 files changed, 6 insertions(+), 6 deletions(-) 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, \