Web site for a free comedy night. And a proof of concept for a content and build workflow
Switch branches/tags
Nothing to show
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.
api
images
js
sass
views
.gitignore
.jshintrc
.nvmrc
ReadMe.md
_headers
_redirects
browserconfig.xml
gulpfile.js
jsconfig.json
manifest.json
package.json

ReadMe.md

Comedy in the Crown

A website to promote a free open mic comedy night. And also a proof of concept for a content management workflow.

View the site at https://comedyinthecrown.com

About this site

The site is built using static site generation. A custom generator built with a number of node modules coordinated using:

  • npm
  • gulp

Content management

Content for this site is managed on Contentful. Content changes trigger site build automatically in the static hosting provider (Netlify) as do changes to the code pushed to this repository.

Hosting

The site is hosted on Netlify as a static build.

Development

After cloning this repository, all dependencies can be installed be running npm install. Once this is done, Gulp provides a number of build options:

  • gulp - defaults to gulp build:local
  • gulp build:prod - Retrieves the latest content data from Contentful, stashes it in a local API and then executes gulp build:local
  • gulp build:local - Executes the compilation of the entire build from a local stash of the content data api.
  • gulp watch - Regenerates templates, css and scripts when changes to those resources are detected.
  • gulp serve - Serves the output of the build on a local web server.