LighterPack helps you track the gear you bring on adventures.
- Install node.js, npm and postgres
$ git clone https://github.com/galenmaly/lighterpack.git- Install dependancies
$ npm install - Configure postgres
sudo -u postgres psql -c "CREATE USER lp WITH PASSWORD 'DBPASSWORD';"
sudo -u postgres psql -c "CREATE DATABASE lighterpack OWNER lp;"
sudo -u postgres psql lighterpack < db/01_users.sql
- Create a local config file
cp config/default.json config/local.json - Edit the db config params in local.json
- Start back end
$ npm run dev - go to http://localhost:3000