Sails + Jade + Sass + Bootstrap
- Postgresql: install database
- Postico: postgres gui
npm install sails -g
npm install -g foreman
clone repo
git https://github.com/evolmk/pixelmasher.git
cd pixelmasher
update your own database settings
cp .env.example .env
install dependencies
npm install
create database
psql -h localhost
create database pixelmasher;
nf start
sails lift (without node foreman)
create app
heroku create pixelmasher-app
add Procfile
file to app's root
web: node app.js
add buildpack to heroku
heroku config:add BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi.git
deploy
heroku login
git add .
git commit -m "commit_message"
git push heroku master
logs
heroku logs --tail