Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

add self-hosting.sh to public site

Carl-Gerhard Lindesvärd88b983a7aefc
diff --git a/apps/public/public/self-hosting.sh b/apps/public/public/self-hosting.sh
new file mode 100644
index 000000000..2dbcc8725
--- /dev/null
+++ b/apps/public/public/self-hosting.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+# Clone the Openpanel repository
+git clone https://github.com/Openpanel-dev/openpanel.git
+
+# Navigate to the self-hosting directory
+cd openpanel/self-hosting
+
+# Run the setup script
+./setup
+
+# Navigate back to the original directory
+cd ../../
+
+# Clean up by removing the downloaded script
+rm -- "$0"