-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Model and implement base proof of concept. Add docker to be able to w…
…ork on project.
- Loading branch information
Showing
22 changed files
with
2,136 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM php:5.6-apache | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y git curl bzip2 vim libssl-dev zlib1g-dev libxrender1 libicu-dev g++ libjpeg-dev libjpeg62 libfontconfig-dev \ | ||
&& pecl install xdebug \ | ||
&& echo zend_extension=xdebug.so > /usr/local/etc/php/conf.d/xdebug.ini \ | ||
&& pecl install apcu-beta \ | ||
&& echo extension=apcu.so > /usr/local/etc/php/conf.d/apcu.ini \ | ||
&& docker-php-ext-install zip mbstring intl pdo_mysql \ | ||
&& apt-get -y install mysql-client php5-gd | ||
|
||
ADD docker/vhost.conf /etc/apache2/sites-enabled/000-default.conf | ||
ADD docker/php.ini /usr/local/etc/php/php.ini | ||
|
||
RUN a2enmod rewrite | ||
|
||
RUN curl -sS https://getcomposer.org/installer | php \ | ||
&& mv composer.phar /usr/bin/composer | ||
|
||
EXPOSE 9000 | ||
|
||
WORKDIR /var/www/city-bike |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
default: | ||
extensions: | ||
RMiller\BehatSpec\BehatExtension: | ||
path: bin/phpspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"require": { | ||
"php": ">=5.6" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"": "src/" | ||
} | ||
}, | ||
"require-dev": { | ||
"behat/behat": "~3.0", | ||
"phpspec/phpspec": "~2.2", | ||
"rmiller/behat-spec": "~0.2" | ||
}, | ||
"config": { | ||
"bin-dir": "bin" | ||
} | ||
} |
Oops, something went wrong.