Update README.md

This commit is contained in:
2023-03-28 22:40:58 +03:00
parent ce5f19020e
commit 716054bdfe
2 changed files with 13 additions and 1 deletions

View File

@@ -41,10 +41,22 @@ in case of any conflicts.
#### 1. Start the server #### 1. Start the server
##### Start without docker
```shell ```shell
go run ./cmd/server/main.go go run ./cmd/server/main.go
``` ```
##### Change API address
```shell
API_ADDRESS=127.0.0.1:3001 go run ./cmd/server/main.go
```
#### Start in docker
```shell
docker compose up -d webarchive
```
#### 2. Add a page #### 2. Add a page
```shell ```shell

View File

@@ -13,4 +13,4 @@ services:
volumes: volumes:
- ./db:/db - ./db:/db
ports: ports:
- "0.0.0.0:5002:5001" - "0.0.0.0:5001:5001"