Skip to content

deis/example-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Quick Start Guide

This guide will walk you through deploying a PHP application on Deis Workflow.

Usage

$ git clone https://github.com/deis/example-php.git
$ cd example-php
$ deis create
Creating Application... done, created zanier-zeppelin
Git remote deis added
remote available at ssh://git@deis-builder.deis.rocks:2222/zanier-zeppelin.git
$ git push deis master
Counting objects: 224, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (153/153), done.
Writing objects: 100% (224/224), 368.18 KiB | 0 bytes/s, done.
Total 224 (delta 61), reused 224 (delta 61)
Starting build... but first, coffee!
-----> PHP app detected
-----> Bootstrapping...
-----> Installing platform packages...
       - php (7.0.9)
       - apache (2.4.20)
       - nginx (1.8.1)
-----> Installing dependencies...
       Composer version 1.1.3 2016-06-26 15:42:08
       Loading composer repositories with package information
       Installing dependencies from lock file
       - Installing psr/http-message (1.0.1)
       Downloading: 100%

       - Installing pimple/pimple (v3.0.2)
       Downloading: 100%

       - Installing nikic/fast-route (v1.0.1)
       Downloading: 100%

       - Installing container-interop/container-interop (1.1.0)
       Downloading: 100%

       - Installing slim/slim (3.5.0)
       Downloading: 100%

       Generating optimized autoload files
-----> Preparing runtime environment...
-----> Checking for additional extensions to install...
-----> Discovering process types
       Procfile declares types -> web
       Default process types for PHP -> web
-----> Compiled slug size is 14M
Build complete.
Launching App...
Done, zanier-zeppelin:v2 deployed to Deis

Use 'deis open' to view this application in your browser

To learn more, use 'deis help' or visit https://deis.com/

To ssh://git@deis-builder.deis.rocks:2222/zanier-zeppelin.git
 * [new branch]      master -> master
$ curl http://zanier-zeppelin.deis.rocks
Powered by Deis
Release v2 on zanier-zeppelin-web-2969858146-wv4ss

Additional Resources

Releases

No releases published

Packages

No packages published