1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-04 00:18:01 +01:00

README fix.

This commit is contained in:
Jari Bakken 2014-12-12 16:19:12 +01:00 committed by Ivar Conradi Østhus
parent f7cd8286e4
commit e7eb6022c1

View File

@ -38,11 +38,8 @@ export TEST_DATABASE_URL=postgres://unleash_user:passord@localhost:5432/unleash_
npm install npm install
// Run migrations in your local DBs // Run migrations in your local DBs
export DATABASE_URL=postgres://unleash_user:passord@localhost:5432/unleash
./node_modules/.bin/db-migrate up
export TEST_DATABASE_URL=postgres://unleash_user:passord@localhost:5432/unleash
./node_modules/.bin/db-migrate up ./node_modules/.bin/db-migrate up
DATABASE_URL=$TEST_DATABASE_URL ./node_modules/.bin/db-migrate up
// Start server in dev-mode: // Start server in dev-mode:
npm run dev npm run dev