|
Some checks are pending
Build / build (push) Waiting to run
Deploy / deploy (push) Waiting to run
Lint & Type Check / lint (push) Waiting to run
Security Scan / dependency-check (push) Waiting to run
Security Scan / semgrep (push) Waiting to run
Test / test (18.x) (push) Waiting to run
Test / test (20.x) (push) Waiting to run
Auth & SSO - Wire Authentik (auth.aethex.tech) as OIDC PKCE SSO provider - Server-side only flow with HMAC-signed stateless state token - Account linking via authentik_sub in user metadata - AeThex ID connection card in Dashboard connections tab - Unlink endpoint POST /api/auth/authentik/unlink - Fix node:https helper to bypass undici DNS bug on Node 18 - Fix resolv.conf to use 1.1.1.1/8.8.8.8 in container Schema & types - Regenerate database.types.ts from live Supabase schema (23k lines) - Fix 511 TypeScript errors caused by stale 582-line types file - Fix UserProfile import in aethex-database-adapter.ts - Add notifications migration (title, message, read columns) Server fixes - Remove badge_color from achievements seed/upsert (column doesn't exist) - Rename name→title, add slug field in achievements seed - Remove email from all user_profiles select queries (column doesn't exist) - Fix email-based achievement target lookup via auth.admin.listUsers - Add GET /api/projects/:projectId endpoint - Fix import.meta.dirname → fileURLToPath for Node 18 compatibility - Expose VITE_APP_VERSION from package.json at build time Navigation systems - DevPlatformNav: reorganize into Learn/Build grouped dropdowns with descriptions - Migrate all 11 dev-platform pages from main Layout to DevPlatformLayout - Remove dead isDevMode context nav swap from main Layout - EthosLayout: purple-accented tab bar (Library, Artists, Licensing, Settings) with member-only gating and guest CTA — migrate 4 Ethos pages - GameForgeLayout: orange-branded sidebar with Studio section and lock icons for unauthenticated users — migrate GameForge + GameForgeDashboard - SysBar: live latency ping, status dot (green/yellow/red), real version Layout dropdown - Role-gate Admin (owner/admin/founder only) and Internal Docs (+ staff) - Add Internal section label with separator - Fix settings link from /dashboard?tab=profile#settings to /dashboard?tab=settings Project pages - Add ProjectDetail page at /projects/:projectId - Fix ProfilePassport "View mission" link from /projects/new to /projects/:id Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .builder/rules | ||
| .github/workflows | ||
| aethex-forge | ||
| api | ||
| attached_assets | ||
| build | ||
| client | ||
| docs | ||
| docs-migration | ||
| electron | ||
| public | ||
| server | ||
| services | ||
| shared | ||
| supabase | ||
| tests | ||
| .builderrules | ||
| .dockerignore | ||
| .env.discord.example | ||
| .env.example | ||
| .env.foundation-oauth.example | ||
| .gitignore | ||
| .htaccess | ||
| .npmrc | ||
| .prettierrc | ||
| .replit | ||
| .vercelignore | ||
| AGENTS.md | ||
| apply_missing_migrations.sql | ||
| apply_missing_migrations_safe.sql | ||
| apply_missing_migrations_SAFE.sql | ||
| build-api.js | ||
| build-for-hostinger.sh | ||
| check-migrations.js | ||
| check_all_tables_user_id.sql | ||
| check_user_badges.sql | ||
| check_whats_missing.sh | ||
| components.json | ||
| copy-api.js | ||
| DEPLOYMENT_CHECKLIST.md | ||
| DESIGN_SYSTEM.md | ||
| DEVELOPER_PLATFORM_ARCHITECTURE.md | ||
| DISCORD_SETUP.md | ||
| docker-compose.yml | ||
| Dockerfile | ||
| electron-builder.yml | ||
| find_missing_user_id.sh | ||
| foundation_tables_only.sql | ||
| hostinger-deploy.md | ||
| index.html | ||
| LAUNCH_READY.md | ||
| LICENSE | ||
| netlify.toml | ||
| OAUTH_SETUP.md | ||
| package-lock.json | ||
| package.json | ||
| PHASE1_IMPLEMENTATION_SUMMARY.md | ||
| PHASE4_IMPLEMENTATION_SUMMARY.md | ||
| PHASE8_QA_CHECKLIST.md | ||
| postcss.config.js | ||
| PROJECT_COMPLETE.md | ||
| PROTECTED_DISCORD_ACTIVITY.md | ||
| railway.json | ||
| README.md | ||
| replit.md | ||
| SPACING_SYSTEM.md | ||
| supabase-migration.sql | ||
| SUPABASE_SETUP.md | ||
| tailwind.config.ts | ||
| TESTING_REPORT.md | ||
| tsconfig.json | ||
| vercel.json | ||
| vite.config.server.ts | ||
| vite.config.ts | ||
| vite.desktop.config.ts | ||
AeThex Forge - Local Development Setup
Quick Start Guide
This guide will help you set up and run the AeThex platform locally on your machine.
Prerequisites
-
Node.js (v18 or higher)
- Download from: https://nodejs.org/
- This will also install npm (Node Package Manager)
-
Git (optional, if you want to clone updates)
- Download from: https://git-scm.com/
Installation Steps
1. Install Node.js
- Visit https://nodejs.org/ and download the LTS version
- Run the installer and follow the setup wizard
- Restart your terminal/PowerShell after installation
2. Verify Installation
Open PowerShell or Command Prompt and run:
node --version
npm --version
You should see version numbers (e.g., v20.x.x and 10.x.x)
3. Install Project Dependencies
Navigate to the project folder and install dependencies:
cd C:\Users\PCOEM\Downloads\aethex-forge\aethex-forge
npm install
This may take a few minutes as it downloads all required packages.
4. Set Up Environment Variables
Create a .env file in the root directory (aethex-forge folder) with the following variables:
Minimum Required (to run the app):
# Supabase Configuration (Required)
VITE_SUPABASE_URL=your_supabase_url_here
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key_here
SUPABASE_SERVICE_ROLE=your_service_role_key_here
SUPABASE_URL=your_supabase_url_here
# API Base URL
VITE_API_BASE=http://localhost:5000
Optional (for full functionality):
# Discord Integration
DISCORD_CLIENT_ID=your_discord_client_id
DISCORD_CLIENT_SECRET=your_discord_client_secret
DISCORD_BOT_TOKEN=your_discord_bot_token
DISCORD_PUBLIC_KEY=your_discord_public_key
DISCORD_REDIRECT_URI=http://localhost:5000/api/discord/oauth/callback
# Foundation OAuth
VITE_FOUNDATION_URL=https://aethex.foundation
FOUNDATION_OAUTH_CLIENT_ID=your_foundation_client_id
FOUNDATION_OAUTH_CLIENT_SECRET=your_foundation_client_secret
# Email Service (SMTP)
SMTP_HOST=your_smtp_host
SMTP_PORT=587
SMTP_USER=your_smtp_user
SMTP_PASSWORD=your_smtp_password
# Other Services
VITE_GHOST_API_URL=your_ghost_api_url
GHOST_ADMIN_API_KEY=your_ghost_admin_key
Note: You can start with just the Supabase variables to get the app running. Other features will work once you add their respective credentials.
5. Run the Development Server
npm run dev
The application will start on http://localhost:5000
Open your browser and navigate to that URL to view the application.
Available Commands
npm run dev- Start development server (port 5000)npm run build- Build for productionnpm start- Start production servernpm run typecheck- Check TypeScript typesnpm test- Run tests
Project Structure
aethex-forge/
├── client/ # React frontend (pages, components)
├── server/ # Express backend API
├── api/ # API route handlers
├── shared/ # Shared types between client/server
├── discord-bot/ # Discord bot integration
└── supabase/ # Database migrations
Getting Supabase Credentials
If you don't have Supabase credentials yet:
- Go to https://supabase.com/
- Create a free account
- Create a new project
- Go to Project Settings → API
- Copy:
- Project URL →
VITE_SUPABASE_URLandSUPABASE_URL anonpublickey →VITE_SUPABASE_ANON_KEYservice_rolesecretkey →SUPABASE_SERVICE_ROLE
- Project URL →
Troubleshooting
Port Already in Use
If port 5000 is already in use, you can change it in vite.config.ts:
server: {
port: 5001, // Change to any available port
}
Module Not Found Errors
Try deleting node_modules and package-lock.json, then run npm install again:
Remove-Item -Recurse -Force node_modules
Remove-Item package-lock.json
npm install
Environment Variables Not Loading
- Make sure
.envfile is in the rootaethex-forgedirectory - Restart the dev server after adding new environment variables
- Variables starting with
VITE_are exposed to the client
Need Help?
- Check the
docs/folder for detailed documentation - Review
AGENTS.mdfor architecture details - See
replit.mdfor deployment information