Thank you for considering contributing to PixelTales! This document outlines the basics of how to contribute.
-
Fork and clone the repository
-
Set up development environment:
cp .env.example .env.development # Edit .env.development with your settings -
Install dependencies:
# Backend cd backend && poetry install # Frontend cd frontend && npm install
-
Start development servers:
# Backend cd backend && poetry run uvicorn app.main:socket_app --reload --port 8000 # Frontend cd frontend && npm run dev
- TypeScript: Use strict types, avoid
any - Python: Follow PEP 8, use type hints
- Document complex functions
- Write tests for new features
- Create a feature branch
- Make your changes
- Write meaningful commit messages
- Push and create a pull request
Format: <type>: <description>
Types:
- 🎨
style: Code style/format changes - ✨
feat: New feature - 🐛
fix: Bug fix - 📝
docs: Documentation - ♻️
refactor: Code refactoring - 🧪
test: Testing
Example: feat: Add character mood animations
- Open an issue
- Read the documentation