Express and simple application installer for PHP development.
What's included:
-
Expresso PHP
-
Currently only supports the Apache branch.
-
Nginx is currently in development.
-
Barista Installer
- Drupal 7
- Drupal 8
- Magento 2
- Supported PHP verions: http://devdocs.magento.com/guides/v2.0/install-gde/system-requirements-tech.html
- Requires keys: http://devdocs.magento.com/guides/v2.0/install-gde/prereq/connect-auth.html
- Symfony 2
- Symfony 3
- Wordpress 4
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
Before running barista/init.sh update the folling in init.sh
docker_type="default"
to
docker_type="dinghy"
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.