Deploying phalcon on heroku

Post on 13-Apr-2017

876 views 1 download

Transcript of Deploying phalcon on heroku

Deploying Phalcon on HerokuTUNG NGUYEN - TIKI

Application Platform (PaaS)

Features

Platform as a Service Deploy via `git push`

Write your app.We do the rest.

Features

Free to try - Cost per hour

Drag to Scale

Features

Lots of "toys”

Using custom Build-pack

$ heroku create myapp

Basic way

$ heroku create myapp --buildpack https://github.com/tungbi/heroku-buildpack-nginx-php-phalcon

Custom way

Deploying Phalcon Skeleton

Cloning Phalcon Skeleton

Adding Procfile, composer.json https://github.com/tungbi/heroku-buildpack-nginx-php-phalcon/tree/master/

app_support

Setting up Heroku

$ 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

In action

Customize buildpack your-self

https://github.com/heroku/heroku-buildpack-php

Builder

Compiler

Alternatives

https://github.com/elct9620/heroku-buildpacks-php-with-phalcon Apache + php + phalcon only (without other extensions)

Multi-buildpacks

Docker