Reputation: 23
Hi guys I have done the deploy of my PHP appplication on heroku but I don't know what I need do now for acess my application, on my local host (Xampp) I used to acess with this url https://localhost/sistemacrm/ and on heroku after followed this steps:
$ heroku login
$ heroku git:clone -a sistemacrm
$ cd sistemacrm
$ git add .
$ git commit -am "make it better"
$ git push heroku master
I receive this url https://dashboard.heroku.com/apps/sistemacrm/deploy/heroku-git and when I open this i receive ERROR 404, also i developed this app with codeigniter
Upvotes: 0
Views: 136
Reputation: 29640
You can get the URL for your Heroku-hosted app from:
The end of the build log, after doing git push heroku master
, the URL should be indicated there (assuming the build/deploy was successful). Something like:
Launching... done
https://your-app-name.herokuapp.com/ deployed to Heroku
The Settings page of your app in Heroku's dashboard. Based on the URL you posted, it's probably at https://dashboard.heroku.com/apps/sistemacrm/settings. Then go to the "Domain and certificates" section to find something like this:
Your app can be found at https://your-app-name.herokuapp.com/
I suggest you read the documentation for deploying PHP apps on Heroku.
Because it's explicitly described there how to access your app.
Upvotes: 2