This project holds the source code for the diez.org website. It includes a static site build with VuePress and a Diez design language used to power it.
You'd need the following to be installed in order to build this project locally:
- Node v10.16.3
- yarn v1.19.1
After cloning, run yarn install
to install dependencies and set-up the repo as the setup.sh is run as a preinstall hook.
- Be sure to set up the repo by running
yarn
, which will also build and link the Diez design language. - Ensure everything is working fine locally and that the built site works fine.
- Ensure you have the aws CLI installed.
- Ensure you have set up the following env variables:
export AWS_ACCESS_KEY_ID=""
export AWS_SECRET_ACCESS_KEY=""
export DIEZ_WWW_DISTRIBUTION_SECRET=""
export DIEZ_WWW_DISTRIBUTION=""
- Run
yarn deploy