This dupper template repository is for Node.js + Mongodb.
This template install npm & bower packages for your git project.
dupper dup --name=nodejs --template-from=https://github.com/athakwani/nodejs GITURLFollowing ports are opened by default. Additional ports can be opened with -p external_port:interal_port option to dup command.
- 3000 - Default port for project
- 8000 - For node debugger
- 8080 - For Cloud 9 dev environment
This template implements below command interface.
- build - Run npm build
Usage:
dupper exec nodejs build- start - Run npm start
Usage:
dupper exec nodejs start- test - Run npm test mean stack
Usage:
dupper exec nodejs stop- debug - Start node debugger
Usage:
dupper exec nodejs debug- c9 - Start Cloud 9 SDK
Usage:
dupper exec nodejs c9- heroku-deploy - Deploy on Heroku
Usage:
dupper exec nodejs heroku-deploy- heroku-delete - Delete Heroku app
Usage:
dupper exec nodejs heroku-delete