Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Latest commit

 

History

History
68 lines (43 loc) · 1.25 KB

File metadata and controls

68 lines (43 loc) · 1.25 KB

Catplus Chembord

Everything you need to build a Svelte project, powered by sv.

Quickstart

The easy way to run the project is to use docker.

First, define your .env file by copying the example:

cp .env.example .env

# Edit .env

NOTE: changing the BASE_PATH requires rebuilding the image

Then let docker run the container with variables loaded from the env file:

docker run -p 3000:3000 --env-file .env ghcr.io/sdsc-ordes/catplus-chembord:latest

Development Environment

Pre-requisites

The development setup requires the following:

  • nix
  • just

Additionally, we recommend using direnv to automatically activate the development environment when entering the project directory.

Setup

Usage

Then use just to install, build and run the project:

just install
just build
just run # this also installs and builds the project

Docker

The docker image can be built using just image subcommands:

just image build
just image push # this also builds the image

Kubernetes

Manifests are defined in tools/deploy. The templates can be rendered with default values using:

just manifests render

And deployed with

just manifests deploy