Download and install Node.js from https://nodejs.org/ (v14 or higher)
# Option A: Clone from Git
git clone <repository-url>
cd flight-planner
# Option B: Download ZIP
# Extract the ZIP file
# Open terminal/command prompt in the extracted foldernpm installnpm startNavigate to: http://localhost:3000
-
Download Node.js
- Visit https://nodejs.org/
- Download the Windows installer (LTS version)
- Run the installer and follow the wizard
- Keep all default settings
-
Verify Installation
- Open Command Prompt (Win + R, type "cmd")
- Type:
node --version - Type:
npm --version - Both should show version numbers
-
Install Flight Planner Pro
- Extract the downloaded ZIP to a folder
- Open Command Prompt in that folder
- Run:
npm install - Run:
npm start
-
Access the Application
- Open your browser
- Go to: http://localhost:3000
-
Install Node.js
# Option A: Download from https://nodejs.org/ # Option B: Using Homebrew brew install node
-
Verify Installation
node --version npm --version
-
Install Flight Planner Pro
cd path/to/flight-planner npm install npm start -
Access the Application
- Open Safari, Chrome, or Firefox
- Navigate to: http://localhost:3000
-
Install Node.js
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash - sudo apt-get install -y nodejs -
Verify Installation
node --version npm --version
-
Install Flight Planner Pro
cd path/to/flight-planner npm install npm start -
Access the Application
- Open your browser
- Navigate to: http://localhost:3000
If port 3000 is already in use:
- Edit
server.js - Change
const PORT = 3000;to another port (e.g., 3001) - Restart the server
# Delete node_modules and reinstall
rm -rf node_modules
npm install# Fix npm permissions
sudo chown -R $USER:$GROUP ~/.npm
sudo chown -R $USER:$GROUP ~/.config- Allow Node.js through Windows Firewall
- Or temporarily disable firewall for testing
Edit server.js and change:
const PORT = 3000; // Change to your desired portOr set environment variable:
# Windows
set PORT=8080 && npm start
# macOS/Linux
PORT=8080 npm startTo access from other devices on your network:
-
Find your local IP address:
- Windows:
ipconfig - macOS/Linux:
ifconfigorip addr
- Windows:
-
In server.js, modify the listen function:
app.listen(PORT, '0.0.0.0', () => { console.log(`Server running on http://0.0.0.0:${PORT}`); });
-
Access from other devices using:
http://YOUR-IP:3000
For production use, consider:
-
Use a process manager (PM2)
npm install -g pm2 pm2 start server.js --name flight-planner pm2 startup pm2 save
-
Use a reverse proxy (Nginx)
server { listen 80; server_name your-domain.com; location / { proxy_pass http://localhost:3000; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; } }
-
Enable HTTPS with Let's Encrypt
sudo certbot --nginx -d your-domain.com
If you encounter issues:
- Check this installation guide
- Review the main README.md
- Check the console for error messages
- Open an issue on GitHub with details
-
Minimum:
- 2GB RAM
- 500MB disk space
- Any modern browser (Chrome, Firefox, Safari, Edge)
-
Recommended:
- 4GB+ RAM
- 1GB disk space
- Chrome or Firefox (latest version)
- Stable internet connection (for weather data)