1
0
Fork 0
mirror of synced 2024-05-16 10:23:51 +12:00

Update README.md

Bind the data directory when initializing a dev environment using
Docker.
This commit is contained in:
Adam Wolf 2021-10-28 10:01:34 -05:00
parent b54076054c
commit 3b6ef764c5

View file

@ -898,7 +898,9 @@ archivebox --version
# if you edit e.g. ./archivebox/core/models.py on the docker host, runserver
# inside the container will reload and pick up your changes
docker build . -t archivebox
docker run -it archivebox init --setup
docker run -it \
-v $PWD/data:/data \
archivebox init --setup
docker run -it -p 8000:8000 \
-v $PWD/data:/data \
-v $PWD/archivebox:/app/archivebox \