akbelcolak / language-platform

Heroku
https://language-platform.herokuapp.com/
1 stars 2 forks source link

Fix Continuous Deployment #34

Closed mmelcot closed 4 years ago

mmelcot commented 4 years ago

I deployed it with my Heroku account, so now it is available at: https://hyf-group6-languageplatform.herokuapp.com/

I suggest you create an app (with a different name than hyf-group6-languageplatform otherwise it will complain) in your Heroku (you should use one of yours, and then add collaborators).

Here is the process to create an Heroky app and deploy from the CLI

$ heroku create hyf-group6-languageplatform.herokuapp.com   # Create the app
$ heroku git:remote -a hyf-group6-languageplatform.herokuapp.com  # Set `heroku` remote
$ heroku buildpacks:set heroku/nodejs  # Set default language
$ git push heroku infra/setup-heroku:master     # if 'infra/setup-heroku` is the name of local branch

Once it works with the CLI, here is how you should setup Heroku to automatize each merge to master to an Heroku deployment: image

akbelcolak commented 4 years ago

I have noted the way, thanks!