yacy-maintenance-scripts/README.md

31 lines
869 B
Markdown
Raw Normal View History

2020-11-19 21:09:14 +00:00
# YaCy Maintenance Scripts
2020-11-19 21:00:22 +00:00
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"
2020-11-19 21:09:14 +00:00
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
2020-11-19 21:14:10 +00:00
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**.
 
2020-11-19 21:15:32 +00:00
2020-11-19 21:09:14 +00:00
Execute the wrapper scripts located at `x/`, depending on the **action you want to do**.
2020-11-19 21:14:10 +00:00
2020-11-19 21:09:14 +00:00
This scripts can also be **called into a cron job** directly
2020-11-19 21:00:22 +00:00