How to run the Loklak server on Heroku using ToolbeltΒΆ
- Create a Heroku account https://www.heroku.com/
- Download the Heroku toolbelt https://toolbelt.heroku.com/
- Login with heroku:
heroku login - Clone the Loklak server (if not already) :
git clone https://github.com/loklak/loklak_server.git - Move into the cloned repository:
cd loklak_server - Create a heroku app:
heroku create - Set the buildpack:
heroku buildpacks:set https://github.com/loklak/heroku_buildpack_ant_loklak.git - Push your app to heroku:
git push heroku masterIn case if it doesn’t get pushed, usegit push heroku HEAD:master - Confirm the loklak server is running:
heroku logs --tail - Sometimes the server may take a while to start. The logs would show
State changed from starting to upwhen the server is ready. - Open the URL of your server in your browser:
heroku open.