Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
AchillesKal committed Mar 26, 2024
1 parent 0be94bf commit a5cbe44
Show file tree
Hide file tree
Showing 36 changed files with 1,285 additions and 68 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@
###< symfony/asset-mapper ###

/assets/styles/app.tailwind.css
/public/uploads/
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,22 @@ RUN set -eux; \
ENV COMPOSER_ALLOW_SUPERUSER=1

###> recipes ###
###> symfony/panther ###
# Chromium and ChromeDriver
ENV PANTHER_NO_SANDBOX 1
# Not mandatory, but recommended
ENV PANTHER_CHROME_ARGUMENTS='--disable-dev-shm-usage'
RUN apt-get update && \
apt-get install -y --no-install-recommends chromium-driver chromium && \
rm -rf /var/lib/apt/lists/*

# Firefox and geckodriver
#ARG GECKODRIVER_VERSION=0.29.0
#RUN apk add --no-cache firefox
#RUN wget -q https://github.com/mozilla/geckodriver/releases/download/v$GECKODRIVER_VERSION/geckodriver-v$GECKODRIVER_VERSION-linux64.tar.gz; \
# tar -zxf geckodriver-v$GECKODRIVER_VERSION-linux64.tar.gz -C /usr/bin; \
# rm geckodriver-v$GECKODRIVER_VERSION-linux64.tar.gz
###< symfony/panther ###
###> doctrine/doctrine-bundle ###
RUN install-php-extensions pdo_pgsql
###< doctrine/doctrine-bundle ###
Expand Down
Empty file.
Empty file removed [
Empty file.
2 changes: 1 addition & 1 deletion compose.override.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ services:
###> doctrine/doctrine-bundle ###
database:
ports:
- "5432"
- "5432:5432"
###< doctrine/doctrine-bundle ###
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"symfony/mime": "7.0.*",
"symfony/monolog-bundle": "^3.0",
"symfony/runtime": "7.0.*",
"symfony/security-bundle": "7.0.*",
"symfony/security-csrf": "7.0.*",
"symfony/stimulus-bundle": "^2.16",
"symfony/twig-bundle": "7.0.*",
Expand Down Expand Up @@ -78,7 +79,8 @@
],
"post-update-cmd": [
"@auto-scripts"
]
],
"test": "php bin/phpunit"
},
"conflict": {
"symfony/symfony": "*"
Expand All @@ -91,14 +93,17 @@
}
},
"require-dev": {
"dbrekelmans/bdi": "^1.3",
"doctrine/doctrine-fixtures-bundle": "^3.5",
"phpunit/phpunit": "^9.5",
"symfony/browser-kit": "7.0.*",
"symfony/css-selector": "7.0.*",
"symfony/debug-bundle": "7.0.*",
"symfony/panther": "^2.1",
"symfony/phpunit-bridge": "^7.0",
"symfony/stopwatch": "7.0.*",
"symfony/web-profiler-bundle": "7.0.*",
"zenstruck/browser": "^1.8",
"zenstruck/foundry": "^1.36"
}
}
Loading

0 comments on commit a5cbe44

Please sign in to comment.