Skip to content

Latest commit

 

History

History
73 lines (54 loc) · 2.2 KB

heroku.md

File metadata and controls

73 lines (54 loc) · 2.2 KB

Development

Want to contribute? Great!

To setup the meilix-generator on Heroku follow the following steps:

Automatic Deploy

You can use the one click deployment:

Deploy

The app will get deployed but need to provide config variables in the app to trigger the build.

Manual Deploy

You can 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

Open your favorite Terminal and run these commands.

first start the repo, fork and clone it:

$ git clone https://github.com/yourusername/meilix-generator.git

login into heroku toolbelt:

$ heroku login

cd into the repository and create a 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

check if heroku's git url is added into the remote

$ 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/meilix-generator.git (push)
origin	https://github.com/yourusername/meilix-generaotr.git (push)

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

now push the code

$ git push heroku master

sometimes the server may take a while to start, the logs would say State changed from starting to up when the server is ready.

open the URL of your server in your browser

$ heroku open

Congrats you are done now!

Note: see more here about token and script before attempting the above steps.