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:
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:
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):
Optional (for full functionality):
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
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
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_URLanonpublickey →VITE_SUPABASE_ANON_KEYservice_rolesecretkey →SUPABASE_SERVICE_ROLE
Troubleshooting
Port Already in Use
If port 5000 is already in use, you can change it in vite.config.ts:
Module Not Found Errors
Try deleting node_modules and package-lock.json, then run npm install again:
Environment Variables Not Loading
Make sure
.envfile is in the rootaethex-forgedirectoryRestart 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 documentationReview
AGENTS.mdfor architecture detailsSee
replit.mdfor deployment information
Last updated
