diff --git a/README.md b/README.md index fb4d996..5425324 100644 --- a/README.md +++ b/README.md @@ -2,14 +2,41 @@ PTZ IP-Camera management ![cctv-scheduler](info/images/cctv-scheduler-0.1.png) - +## `Installation` +### `Requirements` +Look at the description of dependencies and install the necessary. +### `Downloading` +Download scripts and configs. +```bash +wget https://git.hmp.today/pavel.muhortov/cctv-scheduler/raw/branch/master/sequences.sh -O /home/user/cctv-scheduler/sequences.sh +wget https://git.hmp.today/pavel.muhortov/cctv-scheduler/raw/branch/master/sequences.conf -O /home/user/cctv-scheduler/sequences.conf +wget https://git.hmp.today/pavel.muhortov/cctv-scheduler/raw/branch/master/converter.sh -O /home/user/cctv-scheduler/converter.sh +wget https://git.hmp.today/pavel.muhortov/cctv-scheduler/raw/branch/master/converter.conf -O /home/user/cctv-scheduler/converter.conf +wget https://git.hmp.today/pavel.muhortov/cctv-scheduler/raw/branch/master/publisher.sh -O /home/user/cctv-scheduler/publisher.sh +wget https://git.hmp.today/pavel.muhortov/cctv-scheduler/raw/branch/master/publisher.conf -O /home/user/cctv-scheduler/publisher.conf +wget https://git.hmp.today/pavel.muhortov/cctv-scheduler/raw/branch/master/publisher-template-page-1007.xml -O /home/user/cctv-scheduler/publisher-template-page-1007.xml +wget https://git.hmp.today/pavel.muhortov/cctv-scheduler/raw/branch/master/streaming.py -O /home/user/cctv-scheduler/streaming.py +``` +### `Configuration` +Edit configs. +```bash +nano /home/user/cctv-scheduler/sequences.conf +nano /home/user/cctv-scheduler/converter.conf +nano /home/user/cctv-scheduler/publisher.conf +``` +### `Scheduler` +Look at examples and edit scheduler tasks: +```bash +crontab -e +``` +____ * [`sequences.sh`](https://git.hmp.today/pavel.muhortov/cctv-scheduler#sequences-sh) * [`converter.sh`](https://git.hmp.today/pavel.muhortov/cctv-scheduler#converter-sh) * [`publisher.sh`](https://git.hmp.today/pavel.muhortov/cctv-scheduler#publisher-sh) * [`streaming.py`](https://git.hmp.today/pavel.muhortov/cctv-scheduler#streaming-py) ____ -## `sequences.sh` +## `sequences`.sh **Description:** > [Hikvision](https://git.hmp.today/pavel.muhortov/cctv-scheduler/src/branch/master/info/hikvision/manual/isapi.pdf) PTZ-camera sequences. > Additionally: @@ -40,7 +67,7 @@ Example usage with cron: 0 * * * * bash /home/user/cctv-scheduler/sequences.sh qn ``` ____ -## `converter.sh` +## `converter`.sh **Description:** > JPEG to MP4 converter. > @@ -90,7 +117,7 @@ Example usage with cron: 36 0 1 1 * bash /home/user/cctv-scheduler/converter.sh qn - -y ``` ____ -## `publisher.sh` +## `publisher`.sh **Description:** > Uploading MP4 to [Wordpress](https://wordpress.com/) and [Telegram](https://web.telegram.org/). > Additionally: diff --git a/info/images/cctv-scheduler-0.1.png b/info/images/cctv-scheduler-0.1.png index 3aa6ddd..8a48084 100644 Binary files a/info/images/cctv-scheduler-0.1.png and b/info/images/cctv-scheduler-0.1.png differ