From 7d7f0e37909f6875b50309148b7b0b4eb6877d01 Mon Sep 17 00:00:00 2001 From: Elizabeth Engelman Date: Wed, 11 Apr 2018 11:00:25 -0500 Subject: [PATCH] Update README to only recommend 1 way to setup database schema --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index e53af160..699f5534 100644 --- a/README.md +++ b/README.md @@ -17,9 +17,8 @@ 1. Create a superuser for yourself and make sure `psql --list` works without prompting for a password. 1. `createdb vulcanize_public` 1. `cd $GOPATH/src/github.com/vulcanize/vulcanizedb` -1. Import the schema: `psql vulcanize_public < db/schema.sql` +1. Run the migrations: `make migrate HOST_NAME=localhost NAME=vulcanize_public PORT=5432` - or run the migrations: `make migrate HOST_NAME=localhost NAME=vulcanize_public PORT=5432` * See below for configuring additional environments ## Configuration