mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-23 22:53:00 +02:00
Update README.md
Bind the data directory when initializing a dev environment using Docker.
This commit is contained in:
@@ -898,7 +898,9 @@ archivebox --version
|
|||||||
# if you edit e.g. ./archivebox/core/models.py on the docker host, runserver
|
# if you edit e.g. ./archivebox/core/models.py on the docker host, runserver
|
||||||
# inside the container will reload and pick up your changes
|
# inside the container will reload and pick up your changes
|
||||||
docker build . -t archivebox
|
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 \
|
docker run -it -p 8000:8000 \
|
||||||
-v $PWD/data:/data \
|
-v $PWD/data:/data \
|
||||||
-v $PWD/archivebox:/app/archivebox \
|
-v $PWD/archivebox:/app/archivebox \
|
||||||
|
Reference in New Issue
Block a user