Super Simple Static Site
A template for the structure of a web site, including an easily customisable gulp setup, which by default processes CoffeeScript, SASS and Jade.
/site --/src/ ----/resources/ ----/scripts/ ----/styles/ ----/views/ ----/locals.json
Clone the repo:
git clone https://github.com/Lissy93/super-simple-static-site.gitand navigate into the directory
Build the app
npm run build
4.a. Run the app on an node server, run
npm start and visit http://localhost:8080
4.b. OR to just run the app locally open production/index.html in your web browser
npm run watch to watch for changes in the working directory and recompile necessary files
If you are using the node server, to save having to restart it on every file change, use nodemon (
npm install nodemon -g).
nodemon server from the root directory. It will restart automatically on file change