Deploying phalcon on heroku
Transcript of Deploying phalcon on heroku
![Page 1: Deploying phalcon on heroku](https://reader033.fdocuments.us/reader033/viewer/2022061600/58ef08c61a28abb23c8b45a5/html5/thumbnails/1.jpg)
Deploying Phalcon on HerokuTUNG NGUYEN - TIKI
![Page 2: Deploying phalcon on heroku](https://reader033.fdocuments.us/reader033/viewer/2022061600/58ef08c61a28abb23c8b45a5/html5/thumbnails/2.jpg)
Application Platform (PaaS)
![Page 3: Deploying phalcon on heroku](https://reader033.fdocuments.us/reader033/viewer/2022061600/58ef08c61a28abb23c8b45a5/html5/thumbnails/3.jpg)
Features
Platform as a Service Deploy via `git push`
Write your app.We do the rest.
![Page 4: Deploying phalcon on heroku](https://reader033.fdocuments.us/reader033/viewer/2022061600/58ef08c61a28abb23c8b45a5/html5/thumbnails/4.jpg)
Features
Free to try - Cost per hour
Drag to Scale
![Page 5: Deploying phalcon on heroku](https://reader033.fdocuments.us/reader033/viewer/2022061600/58ef08c61a28abb23c8b45a5/html5/thumbnails/5.jpg)
Features
Lots of "toys”
![Page 6: Deploying phalcon on heroku](https://reader033.fdocuments.us/reader033/viewer/2022061600/58ef08c61a28abb23c8b45a5/html5/thumbnails/6.jpg)
![Page 7: Deploying phalcon on heroku](https://reader033.fdocuments.us/reader033/viewer/2022061600/58ef08c61a28abb23c8b45a5/html5/thumbnails/7.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022061600/58ef08c61a28abb23c8b45a5/html5/thumbnails/8.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022061600/58ef08c61a28abb23c8b45a5/html5/thumbnails/9.jpg)
In action
![Page 10: Deploying phalcon on heroku](https://reader033.fdocuments.us/reader033/viewer/2022061600/58ef08c61a28abb23c8b45a5/html5/thumbnails/10.jpg)
Customize buildpack your-self
https://github.com/heroku/heroku-buildpack-php
Builder
Compiler
![Page 11: Deploying phalcon on heroku](https://reader033.fdocuments.us/reader033/viewer/2022061600/58ef08c61a28abb23c8b45a5/html5/thumbnails/11.jpg)
Alternatives
https://github.com/elct9620/heroku-buildpacks-php-with-phalcon Apache + php + phalcon only (without other extensions)
Multi-buildpacks
Docker