The repo of davidhoeppner.ca built with Gatsby and hosted with Kubernetes on DigitalOcean. Based off of the V4 template from bchiang7. You can find her at https://brittanychiang.com
- Install the Gatsby CLI
npm install -g gatsby-cli
- Install and use the correct version of Node using NVM
nvm install
- Install dependencies
yarn
- Start the development server
npm start
All of this is handled via Github Actions on merges to main and develop. But, if you wish to do so locally you can follow the below.
- Generate the docker image
docker build . --file Dockerfile --tag dhoeppner/website:<tag>
- Push the image to Docker Hub
docker push dhoeppner/website:<tag>
- Deploy to Kubernetes (assuming you are connected to a running cluster)
kubectl apply -f k8s/
Color | Hex |
---|---|
Navy | #0a192f |
Light Navy | #112240 |
Lightest Navy | #233554 |
Slate | #8892b0 |
Light Slate | #a8b2d1 |
Lightest Slate | #ccd6f6 |
White | #e6f1ff |
Green | #64ffda |