Configure the environemnt

Most of the configurations are provided by the ini file.

Create cache directory

Create cache directory anywhere.
Make sure this directory have a permission of writable.

Create ini file

Create ini file for configuration.

You can use the sample file in TuiBotter.

cp /path/to/TuiBotter/TuiBotter.ini.sample /path/to/your/project/TuiBotter.ini

Set up your account

[Account]
user = your_user_name
pass = your_password

Set up your account using OAuth

You can use OAuth to authenticate your account.

[Account]
authType = OAuth
consumerKey = YOUR_CONSUMER_KEY
consumerSec = YOUR_CONSUMER_SECRET
accessKey = YOUR_ACCESS_KEY
accessSec = YOUR_ACCESS_SECRET

See Authenticate by OAuth to get your keys and secrets.

Set up the cache directories

In this example, HTTP cache would not be used.

[Environemnt]
cache = true
cacheDir = /path/to/cache/dir/
cacheHttp = false
cacheHttpDir =