jblok.co.uk
The front end and build framework for the jblok.co.uk website.
The entire website is generated when grunt
is run and this creates all the static HTML files for all the different project pages.
The pages that get generated are defined in work.json. To add a new project, simply add the information to work.json and rebuild. This should make it easier to update the site.
To try this yourself with your own content/front-end follow the below instructions.
Build Instructions
-
Clone the repo
-
Run
npm install
to install dependencies -
Define your projects in work.json
-
Change your base directory in Gruntfile.js
-
Run
grunt
-
Run
npm start
to start a server locally on port 5609.
Deploy Instructions
-
Build in prod mode
grunt --env=prod
-
Deploy
build
folder to Netlify