update README
This commit is contained in:
parent
7c73d7543c
commit
423dd46c67
1 changed files with 5 additions and 4 deletions
|
@ -120,12 +120,13 @@ Install autoconf and other basic development tools, python3 and pip, then procee
|
|||
- `python3 zeronet.py`
|
||||
|
||||
#### (alternatively) Build Docker image
|
||||
- build 0net image: `docker build -t 0net:conservancy . -f Dockerfile`
|
||||
- or build 0net image with integrated tor: `docker build -t 0net:conservancy . -f Dockerfile.integrated_tor`
|
||||
- and run it: `docker run --rm -it -v </path/to/0n/data/directory>:/app/data -p 43110:43110 -p 26552:26552 0net:conservancy`
|
||||
- build 0net image: `docker build -t 0net-conservancy:latest . -f Dockerfile`
|
||||
- or build 0net image with integrated tor: `docker build -t 0net-conservancy:latest . -f Dockerfile.integrated_tor`
|
||||
- and run it: `docker run --rm -it -v </path/to/0n/data/directory>:/app/data -p 43110:43110 -p 26552:26552 0net-conservancy:latest`
|
||||
- /path/to/0n/data/directory - directory, where all data will be saved, including your secret certificates. If you run it with production mode, do not remove this folder!
|
||||
- or you can run it with docker-compose: `docker compose up -d 0net` up two containers - 0net and tor separately.
|
||||
- or you can run it with docker-compose: `docker compose up -d 0net-conservancy` up two containers - 0net and tor separately.
|
||||
- or: `docker compose up -d 0net-tor` for run 0net and tor in one container.
|
||||
(please check if these instructions are still accurate)
|
||||
|
||||
#### Alternative script
|
||||
- after installing general dependencies and cloning repo (as above), run `start-venv.sh` which will create a virtual env for you and install python requirements
|
||||
|
|
Loading…
Reference in a new issue