1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-27 00:05:27 +02:00

Updated Configuration (markdown)

Nick Sweeting
2018-12-31 20:23:53 -05:00
parent 87a40970ab
commit a937cfe121

@@ -8,6 +8,19 @@ Example configuration using `env` command:
```bash
env CHROME_BINARY=google-chrome-stable RESOLUTION=1440,900 FETCH_PDF=False ./archive ~/Downloads/bookmarks_export.html
```
One way to have persistent config is to create a `~/.ArchiveBox.conf` file, and put your options inside it like so:
```bash
CHROME_BINARY=google-chrome-stable
RESOLUTION=1440,900
FETCH_PDF=False
```
Then source it when you run the archive script:
```bash
export $(grep -v '^#' ~/.ArchiveBox.conf | xargs); ./archive https://example.com/rss/feed.xml
---
## Environment Variables