System Requirements
Before you begin, ensure your development environment meets the following requirements:- Docker Engine installed and running
- Node.js version 20+ (LTS version)
- Python version 3.8+
- PostgreSQL version v14
- Redis version v6.2.7
- Memory: Minimum 12 GB RAM recommended
Quick Start
Plane is a monorepo containing both the backend API (Django) and frontend applications in a single repository.Run the setup script
The setup script will create all necessary This script will:
.env files and install dependencies:- Copy all
.env.examplefiles to.envfiles for each service - Generate a Django
SECRET_KEYfor the API - Enable pnpm and install Node.js dependencies
Start Docker containers
Launch the required services (PostgreSQL, Redis, etc.) using Docker Compose:
You can add
-d flag to run containers in detached mode: docker compose -f docker-compose-local.yml up -dStart development servers
In a separate terminal, start the web applications:This will start:
- Web app on
http://localhost:3000 - Admin app on
http://localhost:3001
Register as instance admin
- Open your browser to
http://localhost:3001/god-mode/ - Register yourself as an instance admin
Remember to refresh your browser if changes don’t auto-reload. Happy contributing! 🎉
Development Commands
Once your environment is set up, use these commands for development:Targeting Specific Packages
To run commands for a specific package or app:Start Storybook for UI components
Troubleshooting
Memory Issues
If you encounter memory crashes during setup:- Ensure you have at least 12 GB of RAM available
- Close other memory-intensive applications
- Consider using GitHub Codespaces or a cloud development environment
Port Conflicts
If ports 3000, 3001, or other required ports are already in use:- Stop any services running on those ports
- Or modify the port configuration in the respective app’s
package.json
Docker Issues
If Docker containers fail to start:- Ensure Docker Engine is running
- Check Docker logs:
docker compose -f docker-compose-local.yml logs - Try rebuilding containers:
docker compose -f docker-compose-local.yml up --build
Environment Variables
If you need to modify environment variables:- Review the
.envfiles in the root andapps/directories - Restart the relevant services after making changes
Next Steps
- Learn about the architecture of Plane
- Read the contributing guidelines
- Explore the API documentation
