Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 05a704d38e3a4634cc6fba8751d517a728d877e5 1 parent 74324d0
@drpowell drpowell authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.