I've been following https://github.com/opentok/learning-opentok-ios/tree/basics.step-7 to try and get a video app to work on iOS using the OpenTok SDK.
I've already published an app called dongu using https://dashboard.heroku.com/new?template=https%3A%2F%2Fgithub.com%2Fopentok%2Flearning-opentok-php&button-url=https%3A%2F%2Fgithub.com%2Fopentok%2Flearning-opentok-php. I thought the git URL was [email protected]:dongu.git, however it doesn't work.
Error log:
News-MacBook-Pro:Dongu michaelnares$ git remote add heroku [email protected]:dongu.git
News-MacBook-Pro:Dongu michaelnares$ git add --all
News-MacBook-Pro:Dongu michaelnares$ git push heroku master
error: src refspec master does not match any.
error: failed to push some refs to '[email protected]:dongu.git'
News-MacBook-Pro:Dongu michaelnares$ git heroku git:remote -a dongu
git: 'heroku' is not a git command. See 'git --help'.
Did you mean this?
checkout
All I want to do is add a simple HTML file to my Heroku app, however I can't find the URL to push to master from. Is there any way of finding it out?
Simply following the instructions in https://dashboard.heroku.com/apps/dongu/deploy/heroku-git did the trick, without me needing to know the remote URL, hopefully that's useful for anyone else having this problem.