Skip to content

Instantly share code, notes, and snippets.

View heychazza's full-sized avatar
📊
analyse.net

Charlie Joseph heychazza

📊
analyse.net
View GitHub Profile
@heychazza
heychazza / singlestore.sh
Last active May 20, 2024 10:41
Configures a VPS with everything needed to run a Laravel app.
#!/bin/bash
# Prompt user for app domain
read -p "Enter the app domain (default: staging.analyse.net): " APP_DOMAIN
APP_DOMAIN="${APP_DOMAIN:-staging.analyse.net}"
# Prompt user for Git repository
read -p "Enter the Git repository (default: track/analytics.tebex.io): " GIT_REPO
GIT_REPO="${GIT_REPO:-track/analytics.tebex.io}"