Back to .md Directory

Development Setup and Usage Guide

Guides you through installing Devbox, cloning the project, and running commands with just inside a reproducible shell.

May 2, 2026
0 downloads
0 views
ai
View source

What this file does

Guides you through installing Devbox, cloning the project, and running commands with just inside a reproducible shell.

When to use it

  • Setting up a development environment for this Elixir integrations test project
  • Learning how to use Devbox with a just command runner
  • Reproducing the same tooling across team members or CI

Assumes this stack

DevboxjustDockerPython

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)

  1. Install WSL2 (if not already installed):

    wsl --install
    

    Restart your computer and set up a Linux distribution (Ubuntu recommended).

  2. 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

  1. Clone and enter the project directory:

    git clone <repository-url>
    cd integrations-test
    
  2. Start the devbox shell:

    devbox shell
    

    This will automatically install just and Docker tools. Python and linting tools are available in the Docker container.

  3. Run the setup script (optional):

    devbox run setup
    
  4. Set up environment variables: Copy env.example to .env and 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

What's inside

3 sections: Devbox install, project setup, command reference. 6 code blocks, 1 command list.

Change this for your project

  • Replace git clone <repository-url> with your own repo URL
  • Replace integrations-test in the clone command with your project directory name
  • Replace env.example with your actual environment template filename if different

Where it goes

Keep it in your repository where the agent or team that needs it will read it.

Related Documents