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 togulp build:local
gulp build:prod
- Retrieves the latest content data from Contentful, stashes it in a local API and then executesgulp 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.