-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Melih Can Demir edited this page Dec 15, 2024
·
2 revisions
Welcome to the React Project Automator wiki! Here you'll find comprehensive documentation about using and contributing to the project.
# Installation Guide π₯
## Prerequisites
- Python 3.8 or higher
- Node.js and npm
- Git
- PyQt5
## Installation Steps
### Windows
1. Download the latest release from GitHub
2. Run the installer
3. Launch from Start Menu
### macOS
1. Using Homebrew:
```brew install react-project-automator```
### Linux
1. Using apt:
```bash
sudo apt-get update
sudo apt-get install react-project-automator
- Clone the repository
- Install dependencies
- Run the application
To verify installation:
- Open terminal
- Run
rpa --version
- Permission errors
- Missing dependencies
- Path issues
### Quick Start
```markdown
# Quick Start Guide π
## Creating Your First Project
1. Launch the Application
- Open React Project Automator
- Select "New Project"
2. Configure Project
- Enter project name
- Choose template
- Select features
3. Choose Location
- Select project directory
- Verify permissions
4. Create Project
- Click "Create Project"
- Wait for completion
## Basic Operations
### Managing Dependencies
1. Open Dependencies tab
2. Search packages
3. Click Add/Remove
### Using Git Integration
1. Initialize repository
2. Make first commit
3. Push to remote
## Next Steps
- Explore advanced features
- Check documentation
- Join community
# Architecture Overview ποΈ
## High-Level Architecture
### Core Components
1. UI Layer
- Main Window
- Dialogs
- Forms
2. Business Logic
- Project Manager
- Git Manager
- Dependency Manager
3. System Integration
- npm/npx
- Git
- Terminal
## Design Patterns
### MVC Pattern
- Models: Project configuration, settings
- Views: Qt UI components
- Controllers: Event handlers, managers
### Observer Pattern
- Terminal output
- Progress updates
- Status changes
## Data Flow
1. User Input
2. Validation
3. Processing
4. System Integration
5. Feedback
## Class Structure
```python
ModernReactAutomator
βββ ProjectManager
βββ GitIntegration
βββ DependencyManager
βββ TerminalOutput
# Common Issues and Solutions π§
## Installation Issues
### Error: PyQt5 not found
Solution:
```bash
pip install PyQt5
Solution:
- Install Node.js
- Add to system PATH
- Restart application
Solutions:
- Run as administrator
- Check directory permissions
- Verify user access
Solutions:
- Check running processes
- Kill conflicting process
- Change port
Solution:
- Verify Git installation
- Initialize repository
- Check permissions
Solutions:
- Check internet connection
- Clear npm cache
- Update dependencies
### Configuration Options
```markdown
# Configuration Options βοΈ
## Project Settings
### Basic Configuration
```json
{
"name": "my-react-app",
"template": "react",
"typescript": true,
"styling": "tailwind"
}
{
"port": 3000,
"packageManager": "npm",
"git": true,
"testing": true
}
{
"theme": "light",
"colors": {
"primary": "#2563eb",
"background": "#ffffff"
}
}
{
"theme": "dark",
"colors": {
"primary": "#3b82f6",
"background": "#1f2937"
}
}
{
"enableGit": true,
"enableTesting": true,
"enableCI": true
}
### Terminal Usage
```markdown
# Terminal Usage π»
## Basic Commands
### Project Creation
```bash
rpa create my-app --template react
rpa git init
rpa git commit -m "message"
rpa git push
rpa add package-name
rpa remove package-name
rpa run custom-script
rpa config export
- Use keyboard shortcuts
- Search terminal history
- Clear output regularly