/php-hello-world-form

PHP Hello World form to demonstrate PaaS deployment on Heroku

Primary LanguagePHPMIT LicenseMIT

PHP Hello World Form

A barebones PHP web page.

Deploy on Heroku

  1. Create a Heroku account.

  2. 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.

  3. Clone this repository:

    git clone https://github.com/MediaComem/php-hello-world-form
  4. 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
  5. Deploy the application to Heroku by pushing the main branch:

    git push heroku main