Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 2.11 KB

OpenShift.md

File metadata and controls

30 lines (20 loc) · 2.11 KB

Register First, register for an OpenShift account

Home Panel Once you're in, click Create Your First Application.

Application Type Setup your application as Node.js 0.10 or the newest version.

Application Setup Now as you setup your application, feel free to name it whatever you like. Just make sure you source the repo as https://github.com/PranavMahesh1/Modular-Node.js-IRC-Bot.

Install Client Now that you're all setup, follow OpenShift's Tutorial on how to install the RHC client.

Login Now login using the RHC Client to your application via SSH.

Move To Directory and Install Dependencies Now run cd app-root/repo and then npm install

Edit and Run Now run nano settings.js to edit your settings (Use control + X to exit and save).

Now that you're finally done setting it up, run the bot using node app.js start

Connected The bot should now join!

Please note: You have to connect to your bot via SSH every once and a while to keep your Openshift envirnment running or they'll automatically delete your box. Don't worry, they'll email you before they take action though.