Skip to content

Commit a953fc9

Browse files
committed
Add db setup
1 parent ee64c5a commit a953fc9

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@ This is the repo for the JavaScript.com website.
44

55
## Running
66

7-
Install dependencies with `npm install`.
8-
Run the application with `npm start`.
7+
* Install dependencies with `$ npm install`.
8+
* Create the local PostgreSQL database with `$ createdb javascriptcom`.
9+
* Load schema with `$ psql javascriptcom < db/schema.sql`
10+
* Run the application with `$ npm start`.
911

1012
For debugging all the things, run `DEBUG=* npm start`.
1113

12-
1314
## Development
1415

1516
If you add any runtime dependencies, you must run `npm shrinkwrap` and

0 commit comments

Comments
 (0)