Local development
For local development, please begin by checking the Kondis system requiements but add quite a bit of disk space.
All the apps below will be accessible at http://localhost:3000, meaning you can only run one at a time.
Kondis app​
After cloning the git repo, run the app with the following command:
mise dev-update
This will start the main docker compose stack.
The web app will be accessible http://localhost:3000.
Limiting container CPU usage​
Sometimes you need to test how Kondis behaves with limited CPU resources. Just set KONDIS_DEV_CPUS in docker/.env to whatever value you want:
KONDIS_DEV_CPUS=2
Still too fast? You can even limit it to a fraction of a CPU:
KONDIS_DEV_CPUS=0.5
Resetting development data​
To clear activities, uploads, images, live workouts, social data, notifications, and queued jobs without redoing setup, run:
mise dev-reset-data
It preserves all user accounts, including admin roles, passwords, and avatars. This command is for the local development stack only.
Docs site​
Go to the docs site folder
cd sites/docs.kondis.org
Then run
mise dev
Developer docs site​
Go to the developer docs site folder
cd sites/developers.kondis.org
Then run
mise dev
kondis.org site​
cd sites/kondis.org
Then run
mise dev
API reference site, api.kondis.org​
cd sites/api.kondis.org
Then run
mise dev-update