Week 7 start!

After successfully Run Bot into local Computer, I started working on the server side to put Bot on Heroku. I decided Heroku because lots of Bot Developer use this server for their Bot. So, I setup my Node app in Heroku I push my code there.

I am writing tutorial For Deploying Node.js Apps on Heroku.


The generated package.json file looks like this:

Declare app dependencies

To install dependencies, use npm install <pkg> --save. This will install the package and also add it as a dependency in the package.json file. For example, to install express, you would type npm install express --save

Build your app

Run the npm install command in your local app directory to install the dependencies that you declared in your package.json file.

$ npm install

Deploy your application to Heroku

After you commit your changes to git, you can deploy your app to Heroku.

$ git add .
$ git commit -m "Added a Procfile."
$ heroku login
Enter your Heroku credentials.
$ heroku create

$ git push heroku master
-----> Node.js app detected
-----> Launching... done
       http://arcane-lowlands-8408.herokuapp.com deployed to Heroku

Also, complete new JSON part to connect around 50 + emoji I cover in my JSON.You can check out and tweet to my Bot @wikiemoji 🙂 .