Update README to only recommend 1 way to setup database schema

This commit is contained in:
Elizabeth Engelman 2018-04-11 11:00:25 -05:00
parent fd6eb172e4
commit 7d7f0e3790

View File

@ -17,9 +17,8 @@
1. Create a superuser for yourself and make sure `psql --list` works without prompting for a password. 1. Create a superuser for yourself and make sure `psql --list` works without prompting for a password.
1. `createdb vulcanize_public` 1. `createdb vulcanize_public`
1. `cd $GOPATH/src/github.com/vulcanize/vulcanizedb` 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 * See below for configuring additional environments
## Configuration ## Configuration