Switch branches/tags
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
cron-jobs
handlers
helpers
README.md
index.js
package.json
routes.js

README.md

Testing the exemple :

Start server with environment:

  • On windows
set NODE_ENV=staging&& node index.js

PS: Be sure that NODE_ENV=staging does not have any space after (or it will be considered as part of the ENVName)

  • On debian
export NODE_ENV staging && node index.js