ThatAIguyA world of ideas

THE CONSCIOUSNESS ATLAS
Read. Experiment. Follow the evidence.

ConsciousnessLearn · Explore · Joseph Anady

Janady13/oversize-route-builder / setup.sh

Source identity, revision, and recovered contents.

GitHub sourceSource text recovered

Source identity

FieldRecorded value
Source typeGitHub source
Original recordJanady13/oversize-route-builder / setup.sh
DateNot specified in source
RepositoryJanady13/oversize-route-builder
Revision8630196cd162b68cf069cdabcc5487b49dcc625d
Branchmain
Path or archive membersetup.sh
Original SHA-256e1d6eef7f6f320d50fc37e6386a9b9902ad833435b633bf41ad3ec514da699a1
Git blob SHA3eded4182470ece8cf280d96c373f4759d1cd426
Reading-copy SHA-256e1d6eef7f6f320d50fc37e6386a9b9902ad833435b633bf41ad3ec514da699a1

Original source ↗

Recovered source transcript

#!/bin/bash # Oversize Route Builder - Quick Setup Script echo "🚚 Oversize Route Builder - Setup" echo "==================================" echo "" # Check Node.js if ! command -v node &> /dev/null; then echo "❌ Node.js is not installed. Please install Node.js 18+ first." exit 1 fi echo "✓ Node.js $(node --version) detected" # Check PostgreSQL if ! command -v psql &> /dev/null; then echo "❌ PostgreSQL is not installed. Please install PostgreSQL 14+ first." exit 1 fi echo "✓ PostgreSQL detected" echo "" # Create database read -p "Create database 'oversize_routes'? (y/n) " -n 1 -r echo if [[ $REPLY =~ ^[Yy]$ ]]; then createdb oversize_routes echo "✓ Database created" # Run schema psql oversize_routes < database/schema.sql echo "✓ Schema applied" fi # Install backend dependencies echo "" echo "📦 Installing backend dependencies..." npm install # Setup environment if [ ! -f .env ]; then cp .env.example .env echo "✓ Created .env file" echo "" echo "⚠️ IMPORTANT: Edit .env with your configuration:" echo " - Database credentials" echo " - JWT secret" echo " - Stripe API keys" echo " - Email credentials" echo "" read -p "Press enter when you've configured .env..." fi # Install frontend dependencies echo "" echo "📦 Installing frontend dependencies..." cd client npm install # Setup frontend environment if [ ! -f .env.local ]; then cat > .env.local << EOF REACT_APP_API_URL=http://localhost:5000 REACT_APP_STRIPE_PUBLISHABLE_KEY=pk_test_your_stripe_publishable_key EOF echo "✓ Created client/.env.local" echo "" echo "⚠️ Update client/.env.local with your Stripe publishable key" fi cd .. echo "" echo "✅ Setup complete!" echo "" echo "To start the application:" echo " npm run dev # Starts both backend and frontend" echo "" echo "Or run separately:" echo " npm run server # Backend on http://localhost:5000" echo " cd client && npm start # Frontend on http://localhost:3000" echo "" echo "📚 See README.md for detailed documentation"

Search equations, builds, manuscript text, and recovered sources.