Laconic.com website
Go to file
2025-02-19 11:49:33 -05:00
.husky Get off DatoCMS (#135) 2023-05-02 16:25:09 -04:00
.vscode Initial Commit 2022-03-28 15:00:11 -03:00
json fix 2025-01-27 20:47:10 +00:00
public Add files via upload 2025-01-27 15:34:02 -05:00
src Zach/testnet blog (#166) 2024-08-20 17:08:08 -04:00
.env.example Get off DatoCMS (#135) 2023-05-02 16:25:09 -04:00
.gitignore Update forms 2022-06-16 00:14:44 +02:00
codegen-fix.js Blog page (#15) 2022-04-11 12:18:52 -03:00
Dockerfile use lts-slim 2023-10-18 11:04:28 -04:00
gql-codegen.yml fix: search api on blog 2022-04-11 13:02:44 -03:00
index.d.ts Mailchimp API (#40) 2022-04-13 12:55:59 -03:00
next-env.d.ts Initial Commit 2022-03-28 15:00:11 -03:00
next-sitemap.js Initial Commit 2022-03-28 15:00:11 -03:00
next.config.js Update dependencies (#20) 2022-04-06 14:44:09 -03:00
package-lock.json Get off DatoCMS (#135) 2023-05-02 16:25:09 -04:00
package.json static build outputs 2023-10-17 16:27:49 +00:00
README.md update readme 2025-02-19 11:49:33 -05:00
tsconfig.json Revert "Oriofir/css" 2022-08-30 13:52:48 -07:00
yarn.lock Copy updates 2023-12-20 09:37:52 -05:00

Laconic

Repository for Laconic's website, hosted on internal infrastructure.

To update it; ensure you have access to erasmus and follow the instructions for production, below.

Local development

To build and serve this site on your local machine:

Install yarn

e.g,:

npm install -g yarn

Set env

export NEXT_PUBLIC_DATOCMS_BYPASS_TYPE="local_json"

Install the dependencies:

yarn

Serve

Run the development server

yarn dev

Production

Uses stack orchestrator. For example:

laconic-so --stack laconic-dot-com setup-repositories
laconic-so --stack laconic-dot-com build-containers 
laconic-so --stack laconic-dot-com deploy init --output laconic-website-spec.yml

Then, edit spec file:

stack: laconic-dot-com
deploy-to: k8s
kube-config: /home/.kube/config.yaml
image-registry: container-registry.apps.vaasl.io
network:
  ports:
    laconic-dot-com:
     - '3000'
  http-proxy:
    - host-name: laconic.apps.vaasl.io
      routes:
        - path: '/'
          proxy-to: laconic-dot-com:3000

Create a deployment, push the image, and start the pod:

laconic-so --stack laconic-dot-com deploy create --spec-file laconic-website-spec.yml --deployment-dir lx-website
laconic-so deployment --dir lx-website push-images
laconic-so deployment --dir lx-website start

To deploy update, go to /cerc/laconic.com, pull the correct commit, then:

laconic-so --stack laconic-dot-com build-containers 
laconic-so deployment --dir lx-website push-images
laconic-so deployment --dir lx-website stop
laconic-so deployment --dir lx-website start