Reputation: 43
I am creating a website on PHP.
I have cloned the source code. using git clone
Create an app on Heroku heroku create
and deployed my code on heroku using command git push heroku master
.
Now i want to check either my instance is running or not. How to check?
Thanks for your time.
Upvotes: 4
Views: 1938
Reputation: 2212
As stated in official documentation of heroku
Ensure that at least one instance of the app is running:
heroku ps:scale web=1
Upvotes: 0
Reputation: 136968
You can run heroku open
, which will open your app in your default web browser. Of course you can also manually navigate to your app's URL, which should be be https://<your-app-name>.herokuapp.com
.
You can also run heroku ps
which will show your app's dynos and their status.
Both of these heroku
commands accept an --app
argument in case you want to run them from outside of your project directory or have multiple apps configured.
Upvotes: 4