From 63caff2811190b799249c095e38830141cd69092 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Fri, 11 Dec 2020 22:50:16 +0200 Subject: [PATCH] readme tweaks --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index a57257be..6d14dc2d 100644 --- a/README.md +++ b/README.md @@ -42,11 +42,12 @@ The main index is a self-contained `data/index.sqlite3` file, and each snapshot Get ArchiveBox with Docker Compose ```bash -# Download the compose file into an empty directory somewhere +# create a new empty directory and initalize your collection (can be anywhere) mkdir ~/archivebox && cd ~/archivebox -wget https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/master/docker-compose.yml - +curl -O https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/master/docker-compose.yml docker-compose run archivebox init + +# start the webserver and open the UI (optional) docker-compose up -d open http://127.0.0.1:8000 @@ -60,11 +61,11 @@ docker-compose run archivebox manage createsuperuser Get ArchiveBox with plain Docker ```bash -# cd into a new empty directory somewhere and pull the latest image +# create a new empty directory and initalize your collection (can be anywhere) mkdir ~/archivebox && cd ~/archivebox -docker pull archivebox/archivebox - docker run -v $PWD:/data -it archivebox/archivebox init + +# start the webserver and open the UI (optional) docker run -v $PWD:/data -it -p 8000:8000 archivebox/archivebox open http://127.0.0.1:8000