Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You will probably need to set up MFA on Heroku account, if you haven’t already.

You will then need to Install the Heroku Command Line Interface (CLI) to run heroku commands on your workstation.

  • do heroku login to authenticate

Now, in the git clone working copy of our scihist-digicoll project, set up your heroku remotes, by running these commands:

...

The -f (force flag) is recommended in order to avoid conflicts with other developers’ pushes. Since you are not using Git for your revision control, but as a transport only, using the force flag is a reasonable practice.

Note: if heroku ever asks you to login trying to do a git push, it maybe more convenient to ctrl-c out, and then login with heroku login in the browser instead. This auth magically applies to subsequent command line and git push too.