GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — DevStackBox/scripts/setup-dev.sh at main · DevStackBox/DevStackBox

Expand file tree

/

setup-dev.sh

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
61 lines (52 loc) · 1.6 KB
/

setup-dev.sh

Copy path

File metadata and controls

61 lines (52 loc) · 1.6 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/bin/bash
# DevStackBox Development Startup Script
# This script helps set up the development environment
echo "🚀 Starting DevStackBox Development Environment..."
# Check for Node.js
if ! command -v node &> /dev/null; then
echo "❌ Node.js is not installed. Please install Node.js 18+ first."
exit 1
fi
# Check for Rust/Cargo
if ! command -v cargo &> /dev/null; then
echo "❌ Rust/Cargo is not installed. Please install Rust first."
exit 1
fi
# Check for pnpm (preferred) or npm
if command -v pnpm &> /dev/null; then
PACKAGE_MANAGER="pnpm"
elif command -v npm &> /dev/null; then
PACKAGE_MANAGER="npm"
else
echo "❌ No package manager found. Please install npm or pnpm."
exit 1
fi
echo "📦 Using package manager: $PACKAGE_MANAGER"
# Install frontend dependencies
echo "📦 Installing frontend dependencies..."
$PACKAGE_MANAGER install
# Install Tauri CLI if not present
if ! command -v cargo-tauri &> /dev/null; then
echo "🦀 Installing Tauri CLI..."
cargo install tauri-cli
fi
# Create necessary directories
echo "📁 Creating directory structure..."
mkdir -p mysql/{bin,data}
mkdir -p php/8.2/{bin,ext}
mkdir -p apache/{bin,conf}
mkdir -p phpmyadmin
mkdir -p apps
mkdir -p config-backups
mkdir -p logs
mkdir -p www
mkdir -p tmp
echo "✅ Development environment setup complete!"
echo ""
echo "🎯 Next steps:"
echo "1. Download MySQL binaries to mysql/bin/"
echo "2. Download PHP 8.2 binaries to php/8.2/bin/"
echo "3. Download phpMyAdmin to phpmyadmin/"
echo "4. Run: $PACKAGE_MANAGER run tauri:dev"
echo ""
echo "📚 Need help? Check the README.md or GitHub Issues"
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.