Quickstart Guide
Get up and running with Zyeta in minutes
Quickstart Guide
This guide will help you set up and run Zyeta on your local machine for development and testing purposes.
Prerequisites
Before you begin, make sure you have the following installed:
- Python 3.9 or later
- PostgreSQL 16 (recommended)
- Docker (optional, for containerized setup)
Environment Setup
- Clone the repository
- Create a Python virtual environment
- Create your environment file by copying the example file
- Configure the following environment variables in the
.env
file:
Database Setup
You can set up the database either locally or using Docker.
Local PostgreSQL Setup
- Install PostgreSQL by following the official installation guide
- Create a database for Zyeta
- Update the
DATABASE_URL
in your.env
file:
If your database password contains special characters like ’@’, remember to URL-encode them. For example, use ‘%40’ instead of ’@’.
Docker Setup (Recommended)
- Ensure Docker is installed on your system
- Run the following command from the project root:
This will start PostgreSQL and pgAdmin containers as defined in the compose.yml
file.
Application Setup
- Install dependencies using Poetry:
- Set up database migrations:
-
Edit
alembic.ini
and set thesqlalchemy.url
to match your database URL -
Apply database migrations:
- Start the application:
- Open your browser and navigate to http://localhost:8000/docs to access the Swagger documentation
What’s Next?
Now that you have Zyeta up and running, check out:
Architecture Overview
Understand how Zyeta is structured
Authentication
Learn about securing your API endpoints
This quickstart guide covers development setup only. For production deployment, additional steps are required.
Was this page helpful?