Update README.md
This commit is contained in:
18
README.md
18
README.md
@@ -13,21 +13,13 @@ Default is ````DATABASE_URL="postgresql://webapp:webpass@db:5432/webappdb/webapp
|
|||||||
pnpm install
|
pnpm install
|
||||||
````
|
````
|
||||||
|
|
||||||
## Run tasks
|
## Running
|
||||||
|
|
||||||
Run frontend:
|
Run entire stack in dev environent using docker compose:
|
||||||
```sh
|
|
||||||
pnpm nx serve web-app
|
|
||||||
```
|
|
||||||
|
|
||||||
Run backend:
|
|
||||||
````sh
|
````sh
|
||||||
pnpm nx serve web-app
|
docker compose up -d --build
|
||||||
````
|
````
|
||||||
|
|
||||||
To create a production bundle:
|
By default frontend can be accessed in [localhost:4200](http://localhost:4200)
|
||||||
|
|
||||||
```sh
|
|
||||||
pnpm nx build web-app
|
|
||||||
```
|
|
||||||
|
|
||||||
|
By default backend can be accessed in [localhost:3000/api](http://localhost:3000/api)
|
||||||
|
|||||||
Reference in New Issue
Block a user