41 lines
435 B
Markdown
41 lines
435 B
Markdown
# Getting Started
|
|
|
|
## Install
|
|
|
|
```bash
|
|
bun install
|
|
```
|
|
|
|
## Environment
|
|
|
|
```bash
|
|
cp .env.example .env
|
|
```
|
|
|
|
## Database
|
|
|
|
```bash
|
|
bun run db:auth:generate
|
|
bun run db:generate
|
|
bun run db:migrate
|
|
bun run db:seed
|
|
```
|
|
|
|
## Run apps
|
|
|
|
```bash
|
|
bun run dev
|
|
```
|
|
|
|
- Web: `http://localhost:3000`
|
|
- Admin: `http://localhost:3001`
|
|
- Admin login: `http://localhost:3001/login`
|
|
|
|
## Run docs
|
|
|
|
```bash
|
|
bun run docs:dev
|
|
```
|
|
|
|
- Docs: `http://localhost:4173`
|