Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
doc
lib
CHANGELOG.md
README.md
plan.sh

README.md

Habitat Node Scaffolding

Node Scaffolding is a Habitat package which helps you build your Node.js-based web applications, services, and processes (hereafter referred to as "apps") into a package which runs consistently on a wide range of containers, virtual machines, or servers via the Habitat Supervisor. The Supervisor will facilitate clustering, discovery of external services such as databases, dynamically update configuration and credentials, coordinate reliable rolling updates, and a lot more!

Pre-build, build, and post-build steps}

This scaffolding does support running build scripts, etc. that are defined in package.json. However, due to a known issue, you will need to run the Habitat services as "root" rather than the default "hab" user. You can do this by adding this line to your plan.sh

pkg_svc_user=root