Running the Stack
This guide shows you how to start all the Maybern services and access your local development environment.Required Services
Maybern consists of several services that need to run together:| Service | Port | Description |
|---|---|---|
| Django Server | 8000 | Main backend API |
| Celery Workers | - | Async task processing |
| AI Server | 8001 | AI chat functionality (optional) |
| Frontend | 3000 | React web application |
Start the Backend
1
Activate the virtual environment
From the
backend/ directory:2
Start Celery workers
Open a new terminal tab and run:
Celery workers handle async operations like PDF generation, calculations, and event processing.
3
Start the Django server
In another terminal tab:
The server should start at http://localhost:8000. You’ll see log output indicating the server is ready.
Start the AI Server (Optional)
If you need AI chat functionality, start the AI server in a separate terminal:The AI server requires API keys for LLM providers (Anthropic, OpenAI, etc.). Check your
.env file for the required configuration.Start the Frontend
From thefrontend/ directory, start the React development server:
- Basic (HTTP)
- With HTTPS + Subdomains
Log In to Your Development Instance
1
Navigate to the login page
Open your browser to the frontend URL (either
http://localhost:3000 or https://app.maybern.test:3000).2
Access Developer Zone
Click on “DEVELOPER ZONE” at the bottom of the login page.
3
Use simple login
Click “Use simple login” to bypass Stytch authentication.
4
Enter credentials
Use the following test credentials:
- Email:
test-runner@maybern.com - Password:
password1234
You should now see the Maybern dashboard. If the database is empty, you’ll see an empty state - proceed to load sample data.
Quick Reference: Just Commands
The project uses just as a command runner. Here are the most common commands:| Command | Description |
|---|---|
just run-server | Start Django development server |
just run-celery | Start Celery workers |
just run-server-ai | Start AI chat server |
just reset-db | Reset database and load fixtures |
just migrate | Run database migrations |
just makemigrations | Create new migrations |
just test | Run backend tests |
just lint check | Check linting |
just lint fix | Auto-fix linting issues |
just codegen schemas | Generate OpenAPI schema |
just codegen clients | Generate API clients |
just without arguments from the project root to see all available commands.