
To get OpenEdit up and running on your local machine, follow these steps:
Ensure you have the following installed:
- Bun: A fast JavaScript runtime, package manager, bundler, and test runner.
-
Clone the repository:
git clone https://github.com/just-moh-it/openedit.git cd openedit
-
Install dependencies:
bun install
-
Change directory:
cd apps/web
-
Setup database:
We use Drizzle ORM for database migrations and a postgres-compatible database schema for our database. Please use supabase or connect to a local postgres database and keep the connection url for the next step.
- Setup environment variables:
cp .env.example .env
If you're still facing issues, please refer to server-env.ts and client-env.ts to see the required environment variables.
-
Run the database migrations:
bun db:migrate
-
Run the development server:
bun dev
The web application will be accessible at http://localhost:3001.
- TypeScript - For type safety and improved developer experience
- TanStack Start - SSR framework with TanStack Router
- TailwindCSS - Utility-first CSS for rapid UI development
- shadcn/ui - Reusable UI components
- Node.js - Runtime environment
- Turborepo - Optimized monorepo build system
- Biome - Linting and formatting
- Husky - Git hooks for code quality
WIP.
WIP.
Please see CONTRIBUTING.md for details on how to contribute to this project.