项目作者: harrybarnard

项目描述 :
Early Childhood Project Website
高级语言: HTML
项目地址: git://github.com/harrybarnard/ecpuk.org.git
创建时间: 2017-03-07T17:58:22Z
项目社区:https://github.com/harrybarnard/ecpuk.org

开源协议:MIT License

下载


Early Childhood Project Website

This is the source code for the Early Childhood Project Website a Brighton, UK based children’s
charity.

Prerequisites:

Usage

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

Content Commands

Add new page:

  1. hugo new page/<page name>.md

Add new service:

  1. hugo new service/<service name>.md

Development Commands

Check gulpfile.js for more info.

Install dependencies:

  1. npm install

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

  1. npm run server

Build source:

  1. npm run build

Watch source for changes:

  1. npm run watch

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

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