This project uses devbox to manage the development environment. Devbox provides an isolated, reproducible development environment with all necessary tools.
-
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
Install using Homebrew:
brew install jetify-io/devbox/devboxOr using the install script:
curl -fsSL https://get.jetify.com/devbox | bashcurl -fsSL https://get.jetify.com/devbox | bash-
Clone and enter the project directory:
git clone <repository-url> cd integrations-test
-
Start the devbox shell:
devbox shell
This 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
This project uses just as a command runner (replacing the previous Makefile). All commands should be run within the devbox shell.
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
Run just help or just to see all available commands with detailed descriptions.
There is a web server that starts up and runs on: http://localhost:8000/
Running your code is as simple as just bizrule