Skip to content

Commit

Permalink
Simplified the install process to get the project up and running.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Deeb committed Dec 18, 2015
1 parent 0566719 commit d5cb9cf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ Setup
1. [Create](https://core.telegram.org/bots#create-a-new-bot) a new bot by chatting with [@TheBotFather](https://telegram.me/botfather) and keep the token handy.
2. Populate [restaurants.json](restaurants.json) with content relevant to you.
3. Install [Node.js & npm](https://nodejs.org)
4. Install [telegram-api](https://www.npmjs.com/package/telegram-api) (This will be in a package.json file at some point)
5. In a Terminal window, `cd` to the project folder and then enter `TELEGRAM_BOT_TOKEN='YOUR_BOT_TOKEN' node main.js` where YOUR_BOT_TOKEN is replaced by what you were given by [@TheBotFather](https://telegram.me/botfather)
4. `git clone https://github.com/michaeljdeeb/indecisive-bot`
5. `cd /path/to/project/`
6. `npm install`
5. `TELEGRAM_BOT_TOKEN='YOUR_BOT_TOKEN' node main.js` where YOUR_BOT_TOKEN is replaced by what you were given by [@TheBotFather](https://telegram.me/botfather)
6. Type 'IDK' to your bot.

Demo
Expand Down

0 comments on commit d5cb9cf

Please sign in to comment.