Skip to content

hackmcgill/mchacks6

Repository files navigation

McHacks logo

Netlify Status

This is the repository for the static landing page for McHacks 6. Code based upon boilerplate here.

Setup

  1. Make sure you have node and yarn installed.
  2. Run yarn.

Folder structure

📁dist        -- contains production-ready code
📁src         -- source code folder
|--📁js       -- script files
|--📁static   -- static assets (images, fonts, etc.)
|--📁style    -- SCSS style sheets
...

Available scripts

  • yarn build: Builds /src into /dist. Minifies, transpiles, etc.
  • yarn start: Runs a build, then starts the production server from the /dist folder on localhost:8080.
  • yarn start:dev: Starts the development server at localhost:9000.
  • yarn lint:html: Lint stylesheets with stylelint.
  • yarn lint:js: Lint scripts with ESLint.
  • yarn lint:styles: Lint stylesheets for a11y issues.

Deployment

We are using Netlify to compile and host our code automatically. When a PR is created, Netlify will generate preview builds of the site to confirm that everything is working as expected. Once code is merged to master, Netlify will promote that code to production at 2019.mchacks.ca. Netlify also handles the SSL certificate for this site.

Domains

The primary domain for this site mchacks.ca is registered with the HackMcGill Namecheap and DNS is with Cloudflare. The secondary domain mchacks.io is registered with Cloudflare. 2019.mchacks.ca and 2019.mchacks.io have CNAME records pointing to mchacks6.netlify.com.

Status

This repository is pseudo-archived for the purposes of McHacks 6.