Skip to content

Commit 0bad936

Browse files
committed
feat: add DEVELOPMENT.md
1 parent 9b9958c commit 0bad936

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

DEVELOPMENT.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
1. Launch the database and redis containers:
2+
3+
```bash
4+
docker compose -f docker-compose-db-local.yml up -d
5+
```
6+
7+
2. Install dependencies:
8+
9+
```bash
10+
npm install
11+
```
12+
13+
3. Migrate the database:
14+
15+
```bash
16+
npm run migrate:deploy
17+
```
18+
19+
4. Generate types:
20+
21+
```bash
22+
npm run migrate:generate
23+
```
24+
25+
5. Seed the database:
26+
27+
```bash
28+
npm run seed:dev
29+
```
30+
31+
6. Running dev mode (if you run multiple instances, make sure to wait before starting the next instance):
32+
33+
- API:
34+
35+
```bash
36+
npm run dev:api
37+
```
38+
39+
- Worker:
40+
41+
```bash
42+
npm run dev:worker
43+
```
44+
45+
- Scheduler:
46+
47+
```bash
48+
npm run dev:scheduler
49+
```

0 commit comments

Comments
 (0)