This is the source code for the Early Childhood Project Website a Brighton, UK based children's charity.
Prerequisites:
This is a Hugo project. Check the Hugo Documentation for more usage information.
Add new page:
hugo new page/<page name>.mdAdd new service:
hugo new service/<service name>.mdCheck gulpfile.js for more info.
Install dependencies:
npm installRun local development server at http://localhost:1313:
npm run serverBuild source:
npm run buildWatch source for changes:
npm run watchPublish site. This builds from source, uploads to S3 then runs an invalidation on Cloudfront as necessary:
npm run publishHugo is configured using config.yml.
You'll need to create an aws.json (in the project root) file to configure your Amazon deployment. You can use
aws.example.json as a guide for this.
MIT
Whilst the code is licenced under the MIT licence in the hope it helps others wishing to implement Hugo on Amazon S3/Cloudfront the site content remains the copyright of the Brighton, Hove & District Early Childhood Project.