File tree Expand file tree Collapse file tree 1 file changed +1
-56
lines changed
Expand file tree Collapse file tree 1 file changed +1
-56
lines changed Original file line number Diff line number Diff line change 1- # Starter kit Node js
2-
3- ## Links
4-
5- 1 . [ API doc] ( ./api/Readme.md )
6-
7- ## Preparations
8-
9- ### Installation
10-
11- Do installations step by step:
12-
13- 1 . Install dependencies for ` api `
14-
15- ``` bash
16- cd ./api
17- yarn
18- ```
19-
20- The postinstall script will generate prisma types for you
21-
22- ` On windows can be not work auto generating prisma schema. You can manual copy schema.prisma in api/src/schema.prisma`
23-
24- 2. Then install dependencies for ` e2e`
25-
26- ` ` ` bash
27- cd ./e2e
28- yarn
29- ` ` `
30-
31- The postinstall script will generate prisma types for you
32-
33- ` On windows can be not work auto generating prisma schema. You can manual copy schema.prisma in e2e/src/schema.prisma`
34-
35- # ## Launch
36-
37- # ### Local with docker
38-
39- 1. Run docker containers via docker-compose from the root folder of the repository
40-
41- ` ` ` bash
42- docker compose -f stk.docker-compose.yaml up -d --build
43- ` ` `
44-
45- 2. Go to ` api/env` folder and create copy of ` dev.example.env` to ` dev.env`
46- ` ` ` bash
47- cd ./api/env
48- cp ./dev.example.env ./dev.env
49- ` ` `
50- 3. Copy ` schema.prisma` from root dir in ` api/src/schema.prisma`
51- 4. Go up to ` api` and launch migrations
52- ` ` ` bash
53- cd ../
54- source ./env/dev.env && DATABASE_URL=$DATABASE_URL yarn prisma:migrate:deploy
55- ` ` `
56- - Press ` Yes (y)` if it asks you to install missed dependencies
1+ # Starter kit Node js V5
You can’t perform that action at this time.
0 commit comments