haibu-repo
Package.json settings
Haibu uses a package.json format extension in order to determine what to deploy. Also, haibu is a pull based server; this means that it will pull files from outside of the server in order to deploy instead of using uploading directly into the process.
Name
The name attribute is required and will represent the name of the application being deployed.
User
The user attribute is required and will represent the user who started up a drone.
Repositories
git
This type of repository will pull a git repository into haibu and deploy its contents.
local
This type of repository will pull a directory relative to the haibu
and deploy its contents.
tar
This type of repository will pull a remote archive relative to the haibu
and deploy its contents.
zip
This type of repository will pull a remote archive relative to the haibu
and deploy its contents.
npm
This type of repository will install a npm package as application. The package will be available as directory under its name and the scripts will be installed in the .bin
directory.
So scripts.start should have one of both as relative directory:
"scripts":
or:
"scripts":