I'm still a beginner in developing Ruby on Rails apps. I've developed a project on my old laptop. And I want to open it on my new one. When I download the project from github, I am not able to perform "heroku open". I receive the following error: "No app specified".
And if I write git push heroku master, it says "Not a git repository".
Can you help me please? Thanks a lot!
git clone cd [project_name]bundle installrake db:createrake db:migrateLet me know if this solves your problems.
First create a Heroku app
heroku create
This will create a remote Git repository called "heroku". You can check for this by using
git remote -v
Then, deploy your app to heroku with
git push heroku master
You can get full details on the Heroku Docs: https://devcenter.heroku.com/articles/git
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With