Skip to content
This repository has been archived by the owner on Nov 28, 2018. It is now read-only.

Latest commit

 

History

History
35 lines (20 loc) · 836 Bytes

README.md

File metadata and controls

35 lines (20 loc) · 836 Bytes

telegram-clojure

Sample project to show how to connect to the telegram bot using clojure programming language.

Prerequisite

You need to export the following environment variable

export BOT_URL=YOUR BOT URL HERE
export TELEGRAM_API_KEY=YOUR TELEGRAM API KEY HERE

Using heroku, you can also set the config variable in the platform and push to heroku after that.

For those who are not familiar with heroku/heroku clojure deployment, you can refer to (here)[https://devcenter.heroku.com/articles/getting-started-with-clojure]

Prerequisites

You will need Leiningen 2.0.0 or above installed.

Running

To start a web server for the application, run:

```lein ring server```
Or
```lein ring server-headless```

License

Copyright © 2018 FIXME