From 423dd46c67e7909125b949791472ca61f027cec3 Mon Sep 17 00:00:00 2001 From: caryoscelus Date: Tue, 29 Nov 2022 16:39:42 +0000 Subject: [PATCH] update README --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f3d1810b..df1d39e4 100644 --- a/README.md +++ b/README.md @@ -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 :/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 :/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