Installation & Development Guide
This guide covers setting up the Jasmin Web Panel for local development or direct installation on a server.
Prerequisites
- Python 3.11 or higher
- PostgreSQL
- Redis
- RabbitMQ
- Jasmin SMS Gateway (running and accessible)
Local Development Setup
1. Clone the Repository
2. Environment Setup
We recommend using a virtual environment. The project includes a Makefile to automate this.
Or manually:
virtualenv -p python3.11 env/
source env/bin/activate
pip install --upgrade pip wheel uv
uv pip install -r pyproject.toml --extra dev
3. Configuration
Create a .env file from the sample:
Edit the .env file to match your local services (Database, Redis, Jasmin Telnet ports).
4. Database Setup
Initialize the database schema:
5. Create Admin User
6. Run the Server
Access the panel at http://localhost:8000.
Running Background Tasks
The panel uses Celery for background processing. You need to run a worker:
Running with Docker (Development)
For a complete dev environment including dependencies:
This will build the containers and start the stack defined in docker-compose.yml.