mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-10 06:34:16 +00:00
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>
|
||||
|
||||
Download the [`docker-compose.yml`](https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/master/docker-compose.yml) file.
|
||||
<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'
|
||||
docker-compose run archivebox init
|
||||
docker-compose run archivebox --version
|
||||
</code></pre>
|
||||
|
||||
# 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 up -d
|
||||
open 'http://127.0.0.1:8000'
|
||||
</code></pre>
|
||||
|
||||
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:
|
||||
docker-compose run archivebox add 'https://example.com'
|
||||
echo 'https://example.com' | docker-compose run archivebox -T add
|
||||
|
|
Loading…
Reference in a new issue