add readme
This commit is contained in:
parent
5749fb4db1
commit
ab3949db50
1 changed files with 36 additions and 0 deletions
36
README.md
Normal file
36
README.md
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Sync Kiwix
|
||||
This is a small script to synchronize kiwix zim files from the official repository
|
||||
|
||||
## Requirements
|
||||
You will need conda. See https://conda.io/projects/conda/en/latest/user-guide/install/index.html for installation instructions.
|
||||
|
||||
## Install
|
||||
|
||||
Clone this repo:
|
||||
```bash
|
||||
git clone https://git.fusselkater.org/fusselkater/sync_kiwix.git
|
||||
```
|
||||
|
||||
Change into the sync_kiwix directory and install the conda environment:
|
||||
```bash
|
||||
conda env create -f environment.yml
|
||||
```
|
||||
|
||||
## Usage
|
||||
Activate the conda environment:
|
||||
```bash
|
||||
conda activate sync_kiwix
|
||||
```
|
||||
|
||||
Run the script:
|
||||
```bash
|
||||
python ./sync_kiwix.py --help
|
||||
```
|
||||
|
||||
The output of `--help` will show you the available commands.
|
||||
|
||||
### Example
|
||||
To download the archlinux wiki:
|
||||
```bash
|
||||
python sync_kiwix.py archlinux_en_all_maxi .
|
||||
```
|
Loading…
Reference in a new issue