11
Deploying Phalcon on Heroku TUNG NGUYEN - TIKI

Deploying phalcon on heroku

  • Upload
    tung-ns

  • View
    887

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Deploying phalcon on heroku

Deploying Phalcon on HerokuTUNG NGUYEN - TIKI

Page 2: Deploying phalcon on heroku

Application Platform (PaaS)

Page 3: Deploying phalcon on heroku

Features

Platform as a Service Deploy via `git push`

Write your app.We do the rest.

Page 4: Deploying phalcon on heroku

Features

Free to try - Cost per hour

Drag to Scale

Page 5: Deploying phalcon on heroku

Features

Lots of "toys”

Page 6: Deploying phalcon on heroku
Page 7: Deploying phalcon on heroku

Using custom Build-pack

$ heroku create myapp

Basic way

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

Custom way

Page 8: Deploying phalcon on heroku

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

Page 9: Deploying phalcon on heroku

In action

Page 10: Deploying phalcon on heroku

Customize buildpack your-self

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

Builder

Compiler

Page 11: Deploying phalcon on heroku

Alternatives

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

Multi-buildpacks

Docker