Update README.md
This commit is contained in:
parent
54a923838f
commit
c6d8719e24
1 changed files with 9 additions and 7 deletions
16
README.md
16
README.md
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue