Skip to content
This repository has been archived by the owner on May 16, 2019. It is now read-only.

leocabeza/it-books-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

it-books-bot

Search and download books from Telegram

Add me on Telegram: @itbooksbot

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/leocabeza/it-books-bot. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

Running the bot

For the first you need to install gems required to start the bot:

bundle install

Then you need to create secrets.yml where your bot unique token will be stored and database.yml where database credentials will be stored. I've already created samples for you, so you can easily do:

cp config/database.yml.sample config/database.yml
cp config/secrets.yml.sample config/secrets.yml

Then you need to fill your Telegram bot unique token to the secrets.yml file and your database credentials to database.yml.

After this you need to create and migrate your database:

rake db:create db:migrate

Great! Now you can easily start your bot just by running this command:

bin/bot

About

Search and download books from Telegram

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages