Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"scripts": {
"auto-scripts": {
"cache:clear": "symfony-cmd",
"assets:install --symlink --relative %PUBLIC_DIR%": "symfony-cmd",
"assets:install %PUBLIC_DIR%": "symfony-cmd",
"security-checker security:check": "script"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed that the Pull Request #24 has removed the command bin/console assets:install https://github.com/api-platform/demo/pull/24/files#diff-507acfb69e262d39c47cc1a687c1aab4L12 and symbolic links prevent assets loading.

The flex recipe remove now "--relative" and "--symlink" options by default See symfony/recipes#406

},
"post-install-cmd": [
Expand Down
2 changes: 1 addition & 1 deletion api/docker/php/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if [ "$1" = 'php-fpm' ] || [ "$1" = 'bin/console' ]; then
if [ "$APP_ENV" != 'prod' ]; then
composer install --prefer-dist --no-progress --no-suggest --no-interaction
>&2 echo "Waiting for Postgres to be ready..."
until pg_isready --timeout=0 --dbname="${DATABASE_URL}"; do
until bin/console doctrine:query:sql "SELECT 1" --quiet; do
sleep 1
done
bin/console doctrine:schema:update --force --no-interaction
Expand Down