Development Setup
This guide helps you set up a complete local development environment for Areloria WASD.Prerequisites
Ensure you have the following installed:Installation
1. Clone the Repository
2. Install Dependencies
3. Build Shared Package
The@wasd/shared package is required for both server and client:
Project Structure
Running Development
Full Monorepo Build
Development Server (Recommended)
Separate Client & Server
Terminal 1 - Server:Environment Configuration
Create .env File
Key Variables
Development Auth
For development without authentication:Testing
Unit & Integration Tests
End-to-End Tests
CI Variant
Linting
Building
Build Commands
Build Verification
Common Tasks
Adding a New System
- Create system file in
server/src/core/systems/ - Register in
TickSystemRegistry - Add to
WorldTickScheduler - Write tests
- Update documentation
Adding New Content
Content JSON files go inserver/src/game-data/:
Asset Pipeline
Process Stitch-generated assets:Troubleshooting
”Failed to resolve import @wasd/shared”
Port Already in Use
Client Shows Blank Page
Next Steps
Architecture Overview
Understand the system design
Quickstart
Quick start guide
Deployment
Deploy to production
Components
Documentation components