Skip to content

Ronmantech/Nodejs_Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js Template

Technologies Used:

  • Nodejs
  • Express
  • JS
  • SCSS
  • CSS
  • Pug
  • Mocha
  • Chai
  • Heroku
  • Bash

Running Locally

Make sure you have Node.js and the Heroku Toolbelt installed.

git clone https://github.com/Ronmantech/Nodejs_Template.git
cd Nodejs_Template 
npm install
npm start

The app will run on port 8080. localhost:8080.

Deploying to Heroku

heroku create
git push heroku master
heroku open

Or you can deploy your own copy of the app using the web-based flow:

Deploy to Heroku

Help Desk

If "cant find modules" error is encountered. Try the following:

npm install

If "Node Sass could not find a binding for your current environment" or "throw new Error(errors.missingBinary());" error is encountered. Try either of the following:

rm -rf node_modules && npm install

or

npm rebuild node-sass && npm install

If

gulp[1016]: ../src/node_contextify.cc:631:static void node::contextify::ContextifyScript::New(const FunctionCallbackInfo<v8::Value> &): Assertion `args[1]->IsString()' failed."
Abort 6

error is encountered. Try the following:

rm -rf node_modules && npm install && npm link gulp 

Releases

No releases published

Packages

No packages published