Skip to content
Early Childhood Project Toy Library Website
HTML CSS JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
content
layouts
src
static
.gitignore
LICENSE
README.md
aws.example.json
config.yml
gulpfile.js
package-lock.json
package.json

README.md

Early Childhood Project Toy Library Website

This is the source code for the Early Childhood Project Toy Library Website a Brighton, UK based children's charity. It is a companion site to the main Early Childhood Project Website and is designed to be used by users of the toy library.

Prerequisites:

Usage

This is a Hugo project. Check the Hugo Documentation for more usage information.

Content Commands

Add new page:

hugo new page/<page name>.md

Development Commands

Check gulpfile.js for more info.

Install dependencies:

npm install

Run local development server at http://localhost:1313:

npm run server

Build source:

npm run build

Watch source for changes:

npm run watch

Publish site. This builds from source, uploads to S3 then runs an invalidation on Cloudfront as necessary:

npm run publish

Configuration

Hugo 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.

Licence

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.

You can’t perform that action at this time.