README: document today's shipped work (story reactions/comments, per-pet insights dashboard, DESIGN.md/PRODUCT.md design system, admin panel visual pass) in "What's Shipped" and the admin panel section. docker/rolling-deploy.sh and start.sh were tracked as 100644 (no executable bit) since this repo is worked from Windows, which never records it — every fresh git pull onto the Linux NAS made them non-executable again. Fixed via git update-index --chmod=+x so this doesn't recur.
21 lines
691 B
Bash
Executable File
21 lines
691 B
Bash
Executable File
#!/bin/sh
|
|
# Start PawFeed.
|
|
# Docker Compose automatically reads docker/.env from the same directory
|
|
# as this script for both build-args and container runtime vars.
|
|
set -e
|
|
cd "$(dirname "$0")"
|
|
|
|
if [ ! -f .env ]; then
|
|
echo "ERROR: docker/.env not found."
|
|
echo "Copy .env.example to docker/.env and fill in your values."
|
|
exit 1
|
|
fi
|
|
|
|
# Sentry/GlitchTip sourcemap upload needs a release name at build time.
|
|
# .git is excluded from the Docker build context, so it's resolved here
|
|
# on the host (where .git exists) and passed through as a build arg.
|
|
export SENTRY_RELEASE="$(git -C .. rev-parse --short HEAD)"
|
|
|
|
docker compose up -d --build
|
|
echo "PawFeed is starting on http://localhost:4563"
|