heroku open - no app specified

后端 未结 5 1370
迷失自我
迷失自我 2020-12-13 03:30

I\'ve just created a simple Rails app using

rails new myapp

then created the heroku stack using:

heroku create --stack ced         


        
5条回答
  •  粉色の甜心
    2020-12-13 04:21

    Heroku by default is not creating app with your directory name, so when you do

    heroku create --stack cedar
    Creating calm-bayou-3229... done, stack is cedar
    http://calm-bayou-3229.herokuapp.com/ | git@heroku.com:calm-bayou-3229.git
    

    it is creating application named 'calm-bayou-3229' And you can do

    heroku open --app calm-bayou-3229
    Opening http://calm-bayou-3229.herokuapp.com/
    

    You can always list your apps with:

    heroku apps
    

提交回复
热议问题