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.
-
Clone this repository with
git clone https://github.com/computer-lab/computerlab.io
. -
cd
tocomputerlab.io
, and install dependencies withnpm install
. -
Run
npm run start
The site will be browsable at localhost:4000. -
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.
To add new content to the "blog" part of the site, add a new markdown file to
the /source/_posts
directory.