Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 847 Bytes

README.md

File metadata and controls

42 lines (33 loc) · 847 Bytes

synbot

synbot

How to build

Firstly clone this repository

$ git clone https://github.com/synboo/synbot.git

Install composer (if you have not installed yet)

$ curl -sS https://getcomposer.org/installer | php
$ [sudo] mv composer.phar /usr/local/bin/composer

Install twitteroauth

$ cd synbot/php/
$ composer install

Make SecretDefines.php

$ cd synbot/php/scripts
$ cp SecretDefinesTemplate.php SecretDefines.php

and edit SecretDefines.php and input your twitter keys

Edit crontab

$ crontab -e

and paste line written in synbot/cron/crontab.txt

Error log

If your server's OS is CentOS, cron log is written in /var/mail/your_username

$ tail -f /var/mail/your_username