Skip to content

Latest commit

 

History

History
66 lines (56 loc) · 1.43 KB

readme.md

File metadata and controls

66 lines (56 loc) · 1.43 KB

Laravel on Bluemix

forthebadge

This is boilerplate for working with Laravel on Bluemix. You can fork it for your own purpose.

Things I change

manifest.yml

  env:
    APP_ENV: production
    APP_DEBUG: false
    APP_KEY: SomeRandomString

.bp-config/options.json

  "PHP_VERSION": "{PHP_56_LATEST}",
  "COMPOSER_VENDOR_DIR": "vendor",
  "COMPOSER_VERSION": "latest",
  "WEBDIR": "public",
  "PHP_EXTENSIONS": [
    "mcrypt",
    "mbstring",
    "mysqli",
    "openssl",
    "pdo",
    "pdo_mysql",
    "tokenizer",
    "fileinfo"

.cfignore

  composer.lock
  vendor/

composer.json

  "post-install-cmd": [
    ........
    "mkdir -p /tmp/app/bootstrap/cache",
    "mkdir -p /tmp/app/storage/framework/sessions",
    "mkdir -p /tmp/app/storage/framework/views",
    "mkdir -p /tmp/app/storage/framework/cache",
    ........
  ],
  "post-update-cmd": [
    ........
    "mkdir -p /tmp/app/bootstrap/cache",
    "mkdir -p /tmp/app/storage/framework/sessions",
    "mkdir -p /tmp/app/storage/framework/views",
    "mkdir -p /tmp/app/storage/framework/cache",
    ........
  ]

Feedback

If you like what you see, then please send me a tweet @tarikgan;

If you've any better idea to implement and deploy Laravel on Bluemix, then please post an issue of create a pull request.

Have an awesome day!