-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #79 from szymach/new_release
Require stable FSi components, replaced Vagrant with Docker
- Loading branch information
Showing
34 changed files
with
115 additions
and
399 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 |
---|---|---|
@@ -1,10 +1,7 @@ | ||
/vendor/ | ||
/bin/ | ||
/composer.phar | ||
/composer.lock | ||
/vagrant/.vagrant | ||
!/features/fixtures/project/web/app_test.php | ||
/features/fixtures/project/web/* | ||
/features/fixtures/project/web/uploaded | ||
/features/fixtures/project/web/bundles | ||
/features/fixtures/project/app/data.sqlite | ||
/features/fixtures/project/web/bundles | ||
/features/fixtures/project/web/uploaded | ||
/vendor/ |
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
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
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
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 @@ | ||
--- | ||
version: '3' | ||
|
||
services: | ||
web: | ||
build: | ||
context: ./docker | ||
dockerfile: web | ||
container_name: admin-translatable-bundle-web | ||
ports: | ||
- 80:80 | ||
- 443:443 | ||
environment: | ||
PHP_IDE_CONFIG: 'serverName=localhost' | ||
HOST_UID: 1000 | ||
HOST_GID: 1000 | ||
volumes: | ||
- .:/var/www/application | ||
- ~/.composer:/var/www/.composer | ||
selenium: | ||
image: selenium/standalone-firefox:2.53.1 | ||
container_name: admin-translatable-bundle-selenium |
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,17 @@ | ||
<VirtualHost *:80> | ||
DocumentRoot /var/www/application/features/fixtures/project/web | ||
ServerName localhost | ||
ErrorLog /dev/stdout | ||
</VirtualHost> | ||
<VirtualHost *:443> | ||
DocumentRoot /var/www/application/features/fixtures/project/web | ||
ServerName localhost | ||
ErrorLog /dev/stdout | ||
SSLEngine on | ||
SSLCertificateFile /etc/apache2/ssl/apache.crt | ||
SSLCertificateKeyFile /etc/apache2/ssl/apache.key | ||
</VirtualHost> | ||
<Directory /var/www/application/features/fixtures/project> | ||
Options FollowSymLinks | ||
AllowOverride All | ||
</Directory> |
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,5 @@ | ||
FROM fsiopen/docker-php-apache:7.1 | ||
|
||
USER root | ||
|
||
ADD apache-config.conf /etc/apache2/sites-available/application.conf |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
parameters: | ||
locale: en | ||
locale: en | ||
|
||
services: | ||
test.admin.manager: | ||
|
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,45 @@ | ||
DirectoryIndex app_test.php | ||
|
||
SetEnvIf Server_Addr ^10\.0\.0\.200 development=on | ||
SetEnvIf Server_Addr ^172\. development=on | ||
|
||
<IfModule mod_php7.c> | ||
php_value post_max_size 32M | ||
php_value upload_max_filesize 32M | ||
</IfModule> | ||
|
||
<IfModule mod_rewrite.c> | ||
RewriteEngine On | ||
|
||
# Determine the RewriteBase automatically and set it as environment variable. | ||
# If you are using Apache aliases to do mass virtual hosting or installed the | ||
# project in a subdirectory, the base path will be prepended to allow proper | ||
# resolution of the app.php file and to redirect to the correct URI. It will | ||
# work in environments without path prefix as well, providing a safe, one-size | ||
# fits all solution. But as you do not need it in this case, you can comment | ||
# the following 2 lines to eliminate the overhead. | ||
RewriteCond %{REQUEST_URI}::$1 ^(/.+)/(.*)::\2$ | ||
RewriteRule ^(.*) - [E=BASE:%1] | ||
|
||
# If the requested filename exists, simply serve it. | ||
# We only want to let Apache serve files and not directories. | ||
RewriteCond %{REQUEST_FILENAME} -f | ||
RewriteRule .? - [L] | ||
|
||
RewriteRule .? %{ENV:BASE}/app_test.php [L] | ||
</IfModule> | ||
|
||
<IfModule !mod_rewrite.c> | ||
<IfModule mod_alias.c> | ||
# When mod_rewrite is not available, we instruct a temporary redirect of | ||
# the start page to the front controller explicitly so that the website | ||
# and the generated links can still be used. | ||
RedirectMatch 302 ^/$ /app_test.php/ | ||
# RedirectTemp cannot be used instead | ||
</IfModule> | ||
</IfModule> | ||
|
||
<IfModule mod_headers.c> | ||
Header set Cache-control "no-cache" env=development | ||
Header unset expires env=development | ||
</IfModule> |
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use Symfony\Component\HttpFoundation\Request; | ||
use Symfony\Component\Debug\Debug; | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
vagrant/provisioning/roles/apache/templates/virtualhost.j2
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.