Boilerplate setup to build and deploy MEAN.js apps.
It includes:
- 1 server (
nodes/mean-node.yml
) with:- Nginx as a Web frontend,
- NodeJS, including
bower
,grunt
andforever
, to run the app. - MongoDB for storage.
- 1 build task (
tasks/mean-build.yml
) which will fetch your MEAN.js app from GitHub, build the app and run it. - 1 task that takes care of the app build (
npm install
andgrunt build
).
- Fork this repository using the "Fork on devo.ps" button above.
- Navigate to the repos page.
- Activate the master branch; you will be prompted for some details (provider, server size, Git URL of your app...).
You may as well use the task's webhook to build and deploy every time your commit a change to your app; simply point the GitHub repository Webhook to https://wh.devo.ps/{USER}/{REPO}/rebuild/mean/app
(where {USER}
is your username and {REPO}
is the name of your forked repo in devo.ps). This will effectively trigger the build and deploy task every time GitHub registers a commit.
You can obfuscate this Webhook URL in the tasks/mean-build.yml
file (see the webhooks
attribute).