Skip to content

Latest commit

 

History

History
84 lines (64 loc) · 2.48 KB

INSTALLATION_HEROKU.md

File metadata and controls

84 lines (64 loc) · 2.48 KB

How to install the Open Event Web App Generator on Heroku

To setup the open-event-webapp on heroku follow the following steps:

Automatic Deploy

You can use the one click deployment:

Deploy

Manual Deploy

You can also setup your app on heroku manually:

Requirements:

  • heroku toolbelt installed on your system For more info on heroku toolbelt: here
  • git installed on your system

Installation with Heroku

Note: Our app has an app.json, so it can be directly forked and setup on Heroku.

  1. First fork and clone the open-event-webapp git repository
$ git clone https://github.com/yourusername/open-event-webapp.git

Note: replace 'yourusername' with your github username

  1. login into heroku toolbelt
$ heroku login
Enter your Heroku credentials.
Email: [email protected]
Password (typing will be hidden):
Authentication successful.
  1. Now change your working directory into open event webapp folder
$ cd open-event-webapp/
  1. do heroku create to create an heroku app
$ heroku create
Creating app... done, ⬢ your-heroku-app-name
https://your-heroku-app-name.herokuapp.com/ | https://git.heroku.com/your-heroku-app-name.git

Note: replace 'your-heroku-app-name' with your heroku app name

  1. check if heroku's git url is added into the remote by git remote -v
$ git remote -v
heroku	https://git.heroku.com/your-heroku-app-name.git (fetch)
heroku	https://git.heroku.com/your-heroku-app-name.git (push)
origin	https://github.com/yourusername/open-event-webapp.git (push)
origin	https://github.com/yourusername/open-event-webapp.git (push)
  1. if it is not added automatically add the link to heroku's repository by typing following command in terminal
$ git remote add heroku https://git.heroku.com/your-heroku-app-name.git
  1. now push the code from the development branch to heroku's master branch
$ git push heroku development:master
  1. confirm the webapp is running
$ heroku logs --tail
  1. sometimes the server may take a while to start, the logs would say State changed from starting to up when the server is ready.

  2. open the URL of your server in your browser

$ heroku open

Congrats you are done now!