rsync -avH ./dist -e ssh [email protected]:/root/coverband/
npm install --only=prod
sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_10.x | bash -
apt-get install -y nodejs
https://blog.logrocket.com/setting-up-a-restful-api-with-node-js-and-postgresql-d96d6fc892d8
brew install postgresql
brew services start postgresql
psql postgres
CREATE ROLE developer WITH LOGIN PASSWORD 'developer123'
ALTER ROLE developer CREATEDB;
\q
psql -d postgres -U developer
CREATE DATABASE coverband;
\c coverband
\dt
https://knexjs.org/ http://perkframework.com/v1/guides/database-migrations-knex.html http://frontend.turing.io/lessons/module-4/knex-postgres.html