Development Setup and Usage Guide
This project uses [devbox](https://www.jetify.com/devbox) to manage the development environment. Devbox provides an isolated, reproducible development environment with all necessary tools.
Development Setup and Usage Guide
Development Environment Setup
Installing Devbox
This project uses devbox to manage the development environment. Devbox provides an isolated, reproducible development environment with all necessary tools.
Windows (WSL recommended)
-
Install WSL2 (if not already installed):
wsl --installRestart your computer and set up a Linux distribution (Ubuntu recommended).
-
Inside WSL2, install devbox:
curl -fsSL https://get.jetify.com/devbox | bash
macOS
Install using Homebrew:
brew install jetify-io/devbox/devbox
Or using the install script:
curl -fsSL https://get.jetify.com/devbox | bash
Linux
curl -fsSL https://get.jetify.com/devbox | bash
Setting up the Project
-
Clone and enter the project directory:
git clone <repository-url> cd integrations-test -
Start the devbox shell:
devbox shellThis will automatically install
justand Docker tools. Python and linting tools are available in the Docker container. -
Run the setup script (optional):
devbox run setup -
Set up environment variables: Copy
env.exampleto.envand configure as needed:cp env.example .env
Project Commands
This project uses just as a command runner (replacing the previous Makefile). All commands should be run within the devbox shell.
Basic Setup Commands
To build the docker image: just build
To generate migrations: just migrations
To apply migrations: just migrate
To create a super user: just createsuperuser
To run the web server: just start
To read the logs: just logs
Available Commands
Run just help or just to see all available commands with detailed descriptions.
Usage
There is a web server that starts up and runs on: http://localhost:8000/
Running your biz_rule
Running your code is as simple as just bizrule
Related Documents
dev_setup
For development, you'll want to run vimflowy locally.
canvas_dev_setup
[Back to README](../README.md)
Setting up CommCare HQ for Developers
This document describes setting up a development environment for working on
Dev Setup
This document describes how to setup your environment with Python and uv,