Skip to content

oliver-charlesworth/craft-watch

Repository files navigation

Craft Watch

Mostly notes for myself right now.

CircleCI

Requires the following secret things:

  • A deploy key for the GitHub Pages repo:

    1. Create here (tick Allow write access).
    2. Register the private key here.
    3. Ensure the fingerprint is updated in .circleci/config.yml.
  • A service account for read/write access to a GCS bucket.

    1. Run a terraform apply to create the key.
    2. Copy the output and create a GCLOUD_SERVICE_KEY environment variable for the CircleCI project here.

Backend

TODO

Frontend

Stuff to install:

brew install yarn

Then in frontend/:

yarn dev

Then browse to http://localhost:3000.

Infra

Stuff to install:

brew install terraform
brew cask install google-cloud-sdk

Then set up GCloud SDK:

gcloud init
gcloud auth application-default login

Ensure you have the Storage Admin role.