Everything you need to build a Svelte project, powered by sv.
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 .envNOTE: 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:latestThe development setup requires the following:
- nix
- just
Additionally, we recommend using direnv to automatically activate the development environment when entering the project directory.
Then use just to install, build and run the project:
just install
just build
just run # this also installs and builds the projectThe docker image can be built using just image subcommands:
just image build
just image push # this also builds the imageManifests are defined in tools/deploy. The templates can be rendered with default values using:
just manifests renderAnd deployed with
just manifests deploy