-
Notifications
You must be signed in to change notification settings - Fork 0
SETUP WINDOWS
AutoBotSolutions edited this page Apr 29, 2026
·
1 revision
Setup instructions for NEXUS Support System on Windows systems.
- Windows 10 or later
- Administrator privileges
- Internet connection
- Download Node.js from nodejs.org
- Download the LTS version (recommended)
- Run the installer
- Follow the installation wizard
- Restart your computer
Verify installation:
node --version
npm --version- Download MongoDB from mongodb.com
- Select Windows version
- Download the MSI installer
- Run the installer
- Choose "Complete" installation
- Install MongoDB Compass (optional)
- Complete the installation
# Install Chocolatey (if not installed)
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
# Install MongoDB
choco install mongodb# Start MongoDB service
net start MongoDB
# Or run manually
"C:\Program Files\MongoDB\Server\6.0\bin\mongod.exe" --dbpath C:\data\dbCreate data directory:
mkdir C:\data\db"C:\Program Files\MongoDB\Server\6.0\bin\mongo.exe"
> show dbs- Download Git from git-scm.com
- Run the installer
- Accept default settings
- Complete installation
Verify:
git --versiongit clone <repository-url>
cd nexus- Download repository as ZIP
- Extract to folder
- Navigate to folder:
cd nexusnpm installCopy .env.example .envOpen .env in Notepad or your preferred editor:
PORT=3000
NODE_ENV=development
MONGODB_URI=mongodb://localhost:27017/nexus-support
JWT_SECRET=your-secure-secret-here-join ((48..57) + (65..90) + (97..122) | Get-Random -Count 64 | % {[char]$_})npm startOr for development with auto-restart:
npm run devOpen your browser: http://localhost:3000
You may need to allow Node.js through Windows Firewall:
- Open Windows Defender Firewall
- Allow Node.js through firewall
- Allow port 3000
If you encounter "command not found" errors:
- Add Node.js to PATH:
- Search "Environment Variables"
- Edit system PATH
- Add Node.js installation path (e.g.,
C:\Program Files\nodejs)
Install MongoDB as Windows service for automatic startup:
# Create config file
"C:\Program Files\MongoDB\Server\6.0\bin\mongod.exe" --config "C:\Program Files\MongoDB\Server\6.0\mongod.cfg" --install
# Start service
net start MongoDBBoth work, but PowerShell is recommended for modern Windows.
Solution:
# Check service status
sc query MongoDB
# Start service
net start MongoDB
# If fails, check logs in C:\data\db\mongod.logSolution:
# Find process using port 3000
netstat -ano | findstr :3000
# Kill process (replace <PID> with actual PID)
taskkill /PID <PID> /FSolution:
# Clear npm cache
npm cache clean --force
# Delete node_modules
Remove-Item -Recurse -Force node_modules
# Install again
npm installSolution:
- Run PowerShell as Administrator
- Check folder permissions
- Ensure write access to project directory
For better experience, use Windows Terminal:
- Install from Microsoft Store
- Supports multiple tabs (PowerShell, CMD, WSL)
- Better copy-paste support
After successful setup:
- Configure GitHub Integration
- Review API Documentation
- Deploy to production with Deployment Guide
For Windows-specific issues:
- Check Windows Event Viewer for service errors
- Verify MongoDB service status
- Check firewall settings
- Review MongoDB logs in
C:\data\db\mongod.log
For general issues, see Troubleshooting Guide.