📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
Add start.sh script
Blue Mouse3d1cf6ed02f6
diff --git a/web/start.sh b/web/start.shnew file mode 100755index 000000000..dcc3c080f--- /dev/null+++ b/web/start.sh@@ -0,0 +1,14 @@+#!/bin/bash+# This script is used to start the production server on managed servers like Hetzner++# Check if .env file exists+if [ -f .env ]; then+ # Read .env file and format variables for inline usage+ ENV_VARS=$(cat .env | grep -v '^#' | xargs)++ # Run npm start with variables inline+ $ENV_VARS npm run start+else+ echo "Error: .env file not found"+ exit 1+fi