Static site built using isomorphic react, a completley over-engineered client project.
Not quite ready for prime-time as an engine, still need to work out the kinks in making the development a bit smoother. Also going to strip the content of the site later for re-use.
Licenced under Mozilla Public License v2
- Facebook's ReactJS for rendering on client and build
- Using the excellent React-Router for routing on both sides as well
- Browserify for component management
- 100% free of jQuery because you don't need it
- Gulp for building, serving, etc., used to use roots.cx, but it was geared more towards template based static sites
- Now includes cache-busting use gulp-rev
- Stylus for CSS pre-processing since I wanted to try it (it's really nice, highly recommend over SASS)
- LWIP to process images into the various required sizes
- Jade for a single layout file to make life slightly easier
- gh-pages for hosting with cloudflare managing the DNS and some extra caching
- make sure node.js is installed
- clone this repo down and
cdinto the folder - run
npm install - run
gulp serve - ???
- get money
gulp imgmake[--images] will create exports of the needed imagesgulp htmlwill readroutes.coffeeand create the required static HTML files
gulp buildto create a serveable build- Use
NODE_ENV=productionfor production ready builds - Deploy to gh-pages using
gulp deploy NODE_ENV=production gulp deploywill build and deploy to production