Getting Started
Follow these instructions to set up Varasto on your local machine.
Prerequisites
- Docker & Docker Compose
- (Optional) Python 3.11+ & Node.js 18+ for local development without Docker.
Quick Start (Docker)
The easiest way to run the system is via Docker Compose.
-
Clone the repository:
-
Configure Environment:
-
Start Services:
-
Access the App (the dev stack runs each service on its own port):
- Frontend (SPA): http://localhost:5173
- Backend API: http://localhost:8001/api/v1/ — host
8001maps to the container's8000(host8000is left free to avoid the common Portainer conflict). In normal use the frontend proxies/apito the backend, so you browse the app at:5173. - Documentation: http://localhost:8002
- Demo widget host: http://localhost:8081
Manual Configuration (Backend)
If you need to configure the backend manually (e.g., for production):
-
Edit
.env:SECRET_KEY: Generate a secure random string.DATABASE_URL: Set your PostgreSQL connection string.DEBUG: Set to0for production.
-
Database Migrations:
-
Create Admin User: