Skip to content

computer-lab/computerlab.io

Repository files navigation

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. Run npm run start The site will be browsable at localhost:4000.

  4. To deploy live, simply push to staging or master. The Travis continuous integration server will build the site and deploy it to s3. The build takes a few minutes.

Content

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