Skip to content

Latest commit

 

History

History
75 lines (63 loc) · 1.56 KB

README.md

File metadata and controls

75 lines (63 loc) · 1.56 KB

Barista for Expresso PHP

Express and simple application installer for PHP development.

Apache + PHP

What's included:

Supports PHP 5 & 7

You can switch between PHP versions by changing the first line of the file "docker/php/Dockerfile". Currently you can use any of the "X-apache" versions found here: https://hub.docker.com/_/php/ examples:

FROM php:5-apache
FROM php:7.0-apache

Note for Dinghy on OSX users

Before running barista/init.sh update the folling in init.sh

docker_type="default"

to

docker_type="dinghy"

Get started

Run docker compose & initialze barista.

$ docker-compose up -d && barista/init.sh

Install your application. Options:

  • drupal7
  • drupal8
  • magento2
  • symfony2
  • symfony3
  • wordpress4

Method 1 - Install from host.

$ docker-compose run --rm php_apache barista/install.sh drupal7

Method 2 - Install from container. Log into container.

$ docker-compose exec php_apache /bin/bash

From your project root /var/www

$ barista/install.sh drupal7

All your application files will be installed into /var/www/web.