diff --git a/README.md b/README.md index bc54072..702b640 100644 --- a/README.md +++ b/README.md @@ -1,40 +1,52 @@ # Laconic -Repository for `Laconic`'s website. It is currently hosted on Vercel. To build it locally: +Repository for the Laconic website. It is currently deployed on our own infrastructure as a [stack](https://github.com/cerc-io/stack-orchestrator/tree/main/app/data/stacks/laconic-dot-com), tagged to a specific release. -## Install yarn +To update the website, cut a release (e.g., v0.0.2), update the stack with the new release, then re-deploy: + +- ensure your ssh key has the correct access and user has been created +- edit your `~/.ssh/config` to add +``` +Host dugwaybeds.vdb.to + ProxyJump abernathy +``` +- then `ssh yourUser@dugwaybeds.vdb.to` +- pull in the correct release and re-deploy + +## Local Development +- Install yarn e.g,: ``` npm install -g yarn ``` -## Set env +- Set env ``` export NEXT_PUBLIC_DATOCMS_BYPASS_TYPE="local_json" ``` -## Install the dependencies: +- Install the dependencies: ``` yarn ``` -### Development +- Run development server ``` yarn dev ``` -### Production +- Run production server ``` yarn build yarn start ``` -### Static build +- Static build ``` yarn export