- Python 3.12.8
- Node.js and npm
- Git
git clone <repository-url> cd <project-directory># Create and activate virtual environment
python -m venv .venv source .venv/bin/activate # On Windows use: .venv\Scripts\activate
# Install Poetry
pip install poetry
# Install Python dependencies
poetry install# Copy the environment template
cp .env.template .env
# Edit .env file with your settings
# Make sure to update:
# - SECRET_KEY
# - DATABASE_URL
# - Other required environment variables# Install required npm packages
npm install# Apply migrations
python src/manage.py migrate
# Create a superuser
python src/manage.py createsuperuser# Collect static files
python src/manage.py collectstatic# Start Celery worker
./celery.sh# Start the Django development server
python src/manage.py runserver# Run tests
./run_tests.shCreate required media directories:
mkdir -p src/apps/media/rombus_outputsFor development, you might want to install additional tools:
poetry install --with dev
- If you encounter permission issues with media directories, ensure proper permissions are set
- Make sure all services (database, Redis if used) are running
- Check the .env file has all required variables set
src/- Main project directoryapps/- Django applicationsconfig/- Project configurationrombus_models/- Rombus-specific modelstemplates/- HTML templatesstatic/- Static files
- Starts the Celery worker
celery.sh - Django management commands
manage.py