You can find all useful commands as npm scripts
- From root directory, install dependecies:
npm install
- Run the site on a local development server (
webpack-dev-server
):
npm run start
- Create a static build in
/dist
:
npm run build
- Deployment requires AWS configuration (AWS account &&
brew install awscli
) but is run using:
npm run deploy
- The Javascript for this site depends on three.js and typed.js - thanks to those projects!
- CSS is mainly via the great Tachyons Functional CSS framework framework, with extra classes added in style.css. All CSS is then Purified to remove unneeded classes
- Build is done using Webpack, this includes injecting purified CSS into a Handlebars template
- Site is deployed to AWS S3 static website hosting with a Cloudfront CDN and SSL certification