Browse files

Script to clean db and populate for testing

- Also a db dump used by abovementioned script.  The dump is minimal but does contain an admin user and an article
  • Loading branch information...
1 parent 74324d0 commit 05a704d38e3a4634cc6fba8751d517a728d877e5 @drpowell drpowell committed May 20, 2011
Showing with 4,948 additions and 0 deletions.
  1. +3 −0 r2/start-test.sh
  2. +4,945 −0 sql/reddit-db-test.dmp
View
3 r2/start-test.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+(cd ..; export PGPASSWORD=password; ./sql/bootstrap_development_db.sh && psql -h localhost -U reddit reddit -f sql/reddit-db-test.dmp ) && sudo /etc/init.d/memcached restart && paster serve development.ini --reload port=8080
View
4,945 sql/reddit-db-test.dmp
4,945 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.

0 comments on commit 05a704d

Please sign in to comment.