A barebones Drupal 8 installation that falls somewhere between the core
standard installation profiles,
which can easily be deployed to Heroku.
$ git clone email@example.com:mscharley/drupal-heroku-demo $ cd drupal-heroku-demo $ composer install
Install the Heroku Toolbelt.
$ heroku create $ heroku addons:create heroku-postgresql:hobby-dev $ git push heroku master $ heroku open core/install.php
You can also use a SQLite database if you wish for testing purposes but be aware that this database won't last through a Heroku dyno restart which notably happens whenever you push code to Heroku as well as roughly every 24 hours.
For more information about the installation profile, see the Drupal project:
For more information about using PHP on Heroku, see these Dev Center articles: