DevTech101

DevTech101

Configuring NodeJS, Express, and Bootstrap

npm install --save express-partials

Initialize /install NodeJS express Module

npm install -g express-generator

Create all need structure with express

express --ejs bootstrap/

Finally, install NodeJS modules

npm install

Next, start NodeJS

npm start

Note: If you are using Netbeans, to be able to start from within Netbeans, add the below to the package.json.

  },
  "main" : "bin/www",
  "dependencies" : 
{

Auto-detect change module, used for auto background re-start

npm install -g nodemon

Now try nodemon – May not work on Solaris

nodemon

To install PhantomJS – download from, Add in your path

https://github.com/lumenlunae/jade-netbeans-syntax-highlighting
And jade to html
http://html2jade.aaron-powell.com/

Reference
EJS help
Nodejs + kickstart help (outdated)
Bootstrap and npm

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
%d bloggers like this: