mirror of
https://github.com/Zie619/n8n-workflows.git
synced 2025-11-25 11:29:34 +08:00
🚀 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:
21
README.md
21
README.md
@@ -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
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user