Deploying phalcon on heroku

  • Published on
    13-Apr-2017

  • View
    832

  • Download
    1

Embed Size (px)

Transcript

<p>Deploying Phalcon on Heroku</p> <p>Deploying Phalcon on HerokuTung NGUYEN - TIKI</p> <p>Application Platform (PaaS)</p> <p>FeaturesPlatform as a ServiceDeploy via `git push`Write your app.We do the rest.</p> <p>FeaturesFree to try - Cost per hour</p> <p>Drag to Scale</p> <p>FeaturesLots of "toys</p> <p>Using custom Build-pack$ heroku create myappBasic way$ heroku create myapp --buildpack https://github.com/tungbi/heroku-buildpack-nginx-php-phalconCustom way</p> <p>Deploying Phalcon SkeletonCloning Phalcon Skeleton</p> <p>Adding Procfile, composer.jsonhttps://github.com/tungbi/heroku-buildpack-nginx-php-phalcon/tree/master/app_support</p> <p>Setting up Heroku</p> <p>$ git clone https://github.com/phalcon/skeleton-single$ heroku create --buildpack=https://github.com/tungbi/heroku-buildpack-nginx-php-phalcon$ git push heroku$ heroku open</p> <p>In action</p> <p>Customize buildpack your-selfhttps://github.com/heroku/heroku-buildpack-php</p> <p>Builder</p> <p>Compiler</p> <p>Alternativeshttps://github.com/elct9620/heroku-buildpacks-php-with-phalconApache + php + phalcon only (without other extensions)</p> <p>Multi-buildpacks</p> <p>Docker</p>