Update README.md

This commit is contained in:
Zach 2023-10-21 15:42:29 -04:00 committed by GitHub
parent d634d55b1a
commit fcf0ed676a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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