freespace-freemind / INSTALLATION.md
SmartySmile's picture
Upload 45 files
0e0fe0a verified
|
Raw History Blame Contribute Delete
8.23 kB

Installation Instructions - appsONLINE Launcher

Created: February 1, 2026
Last Updated: February 1, 2026


📋 Overview

This document provides step-by-step instructions to install and run the appsONLINE launcher application.

Time Required: 5-10 minutes (depending on internet speed)


✅ Pre-Installation Checklist

Before starting, ensure you have:

System Requirements

  • Windows 10 or Windows 11
  • At least 500MB free disk space
  • Administrator access (recommended)
  • Internet connection

Required Software (Check if installed)

  • Node.js 14 or higher
  • npm 6 or higher
  • .NET SDK 8.0 or higher

How to check installed software:

# Check Node.js
node --version

# Check npm
npm --version

# Check .NET SDK
dotnet --version

🔧 Installation Steps

Step 1: Install Node.js (If Not Already Installed)

  1. Open your web browser and go to https://nodejs.org/
  2. Download the LTS (Long Term Support) version
  3. Run the installer executable
  4. Follow the installation wizard:
    • Click "Next" through all steps
    • Accept the license agreement
    • Keep default installation path
    • Click "Install"
  5. Restart your computer when prompted

Verify installation:

node --version    # Should show v18.x.x or higher
npm --version     # Should show 9.x.x or higher

Step 2: Install .NET SDK 8.0 (If Not Already Installed)

  1. Open your web browser and go to https://dotnet.microsoft.com/download
  2. Download .NET 8.0 SDK (not Runtime)
  3. Run the installer executable
  4. Follow the installation wizard:
    • Click "Next" through all steps
    • Accept the license agreement
    • Keep default settings
    • Click "Install"
  5. Restart your computer when prompted

Verify installation:

dotnet --version    # Should show 8.0.x or higher

Step 3: Install Node Package Dependencies

  1. Open PowerShell or Command Prompt

    • Windows 11/10: Press Win + X → Choose "Terminal" or "PowerShell"
    • Or search for "PowerShell" in the Start menu
  2. Navigate to the appsONLINE folder:

    cd "c:\Users\SAhan\OneDrive\appsONLINE"
    
  3. Install dependencies:

    npm install
    

    Expected output:

    added XXX packages in X.XXs
    
  4. Wait for installation to complete (may take 2-5 minutes)


Step 4: Verify Installation

Run the verification script:

Using PowerShell:

.\setup.ps1

Using Command Prompt:

setup.bat

This script will:

  • ✅ Check Node.js installation
  • ✅ Check npm installation
  • ✅ Check .NET SDK installation
  • ✅ Scan for MVC applications
  • ✅ Verify all files are in place

🚀 Starting the Launcher

You have three options to start the application:

Option 1: Using PowerShell (Recommended)

cd "c:\Users\SAhan\OneDrive\appsONLINE"
npm start

Option 2: Using Batch File

  1. Open File Explorer
  2. Navigate to c:\Users\SAhan\OneDrive\appsONLINE
  3. Double-click start.bat

Option 3: Using PowerShell Script

cd "c:\Users\SAhan\OneDrive\appsONLINE"
.\start.ps1

✨ Expected Behavior

When you start the launcher:

  1. Console Output: You'll see messages like:

    Express server running on port 3000
    
  2. Electron Window: A new application window opens showing:

    • appsONLINE header
    • List of discovered MVC applications
    • Control buttons for each app
  3. Discovery: The launcher automatically finds:

    • PortWatcher (if installed)
    • Any other ASP.NET Core MVC projects in subfolders

🎮 First Run - Test the Launcher

Testing PortWatcher (Example)

  1. Look for the PortWatcher application card
  2. Click the "▶ Launch" button
  3. Wait 2-3 seconds (status will show "● Running")
  4. Click "🌐 Open" to open the application
  5. The application should open in your default browser

Stopping the Application

  1. Click the "⏹ Stop" button on the app card
  2. Or click "⏹ Stop All Apps" to stop everything

🛠️ Troubleshooting Installation

Problem: "npm: command not found"

Solution:

  1. Node.js is not installed or not in your PATH
  2. Download from https://nodejs.org/
  3. Run the installer and complete setup
  4. Restart PowerShell/CMD and try again

Problem: "dotnet: command not found"

Solution:

  1. .NET SDK is not installed or not in your PATH
  2. Download from https://dotnet.microsoft.com/download
  3. Run the installer and complete setup
  4. Restart PowerShell/CMD and try again

Problem: "npm install" fails with errors

Solution:

  1. Try running PowerShell as Administrator:

    • Right-click PowerShell
    • Select "Run as administrator"
    • Try npm install again
  2. Or delete and reinstall:

    rm -r node_modules
    npm install
    

Problem: "No MVC applications found"

Solution:

  1. Verify that .csproj files exist in subfolders
  2. Verify that Properties/launchSettings.json exists
  3. Click "🔄 Refresh Apps" in the launcher
  4. If still not found, check TROUBLESHOOTING.md

📁 File Verification

After installation, you should have these files in c:\Users\SAhan\OneDrive\appsONLINE:

Core files:

  • ✅ main.js
  • ✅ preload.js
  • ✅ package.json
  • ✅ public/ (folder with index.html, app.js, style.css)

Documentation:

  • ✅ README.md
  • ✅ QUICKSTART.md
  • ✅ TROUBLESHOOTING.md
  • ✅ MANIFEST.md
  • ✅ INSTALLATION.md (this file)

Startup scripts:

  • ✅ start.bat
  • ✅ start.ps1
  • ✅ setup.bat
  • ✅ setup.ps1

After running npm install:

  • ✅ node_modules/ (folder with dependencies)
  • ✅ package-lock.json

🎯 What to Do Next

Quick Start

  1. Run npm start
  2. Click "▶ Launch" on an application
  3. Click "🌐 Open" to view it in browser

Learn More

  • Read README.md for complete documentation
  • Read QUICKSTART.md for fast reference
  • Check TROUBLESHOOTING.md for help

Add New Applications

  1. Create your ASP.NET Core MVC project in a subfolder
  2. Ensure it has Properties/launchSettings.json
  3. Click "🔄 Refresh Apps" in the launcher
  4. New app should appear automatically

📞 Support

If you encounter issues:

  1. Check TROUBLESHOOTING.md - Most common problems and solutions
  2. Run setup.ps1 - Verify all requirements are met
  3. Check console output - Errors are printed there
  4. Review README.md - Complete documentation

🔄 Uninstalling/Resetting

To clean up and start fresh:

cd "c:\Users\SAhan\OneDrive\appsONLINE"

# Remove all dependencies
rm -r node_modules
rm package-lock.json

# Reinstall everything
npm install

# Start fresh
npm start

To completely remove the launcher:

# Stop any running applications first
# Then simply delete the entire appsONLINE folder
# Or from PowerShell:
rm -r "c:\Users\SAhan\OneDrive\appsONLINE"

✅ Installation Complete!

You're now ready to use the appsONLINE launcher!

Next step: Run npm start and enjoy managing your MVC applications.


📝 Important Notes

  1. Keep Node.js updated: Periodically update Node.js from https://nodejs.org/
  2. Keep .NET SDK updated: Download new versions from https://dotnet.microsoft.com/
  3. npm dependencies: Occasionally run npm update to get security patches
  4. Backups: Backup your MVC applications separately

📚 Additional Resources


Created: February 1, 2026
Version: 1.0.0

Happy coding! 🎉