🚀 Project optimization and cleanup

- Remove deprecated generate_documentation.py (2187 lines, 71MB HTML output)
- Remove unused comprehensive_workflow_renamer.py (396 lines)
- Replace import-workflows.sh with Python import_workflows.py (better error handling)
- Remove Chinese README to simplify project structure
- Enhance run.py with CLI arguments and better configuration
- Update requirements.txt with precise version constraints
- Overall: Removed ~2600+ lines of unused/deprecated code
- Improved: Error handling, logging, and development workflow
This commit is contained in:
enrico
2025-06-22 20:03:38 +02:00
parent 25cfefe303
commit a3a9abf0cb
4 changed files with 291 additions and 31 deletions

View File

@@ -81,17 +81,26 @@ python run.py
### Option 2: Development Mode
```bash
# Start with auto-reload for development
python api_server.py --reload
python run.py --dev
# Or specify custom host/port
python api_server.py --host 0.0.0.0 --port 3000
python run.py --host 0.0.0.0 --port 3000
# Force database reindexing
python run.py --reindex
```
### Import Workflows into n8n
1. Open your [n8n Editor UI](https://docs.n8n.io/hosting/editor-ui/)
2. Click **menu** (☰) → `Import workflow`
3. Choose any `.json` file from the `workflows/` folder
4. Update credentials/webhook URLs before running
```bash
# Use the Python importer (recommended)
python import_workflows.py
# Or manually import individual workflows:
# 1. Open your n8n Editor UI
# 2. Click menu (☰) → Import workflow
# 3. Choose any .json file from the workflows/ folder
# 4. Update credentials/webhook URLs before running
```
---