Skip to content

Commit d223992

Browse files
authored
Merge pull request #3 from platacard/readme
Readme
2 parents 5b3d8fd + 49e4538 commit d223992

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

apps/builder/README.md

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Builder app
2+
3+
## How to build and run the app:
4+
Install pnpm:\
5+
`npm i -g pnpm@latest`
6+
---
7+
### Dev mode
8+
Isntall deps:\
9+
`pnpm i`
10+
11+
Run:\
12+
`pnpm run dev`
13+
---
14+
### Prod mode
15+
Install runtime deps (optional: don't need if you installed all deps previously):\
16+
`pnpm i --frozen-lockfile --prod --filter @webstudio-is/builder`
17+
18+
Build app:
19+
```
20+
cd apps/builder
21+
pnpm run build
22+
```
23+
24+
Run app:\
25+
`pnpm run start`
26+
---
27+
### Docker
28+
29+
Build docker image:\
30+
`docker build --no-cache -t builder -f Dockerfile .`
31+
32+
Run container:\
33+
`docker run --rm -p 13100:13100 builder:latest`

0 commit comments

Comments
 (0)