This repository contains the code behind the static site of McHacks 12.
- Make sure you have node and yarn installed.
- Run
yarn global add gatsby-cli
to install Gatsby CLI locally. - Run
yarn
to install dependencies. - Run
gatsby develop
/yarn start
to start dev server! π
Start the development server:
yarn start
or gatsby develop
Build the website:
yarn build
or gatsby build
Start the production server:
yarn serve
or gatsby serve
Format code:
yarn format
.
βββ docs # Documentation files
βββ public # Build and bundled files
βββ src # Source files
β βββ components # Page sections files
β βββ assets # Assets files
β β βββ fonts
β β βββ images
β βββ pages # Page files
β βββ styles # Style files
βββ static # Unbundled assets
Want to contribute to the McHacks site?
See our contributing guide.
We are using Vercel to compile and host our code. When a PR is created, Vercel builds the site and generates a deploy preview to confirm everything is working as expected. Once code is merged to main
branch, Vercel will promote the code to production at mchacks.ca
. Vercel also handles the SSL certificate for this site.
The domains for this site mchacks.ca
and mchacks.io
have their DNS with Cloudflare. 2025.mchacks.ca
has a CNAME record pointing to cname.vercel-dns.com
.