Prerequisites Check
Before starting, ensure you have completed the Prerequisites setup:- Node.js 18.0.0+
- pnpm 10.5.2+
- PostgreSQL database
Installation Steps
Clone the Repository
Clone the SkyTeam ROBLOX repository to your local machine:
Replace
yourusername with the actual repository owner.Install Dependencies
Install all project dependencies using pnpm:This command will:
- Install dependencies for all workspaces
- Set up internal package links
- Build necessary packages
Configure Environment Variables
Set up your environment configuration:Edit the
.env file with your configuration. See the Configuration Guide for detailed explanations of each variable.Minimum required variables:Initialize the Database
Push the database schema to your PostgreSQL instance:This command uses Drizzle Kit to synchronize your database schema. See the Database Setup guide for more details.
Verify Installation
Start the development servers to verify everything is working:This will start all applications:
- Web: http://localhost:3000
- Admin: http://localhost:3001
- API: http://localhost:4000
- Discord Bot: Connects to Discord
If all services start without errors, your installation is complete!
Monorepo Structure
SkyTeam ROBLOX is organized as a monorepo with the following structure:Available Scripts
The rootpackage.json provides several useful scripts:
Workspace Filtering
You can run commands for specific packages using pnpm’s--filter flag:
Troubleshooting
Installation fails with 'EACCES' error
Installation fails with 'EACCES' error
This usually indicates permission issues. Try:
'Cannot find module' errors
'Cannot find module' errors
Workspace links may not be properly established:
Database connection errors
Database connection errors
Verify your database configuration:
Port already in use
Port already in use
If default ports are occupied, you can change them in each app’s configuration:
- Web:
apps/web/.env.local→PORT=3000 - Admin:
apps/admin/.env.local→PORT=3001 - API:
apps/api/.env→PORT=4000
Next Steps
Configuration
Configure environment variables for all services
Database Setup
Learn about database schema and migrations
Docker Deployment
Deploy using Docker containers
Development
Start developing SkyTeam features