This is the repository for Real Change live websites and styleguide.
The live site makes use of Hugo and Netlify CMS.
Netlify auto builds and deploys when a commit is made to master branch. The Netlify CMS edits content on the master branch.
cd real-change-seed; cd hugo; hugo server -D
cd real-change-seed; cd hugo; hugo
The Styleguide is build on Assemble, it generates assets from source files.
Any changes to CSS / JS / Image assets here must be manually copied to the hugo instance.
- Install assemble globally
npm i -g assemble
- Run:
npm i
assemble
- Visit: http://localhost:3000/
- create branch
- update hugo/static/admin/config.yml to point at new branch
- setup identity in netlify
- enable git gateway
- set registration to invite only
- update dns in 123-reg
- go to 'domain settings' in netlify, and confirm ssl has been setup
- create banner for ssn
- update city data in ssn