/computerlab.io

The Hexo source for Computer Lab's website.

Primary LanguageHTML

Computer Lab's Website

Build Status

This repository contains the Hexo source for Computer Lab's website.

The master branch currently deploys to computerlab.io, using the Cloudfront CDN. A cloudfront invalidation is necessary in order to immediately view updated content.

The staging branch currently deploys to staging.computerlab.io.

Developer Setup

  1. Clone this repository with git clone https://github.com/computer-lab/computerlab.io.

  2. cd to computerlab.io, and install dependencies with npm install.

  3. Install hexo-cli, and start a development server with hexo server. The site will be browsable at localhost:4000.

  4. To deploy live, simply push to master. The Travis continuous integration server will build the site and deploy it to s3. The build takes about a minute. If you made changes to the theme submodule, commit and push those first.

Content

To add new content to the "blog" part of the site, add a new markdown file to the /source/_posts directory.