-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Fanis Katsimpas edited this page Apr 17, 2015
·
4 revisions
-
Install node.js (www.nodejs.org)
-
Install PostgreSQL (www.postgresql.com)
-
Run the following in project folder
# install bower for client dependencies
npm install -g bower
# install node modules
npm install
# install bower components (eg. angular)
bower install
# create db
psql postgres -f dbcreate.sql
-
Edit server/config/database.json file if needed (host, user, password fields)
-
Run migrations (create tables etc.)
node node_modules/db-migrate/bin/db-migrate --config server/config/database.json up
- Run server
node app.js
Note: server runs on port 8000 and redirects to port 8443 for https!