Backend Development¶
This guide covers the prerequisites and installation steps for backend of the PixErase.
Prerequisites¶
- Python: >= 3.12
- Docker: For containerized deployment
- Git: For cloning the repository
- Just: Task runner
Installation Steps¶
- Clone the Repository:
- Set Up Virtual Environment:
- Install Dependencies: Use the provided just command to bootstrap the environment:
This copies .env.dist to .env, installs dependencies, and sets up pre-commit hooks.
- Docker Setup: To run the infrastructure with Docker:
This starts all services defined in docker-compose.dev.yaml, including the API, database, broker.
-
Scheduler Setup:
Open new window in terminal and run scheduler using this command:
-
Worker Setup:
To run worker use this command:
-
API Setup
To run api use this command:
-
Database Migration
Run migration using this command:
[!NOTE] Super Admin in System is provided here: email:
admin@pixerase.compassword:admin12345[!NOTE]
Swagger: http://localhost:8080