Self-Hosting
Database Setup
Initialize and manage your gateway database.
Orbyt uses Prisma to manage its PostgreSQL database. Ensure your DATABASE_URL is correctly set in your .env file before proceeding.
Initialization
Run the following commands to generate the Prisma client and push the schema to your database:
npx turbo run db:generate
npx turbo run db:pushMigrations
For production environments, it is recommended to use Prisma migrations:
npx prisma migrate dev --name initStarting the Services
After the database is initialized, start all services in development mode:
npm run dev