Skip to content

athakwani/nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

This dupper template repository is for Node.js + Mongodb.

Node.js

This template install npm & bower packages for your git project.

dupper dup --name=nodejs --template-from=https://github.com/athakwani/nodejs GITURL

Ports

Following 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

Commands

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

About

Dupper nodejs debug example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors