mirror of
https://github.com/derfenix/webarchive.git
synced 2026-03-11 22:40:58 +03:00
Update README.md
This commit is contained in:
12
README.md
12
README.md
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user