Skip to content

Cache Developer Information

SirBerg edited this page Apr 17, 2026 · 13 revisions

Setup

To start developing, clone the repo and run bun install:

git clone https://iglu-sh/iglu
bun install

For developing, we are usually using the sqlite db option, this means your config.toml should include the following:

[database]
database_type = 'sqlite'
database_file_location = './location_of/file.sqlite'

now run migrations:

bun run cache::migrations

All setup now, you should be good to start developing. For more documentation refer to this page.

Cachix

General Cachix information

We are developing a cachix-compliant cache, this means that we are aiming to make it possible that every user only needs to complete basic cachix setup to start using the cache (this also eliminates the need to develop a push-client).

Every cachix route (except for the deploy endpoint, see below for information on that) is located in the routes/api/v1/cache directory

Clone this wiki locally