install vanilla rails-api
Clean up the Gemfile
rm database.yml, create database.default.yml for pg
ignore database.yml
install silent-postgres