Kirby on Heroku
How to deploy Kirby CMS on Heroku cloud platform
Notes
- site must be at root level
Install Heroku
- Download Heroku pkg
- RUN heroku --version
- RUN heroku login
Setup composer
- RUN git init/clone
- RUN composer init
- require
- php
- ext-mbstring (latest *)
- ext-curl (latest *)
- RUN composer update
- RUN echo "web: vendor/bin/heroku-php-apache2" >> Procfile
- Reference:
Deploy to Heroku
- RUN heroku create
- RUN
- git add --all
- git commit --message ""
- git push origin master
- git push heroku master
- RUN heroku run bash # to inspect server
Heroku rename app