Post install - iameven.com

I read some documentation and learned something about Heroku buildpacks.

Node.js build and serve

In my previous setups of deployment I've written a script to first build, then serve. However, scripts can be added to package.json and automatically run by the buildpack. Adding a command to scripts.start like $ node server.js saves declaring a .procfile, but even more cool, scripts. postinstall will run after installing all the node modules, but before running the start script, and that's how you hook things up.

Snake Re-building this website