Corrige aussi la hauteur repliée (box-sizing: border-box) : le padding de .text s'ajoutait à la hauteur configurée. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
19 lines
636 B
Bash
Executable File
19 lines
636 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Start (or with --down, stop and wipe) the e2e FreshRSS 1.30.4 environment.
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")"
|
|
compose=(docker compose -f docker-compose.yml)
|
|
|
|
if [[ "${1:-}" == "--down" ]]; then
|
|
"${compose[@]}" down -v
|
|
exit 0
|
|
fi
|
|
|
|
"${compose[@]}" up -d --wait
|
|
run() { "${compose[@]}" exec -T --user www-data freshrss "$@"; }
|
|
ext=/var/www/FreshRSS/extensions/freshrss-read-more
|
|
run cli/import-for-user.php --user test --filename "$ext/tests/e2e/fixtures/subscriptions.opml" || true
|
|
run cli/actualize-user.php --user test
|
|
run php "$ext/tests/e2e/reset.php" 250
|
|
echo "FreshRSS e2e ready on http://localhost:8080"
|