laconic.com/README.md
2023-10-21 15:42:29 -04:00

56 lines
925 B
Markdown

# Laconic
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.
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
```
export NEXT_PUBLIC_DATOCMS_BYPASS_TYPE="local_json"
```
- Install the dependencies:
```
yarn
```
- Run development server
```
yarn dev
```
- Run production server
```
yarn build
yarn start
```
- Static build
```
yarn export
```
creates `./out`