Choose your preferred development environment:
Time to start: 2-3 minutes
- Click the badge above or go to the repository → "Code" → "Codespaces" → "Create codespace on main"
- Wait for automatic setup (installs dependencies, generates secrets)
- Update
DATABASE_URLin.env.local - Run
docker-compose -f docker-compose.dev.yml up -d(starts PostgreSQL & Redis) - Run
npm run dev - Open http://localhost:5000
Full guide: CODESPACES_SETUP.md
Time to start: 5-10 minutes
Prerequisites:
- Node.js 18+ (22 recommended)
- Docker (optional, for database)
- Git
Steps:
# 1. Clone repository
git clone https://github.com/ihep-platform/ihep.app.git
cd ihep.app
# 2. Run automated setup
bash scripts/dev-setup.sh
# 3. Start database (if using Docker)
docker-compose -f docker-compose.dev.yml up -d
# 4. Update .env.local with database URL
# DATABASE_URL="postgresql://ihep:ihep_dev_password@localhost:5432/ihep_db"
# 5. Initialize database
npm run db:push
# 6. Start development server
npm run devTime to start: 10-15 minutes
# Clone repository
git clone https://github.com/ihep-platform/ihep.app.git
cd ihep.app
# Set environment variables (see .env.example)
cp .env.example .env
# Start all services
docker-compose up -d
# Check service status
docker-compose psThe main application will be at http://localhost:3000
- CODESPACES_SETUP.md - GitHub Codespaces quick start
- README.md - Project overview and commands
- QUICK_START.md - Detailed local setup
- TODO.md - Current tasks and status
- PRODUCTION_CHECKLIST.md - Pre-launch checklist (120+ items)
- DEPLOYMENT.md - GCP Cloud Run deployment
- SECURITY.md - Security guidelines
- PROJECT_SUMMARY.md - Comprehensive project overview
- SESSION_HANDOFF.md - Recent changes and known issues
- docs/ - Technical specifications and design documents
# Development
npm run dev # Start dev server (webpack mode)
npm run dev:turbo # Start dev server (Turbopack mode)
# Building & Testing
npm run build # Production build
npm run start # Start production server
npm run check # TypeScript type checking
npm run lint # Run ESLint
npm test # Run all tests
npm run test:watch # Run tests in watch mode
# Database
npm run db:push # Push schema to database
npm run db:studio # Open Drizzle Studio UI
npm run db:generate # Generate migrations
npm run db:migrate # Run migrations
# Docker (Development Database)
docker-compose -f docker-compose.dev.yml up -d # Start database
docker-compose -f docker-compose.dev.yml down # Stop database
docker-compose -f docker-compose.dev.yml logs # View logsRequired:
NEXTAUTH_URL- Your app URL (e.g., http://localhost:5000)NEXTAUTH_SECRET- Session encryption secret (auto-generated)DATABASE_URL- PostgreSQL connection string
Generate secrets:
bash scripts/generate-secrets.shUsing Docker:
DATABASE_URL="postgresql://ihep:ihep_dev_password@localhost:5432/ihep_db"See .env.example for all available variables
# Change port in .env.local
PORT=3000rm -rf node_modules .next
npm install# Check if PostgreSQL is running
docker-compose -f docker-compose.dev.yml ps
# View logs
docker-compose -f docker-compose.dev.yml logs postgres
# Restart
docker-compose -f docker-compose.dev.yml restartThe project uses webpack by default (not Turbopack) to avoid Three.js bundling issues. If you encounter errors:
npm run dev # Uses webpack by default- ✅ Complete setup (above)
- Read PROJECT_SUMMARY.md to understand the architecture
- Check TODO.md for current tasks
- Browse the codebase in
src/
- ✅ Complete setup (above)
- Review PRODUCTION_CHECKLIST.md - Start here!
- Configure all required environment variables
- Set up production database
- Complete security audit
- Run deployment to staging
- Complete pre-launch testing
- Deploy to production
- Issues: GitHub Issues
- Email: jason@ihep.app
- Documentation: See files in repository root
Version: 2.0.0
Last Updated: February 17, 2026