Skip to content

Commit 3a91ee1

Browse files
authored
Merge pull request #31 from aaa2000/fix-demo-installation
Fix demo installation
2 parents eef84fe + 2afe538 commit 3a91ee1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"scripts": {
5757
"auto-scripts": {
5858
"cache:clear": "symfony-cmd",
59-
"assets:install --symlink --relative %PUBLIC_DIR%": "symfony-cmd",
59+
"assets:install %PUBLIC_DIR%": "symfony-cmd",
6060
"security-checker security:check": "script"
6161
},
6262
"post-install-cmd": [

api/docker/php/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if [ "$1" = 'php-fpm' ] || [ "$1" = 'bin/console' ]; then
1414
if [ "$APP_ENV" != 'prod' ]; then
1515
composer install --prefer-dist --no-progress --no-suggest --no-interaction
1616
>&2 echo "Waiting for Postgres to be ready..."
17-
until pg_isready --timeout=0 --dbname="${DATABASE_URL}"; do
17+
until bin/console doctrine:query:sql "SELECT 1" --quiet; do
1818
sleep 1
1919
done
2020
bin/console doctrine:schema:update --force --no-interaction

0 commit comments

Comments
 (0)