Skip to content

cmcculloh-kr/fuelux-boilerplate-static-node-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fuelux-boilerplate-static-node-server

Just a simple static server for node JS preloaded with FuelUX for your convenience

It is deployable to Heroku (or, should be. It is untested. If it doesn't work, please create an issue, or fix and submit a PR)

Install

While you can just clone this, I recommend pulling it into a new repo instead.

  1. Create a new repository
  2. git pull git@github.com:cormacmccarthy/fuelux-boilerplate-static-node-server.git master
  3. run npm install

Use

Grunt

This will bypass app.js and just use connect with watch to serve you static files from www/

  1. run grunt

Nodemon

This will start app.js, which will serve your static files from www/

  1. run grunt app
  2. browse to http://localhost:9001/

Node

This will start app.js, which will serve your static files from www/

  1. node app
  2. browse to http://localhost:9001/

CSS & JS minifies and merges in-place.

Port number and other settings changeable in Grunfile.js and/or app.js

About

Just a simple static server for node JS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 62.0%
  • JavaScript 37.7%
  • CSS 0.3%