Music Box Interactive is a full-stack application for interactive visualization and execution of chemical mechanisms. The project includes a Django backend and a modern React + Vite frontend. It is containerized using Docker and designed for flexibility in both local development and production environments.
Create a .env file inside the backend/ folder for development,if it doesn't exist. Example:
BASE_API_URL="http://localhost:8000"
IsDebug=True
LOG_LEVEL=DEBUG
MUSIC_BOX_BUILD_DIR=/music-box/build
MUSIC_BOX_CONFIG_DIR=/config-files
MUSIC_BOX_ZIP_DIR=/config-archives
PARTMC_ZIP_DIR=/partmc-archives
RABBIT_MQ_HOST=rabbitmq
RABBIT_MQ_PASSWORD=guest
RABBIT_MQ_PORT=5672
RABBIT_MQ_USER=guest
SWAGGER_BASE_PATH=''
SECRET_KEY=- Make sure Docker is installed and running.
- From the project root, run:
docker compose up --buildYou can press CTRL-C to quite docker compose.
To run docker in a deteched state, add the -d flag like this:
docker compose up -dTo stop and remove containers:
docker compose downView logs:
docker compose logs -fUse the docker-compose.prod.yml for production builds.
Copyright (C) 2018-2025 University Corporation for Atmospheric Research