Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment to Heroku #23

Open
fatse opened this issue Jan 21, 2021 · 0 comments
Open

Deployment to Heroku #23

fatse opened this issue Jan 21, 2021 · 0 comments
Assignees
Projects
Milestone

Comments

@fatse
Copy link
Collaborator

fatse commented Jan 21, 2021

Hi team 👋

I created a new Heroku account for our group and I'll share credentials in a safer medium.
I also deployed our current app on Heroku, so the app is up and running. Here's the URL: https://mentalhealth-in-tech.herokuapp.com/

There are a few steps (which I'll list below) that you need to follow if you want to deploy new changes.
To use Heroku CLI locally you need to run the commands below in your terminal:

  1. Install Heroku: brew tap heroku/brew && brew install heroku
  2. Login in our Heroku account: heroku login
    • Use login credentials that I already sent you
  3. Clone your local repo to heroku: heroku git:clone -a mentalhealth-in-tech
    • And/Or add heroku as a remote repo: heroku git:remote -a mentalhealth-in-tech
  4. Deploy local changes to heroku (deployment will take a few minutes): git push heroku main

The commands from steps 1, 2, 3 should be run just once, and you run the command from step 4 every time you want to deploy new code to Heroku.

Once the deployment is finished and you refresh the browser you should be able to see new changes in the online app.

@fatse fatse added this to the Milestore 2 milestone Jan 21, 2021
@fatse fatse added this to To Do in group-19 via automation Jan 21, 2021
@fatse fatse mentioned this issue Jan 21, 2021
@fatse fatse moved this from To Do to Done in group-19 Feb 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

4 participants