1
0
Fork 0

Update README.md

This commit is contained in:
Nick Sweeting 2021-03-27 05:01:27 -04:00 committed by GitHub
parent 54a923838f
commit c6d8719e24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,18 +103,20 @@ archivebox help
<i>First make sure you have Docker installed: https://docs.docker.com/get-docker/</i> <i>First make sure you have Docker installed: https://docs.docker.com/get-docker/</i>
Download the [`docker-compose.yml`](https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/master/docker-compose.yml) file.
<pre lang="bash"><code> <pre lang="bash"><code>
# create a new empty directory and initalize your collection (can be anywhere)
mkdir ~/archivebox && cd ~/archivebox
curl -O '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 </code></pre>
docker-compose run archivebox --version
# start the webserver and open the UI (optional) Start the server.
<pre lang="bash"><code>
docker-compose run archivebox server --quick-init
docker-compose run archivebox manage createsuperuser docker-compose run archivebox manage createsuperuser
docker-compose up -d </code></pre>
open 'http://127.0.0.1:8000'
Open [`http://127.0.0.1:8000`](http://127.0.0.1:8000).
<pre lang="bash"><code>
# you can also add links and manage your archive via the CLI: # you can also add links and manage your archive via the CLI:
docker-compose run archivebox add 'https://example.com' docker-compose run archivebox add 'https://example.com'
echo 'https://example.com' | docker-compose run archivebox -T add echo 'https://example.com' | docker-compose run archivebox -T add