Basic "Hello world!" application for (free on) the Heroku platform. This guide assumes you have the CLI tools installed to work with Heroku, namely the Heroku Toolbelt, node, and git.
This app will combine your Angular app into a single, minified file along with a source map to allow for debugging.
- Node.js
- Angular
- Hapi
- Postgres
git clone https://github.com/ryanwalters/heroku-boilerplate.git <appname>
cd <appname>
heroku create <appname>
heroku addons:add heroku-postgresql
git push heroku master
- Get the environment variable from the following command
heroku config:get DATABASE_URL
and place it in.env
npm install
gulp watch
foreman start web
- Angular module setters must begin with an underscore (_app.js)