Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 1.56 KB

README.md

File metadata and controls

55 lines (38 loc) · 1.56 KB

Tourmaline Bot Boilerplate

This is a boilerplate Telegram bot for the Tourmaline Telegram bot framework.

Features:

Usage

  1. Clone the repo and cd into the created directory

    git clone https://github.com/watzon/tourmaline-boilerplate.git
    cd tourmaline-boilerplate
    
  2. Install required shards

    shards install
    
  3. Create and edit envorionment file

    cp .env.example .env
    
  4. Setup and migrate the database (be sure you have configured the DATABASE_URI environment variable)

    ./micrate up
    
  5. Run the bot (using sentry to watch for changes)

    crystal run ./src/sentry.cr
    

Contributing

  1. Fork it (https://github.com/your-github-user/telegram_bot/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors