0.1.1 • Published 9 years ago
vulcano v0.1.1
Vulcano
Stack
API
- Node.js
- Express
- Mongoose
- Nunjucks (Template Engine)
- Nodemon (Reload automatically for dev mode)
- PM2 (Deployment)
Install
System
- Unix
- Node.js v6+
Packages
$ npm install installWorkflow
| Command | Description |
|---|---|
nodemon | Run development server and watch changes |
npm run start | Start development server |
npm run production | Start production server |
pm2 start package.json --env=production | Start production server with PM2 |
Structure
app/core/public/- HTTP Public folderProcfile- Heroku entry pointREADME.mdapp.js- Server entry pointdeploy.sh- Script to run after deployment to set manuality your confignodemon.json- Nodemon entry point