mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-23 14:44:21 +02:00
Update README.md
This commit is contained in:
29
README.md
29
README.md
@@ -49,18 +49,6 @@ brew install archivebox/archivebox/archivebox
|
|||||||
|
|
||||||
# or for the Python version only, without wget/git/chrome/etc. included
|
# or for the Python version only, without wget/git/chrome/etc. included
|
||||||
pip3 install archivebox
|
pip3 install archivebox
|
||||||
```
|
|
||||||
|
|
||||||
Check that everything installed correctly with:
|
|
||||||
```bash
|
|
||||||
archivebox --version
|
|
||||||
```
|
|
||||||
|
|
||||||
**To start using archivebox, you have to create a data folder and `cd` into it:**
|
|
||||||
|
|
||||||
```bash
|
|
||||||
mkdir ~/archivebox && cd ~/archivebox # you can put the collection dir anywhere
|
|
||||||
archivebox init
|
|
||||||
|
|
||||||
# If you're using an apt/brew/pip install you can run archivebox commands normally
|
# If you're using an apt/brew/pip install you can run archivebox commands normally
|
||||||
# archivebox [subcommand] [...args]
|
# archivebox [subcommand] [...args]
|
||||||
@@ -70,22 +58,27 @@ archivebox init
|
|||||||
# docker-compose run archivebox [subcommand] [...args]
|
# docker-compose run archivebox [subcommand] [...args]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<small>Check that everything installed correctly with `archivebox --version`</small>
|
||||||
|
|
||||||
|
**To start using archivebox, you have to create a data folder and `cd` into it:**
|
||||||
|
|
||||||
|
```bash
|
||||||
|
mkdir ~/archivebox && cd ~/archivebox # you can put the collection dir anywhere
|
||||||
|
archivebox init
|
||||||
|
```
|
||||||
|
|
||||||
**Then Add some URLs to your archive collection:**
|
**Then Add some URLs to your archive collection:**
|
||||||
```bash
|
```bash
|
||||||
archivebox add https://github.com/ArchiveBox/ArchiveBox
|
archivebox add https://github.com/ArchiveBox/ArchiveBox
|
||||||
archivebox/archivebox add --depth=1 https://example.com
|
archivebox/archivebox add --depth=1 https://example.com
|
||||||
```
|
```
|
||||||
|
|
||||||
View the snapshots of the URLs you added via the self-hosted web UI:
|
**View the snapshots of the URLs you added via the self-hosted web UI:**
|
||||||
```bash
|
```bash
|
||||||
archivebox manage createsuperuser # create an admin acct
|
archivebox manage createsuperuser # create an admin acct
|
||||||
archivebox server 0.0.0.0:8000 # start the web server
|
archivebox server 0.0.0.0:8000 # start the web server
|
||||||
open http://127.0.0.1:8000/ # open the interactive admin panel
|
open http://127.0.0.1:8000/ # open the interactive admin panel
|
||||||
```
|
ls ~/archivebox/archive/*/index.html # or browse the snapshots on disk
|
||||||
|
|
||||||
Or just browse the snapshots statically on disk:
|
|
||||||
```bash
|
|
||||||
ls ~/archivebox/archive/*/index.html
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user