A barebones PHP web page.
-
Create a Heroku account.
-
Install the Heroku Command Line Interface (CLI).
macOS users should install Homebrew, a package manager for macOS, in order to have the
brew
command mentioned in the Heroku CLI installation instructions. -
Clone this repository:
git clone https://github.com/MediaComem/php-hello-world-form
-
Create a Heroku application:
-
Either at the command line:
cd php-hello-world-form heroku create
-
Or from the Heroku dashbord, then add the remote:
cd php-hello-world-form heroku git:remote -a my-app-name
-
-
Deploy the application to Heroku by pushing the
main
branch:git push heroku main