mirror of
https://github.com/freedbygrace/SQL.git
synced 2026-07-26 11:28:16 +00:00
Add automatic dependency installer and package checks
DEPENDENCY MANAGEMENT: - Created scripts/install-dependencies.sh - automatic installer for all required packages - Detects OS (Ubuntu, Debian, CentOS, RHEL, Fedora, Arch, macOS) - Installs PostgreSQL client (psql) automatically - Installs Docker & Docker Compose if missing - Installs utility packages (curl, wget, git) SCRIPT ENHANCEMENTS: - Updated setup-database.sh with dependency checking - Updated generate_data.sh with dependency checking - Updated verify-setup.sh with dependency checking - All scripts now prompt to run installer if dependencies are missing - Interactive prompts guide users through installation DOCUMENTATION: - Updated README.md with dependency installation instructions - Updated QUICKSTART.md with Step 0: Install Dependencies - Added supported OS list - Added automatic dependency check notes USER EXPERIENCE: - No more manual package installation required - Scripts fail gracefully with helpful error messages - One-command installation: ./scripts/install-dependencies.sh - Automatic detection and installation on Linux/macOS - Clear instructions for Windows users This ensures users can get started immediately without hunting for package installation commands.
This commit is contained in:
@@ -2,6 +2,29 @@
|
||||
|
||||
## 🚀 Get Up and Running in 5 Minutes
|
||||
|
||||
### Step 0: Install Dependencies (Optional - 5 minutes)
|
||||
|
||||
**If you don't have Docker, PostgreSQL client (psql), or other required tools:**
|
||||
|
||||
```bash
|
||||
# Make script executable
|
||||
chmod +x scripts/install-dependencies.sh
|
||||
|
||||
# Run the installer
|
||||
./scripts/install-dependencies.sh
|
||||
```
|
||||
|
||||
**What this installs:**
|
||||
- PostgreSQL client (psql)
|
||||
- Docker & Docker Compose
|
||||
- Utility packages (curl, wget, git)
|
||||
|
||||
**Supported OS:** Ubuntu, Debian, CentOS, RHEL, Fedora, Arch Linux, macOS
|
||||
|
||||
**Note:** All other scripts will automatically check for dependencies and prompt you to install them if missing.
|
||||
|
||||
---
|
||||
|
||||
### Step 1: Start Docker Containers (1 minute)
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user