Category: Heroku

Heroku + Laravel + bower/gulp(nodeJS) require multiple buildpack

Heroku has official document to teach how to get Laravel work on Heroku platform. But if you has Bower / Gulp for your Laravel project, you need to set the app to run with php buildpack, you also need to run this to get your app run as NodeJs app: $ heroku buildpacks:add –index 1 heroku/nodejs Once you have this setting effect for your app, you can utilize package.json to have this to run the bower and gulp: “scripts”: { “postinstall”: “bower install && gulp” }  

NodeJs In Action 聊天室範例 (使用 with v1.4.5)

最近想深化對 NodeJS 的基本認知,參考一本 NodeJS In Action 的書,當中有一個聊天室範例應用到 Socket 。依據範例做當然錯不了,但範例使用的 版本是舊版本  (0.9.6),當昇級至 1.x (比如1.4.5),運行時便有林林種種的問題。 因此我以範例作根本,以 1.4.5 的方法編寫了能運行的 Example:

Getting Laravel (5.2) works with Heroku for Shopify Embedded App Development

Inspired by REVENUE AFTER 3 YEARS IN THE SHOPIFY APP STORE, I start exploring the world of Shopify App Development using my favorite PHP Framework: Laravel and hosts it on Heroku. I don’t have solid idea what App I am going to code, the work that I am going to share is how I finally get Laravel basically work inside Shopify as Embed app and get it running on Heroku. I assume you have basic understanding what is Heroku / Laravel / Shopify Embedded App (EASDK).