31 lines
869 B
Markdown
31 lines
869 B
Markdown
# YaCy Maintenance Scripts
|
|
|
|
Scripts for easily maintaining your YaCy instance
|
|
|
|
|
|
## Requirements
|
|
|
|
- Using YaCy on docker
|
|
- Using "yacynet" as docker container name
|
|
- Default Solr collection must be called "collection1"
|
|
|
|
This requirements are basic to **make this scripts work right out of the box**.
|
|
You can make **any modifications to the scripts** to suit your needs (in case you don't use docker or have different parameters)
|
|
|
|
## Installation
|
|
|
|
Just **clone the repo somewhere** on your server
|
|
|
|
## Usage
|
|
|
|
You must **mount the directory of this project** onto your docker container on `/scripts` directory.
|
|
|
|
You can also **locate it wherever you want** and change the wrapper scripts to **suit your needs**.
|
|
|
|
|
|
|
|
Execute the wrapper scripts located at `x/`, depending on the **action you want to do**.
|
|
|
|
This scripts can also be **called into a cron job** directly
|
|
|