|
| 1 | +# Quick Start Guide |
| 2 | + |
| 3 | +Get your Local Nexus Controller up and running in minutes! |
| 4 | + |
| 5 | +## Prerequisites |
| 6 | + |
| 7 | +- Windows 10 or later |
| 8 | +- Python 3.10 or later |
| 9 | +- PowerShell |
| 10 | + |
| 11 | +## Step 1: Install Dependencies |
| 12 | + |
| 13 | +```powershell |
| 14 | +pip install -r requirements.txt |
| 15 | +``` |
| 16 | + |
| 17 | +## Step 2: Configure Settings |
| 18 | + |
| 19 | +1. Copy `.env.example` to `.env`: |
| 20 | + ```powershell |
| 21 | + copy .env.example .env |
| 22 | + ``` |
| 23 | + |
| 24 | +2. Edit `.env` and set your paths: |
| 25 | + ```bash |
| 26 | + LOCAL_NEXUS_REPOSITORIES_FOLDER=C:\Users\nedpe\Desktop\Repositories |
| 27 | + LOCAL_NEXUS_FILE_WATCHER_FOLDER=C:\Users\nedpe\Desktop |
| 28 | + LOCAL_NEXUS_AUTO_DISCOVERY_ENABLED=true |
| 29 | + LOCAL_NEXUS_FILE_WATCHER_ENABLED=true |
| 30 | + LOCAL_NEXUS_AUTO_START_ALL_ON_BOOT=true |
| 31 | + ``` |
| 32 | + |
| 33 | +## Step 3: Start the Controller |
| 34 | + |
| 35 | +```powershell |
| 36 | +.\run.ps1 |
| 37 | +``` |
| 38 | + |
| 39 | +The dashboard will automatically open at http://localhost:5010 |
| 40 | + |
| 41 | +## Step 4: Add Programs |
| 42 | + |
| 43 | +### Option A: Auto-Discovery (Recommended) |
| 44 | +1. Place your program folders in `C:\Users\nedpe\Desktop\Repositories` |
| 45 | +2. Restart the controller |
| 46 | +3. Programs are automatically registered! |
| 47 | + |
| 48 | +### Option B: ZIP Import |
| 49 | +1. Drop a ZIP file containing your program onto your Desktop |
| 50 | +2. The file watcher automatically extracts and registers it |
| 51 | +3. Done! |
| 52 | + |
| 53 | +### Option C: Manual Import |
| 54 | +1. Go to http://localhost:5010/import |
| 55 | +2. Paste an import bundle JSON |
| 56 | +3. Click "Import" |
| 57 | + |
| 58 | +## Step 5: Launch Programs |
| 59 | + |
| 60 | +1. Go to the Services page |
| 61 | +2. Click the blue "Launch" button next to any service |
| 62 | +3. Use Start/Stop/Restart buttons to control services |
| 63 | + |
| 64 | +## Step 6: Enable Auto-Start (Optional) |
| 65 | + |
| 66 | +To start the controller and all services automatically on Windows startup: |
| 67 | + |
| 68 | +```powershell |
| 69 | +.\tools\setup_windows_startup.ps1 |
| 70 | +``` |
| 71 | + |
| 72 | +## What's Next? |
| 73 | + |
| 74 | +- Read [RECOMMENDATIONS.md](RECOMMENDATIONS.md) for best practices |
| 75 | +- Check the API documentation at http://localhost:5010/docs |
| 76 | +- Explore the dashboard features |
| 77 | +- Import your existing projects |
| 78 | + |
| 79 | +## Common Tasks |
| 80 | + |
| 81 | +### View All Services |
| 82 | +``` |
| 83 | +http://localhost:5010/services |
| 84 | +``` |
| 85 | + |
| 86 | +### View Ports |
| 87 | +``` |
| 88 | +http://localhost:5010/ports |
| 89 | +``` |
| 90 | + |
| 91 | +### View Databases |
| 92 | +``` |
| 93 | +http://localhost:5010/databases |
| 94 | +``` |
| 95 | + |
| 96 | +### View API Keys |
| 97 | +``` |
| 98 | +http://localhost:5010/keys |
| 99 | +``` |
| 100 | + |
| 101 | +### API Documentation |
| 102 | +``` |
| 103 | +http://localhost:5010/docs |
| 104 | +``` |
| 105 | + |
| 106 | +## Troubleshooting |
| 107 | + |
| 108 | +**Controller won't start?** |
| 109 | +- Check Python is installed: `python --version` |
| 110 | +- Check port 5010 is available |
| 111 | +- Review error messages in terminal |
| 112 | + |
| 113 | +**Auto-discovery not working?** |
| 114 | +- Verify repository folder path in `.env` |
| 115 | +- Check folder contains valid projects |
| 116 | +- Enable auto-discovery: `LOCAL_NEXUS_AUTO_DISCOVERY_ENABLED=true` |
| 117 | + |
| 118 | +**Service won't start?** |
| 119 | +- Check the service detail page for errors |
| 120 | +- Verify start_command is correct |
| 121 | +- Check port is available |
| 122 | + |
| 123 | +## Help & Support |
| 124 | + |
| 125 | +- Full documentation: [README.md](README.md) |
| 126 | +- Recommendations: [RECOMMENDATIONS.md](RECOMMENDATIONS.md) |
| 127 | +- API docs: http://localhost:5010/docs |
| 128 | + |
| 129 | +Enjoy your organized development environment! |
0 commit comments