File size: 10,364 Bytes
0e0fe0a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
# ✅ GETTING STARTED CHECKLIST - appsONLINE Launcher

**Date:** February 1, 2026  
**Version:** 1.0.0

Use this checklist to ensure everything is properly set up and working.

---

## ✅ PHASE 1: Prerequisites Verification (5 minutes)

### System Requirements
- [ ] Windows 10 or Windows 11 operating system
- [ ] At least 500MB free disk space
- [ ] Administrator access (recommended)
- [ ] Internet connection for initial setup

### Required Software Installation

#### Node.js Installation
- [ ] Download Node.js from https://nodejs.org/
- [ ] Run the installer
- [ ] Accept license and default options
- [ ] **Restart your computer**
- [ ] Verify: Open PowerShell and run:
  ```powershell

  node --version

  npm --version

  ```
  Should show versions 14+ for Node.js and 6+ for npm

#### .NET SDK Installation
- [ ] Download .NET SDK 8.0 from https://dotnet.microsoft.com/download
- [ ] Run the installer
- [ ] Accept license and default options
- [ ] **Restart your computer**
- [ ] Verify: Open PowerShell and run:
  ```powershell

  dotnet --version

  ```
  Should show version 8.0 or higher

---

## ✅ PHASE 2: File Verification (2 minutes)

Navigate to: `c:\Users\SAhan\OneDrive\appsONLINE`

### Check Core Files Exist
- [ ] `main.js` - Electron application
- [ ] `preload.js` - IPC bridge
- [ ] `package.json` - Dependencies

### Check Public Folder Files
- [ ] `public/index.html` - UI layout
- [ ] `public/app.js` - Frontend logic
- [ ] `public/style.css` - Styling

### Check Documentation Files
- [ ] `START_HERE.md` - Quick overview
- [ ] `README.md` - Full documentation
- [ ] `QUICKSTART.md` - Fast reference
- [ ] `INSTALLATION.md` - Setup guide
- [ ] `TROUBLESHOOTING.md` - Help guide
- [ ] `ARCHITECTURE.md` - Technical details
- [ ] `MANIFEST.md` - Project summary

### Check Startup Scripts
- [ ] `start.bat` - Windows launcher
- [ ] `start.ps1` - PowerShell launcher
- [ ] `setup.bat` - Setup verification
- [ ] `setup.ps1` - Setup verification
- [ ] `setup.js` - Node.js verification

### Check Configuration
- [ ] `.gitignore` - Git rules
- [ ] `config.example.json` - Configuration template

---

## ✅ PHASE 3: Dependencies Installation (5 minutes)

### Install Node Packages

1. [ ] Open PowerShell in the appsONLINE folder
   ```powershell

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

   ```

2. [ ] Run npm install
   ```powershell

   npm install

   ```

3. [ ] Wait for completion (should show "added XXX packages")

4. [ ] Verify folder created
   - [ ] Check that `node_modules/` folder exists
   - [ ] Check that `package-lock.json` file exists

5. [ ] If errors occur:
   - [ ] Try running as Administrator
   - [ ] Delete node_modules and try again

   - [ ] Check internet connection



---



## ✅ PHASE 4: Verification (3 minutes)



### Run Setup Verification Script



**Option 1: PowerShell (Recommended)**

```powershell

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

.\setup.ps1

```



**Option 2: Batch File**

```cmd

setup.bat

```



### Verify All Checks Pass

- [ ] ✅ Node.js found

- [ ] ✅ npm found

- [ ] ✅ .NET SDK found

- [ ] ✅ Dependencies installed

- [ ] ✅ No error messages



### If Any Checks Fail

- [ ] Review the troubleshooting section below

- [ ] Check installed versions match requirements

- [ ] Reinstall missing software if needed



---



## ✅ PHASE 5: First Launch (2 minutes)



### Start the Launcher



**Option 1: Using PowerShell**

```powershell

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

npm start

```



**Option 2: Using Batch File**

- [ ] Open File Explorer

- [ ] Navigate to the appsONLINE folder

- [ ] Double-click `start.bat`



### Expected Behavior

- [ ] Terminal shows: "Express server running on port 3000"

- [ ] An Electron window opens

- [ ] Window shows "appsONLINE" header

- [ ] List of MVC applications appears

- [ ] At least "PortWatcher" should be listed



### If Window Doesn't Open

- [ ] Check console for error messages

- [ ] Verify all files are present

- [ ] Try restarting the launcher

- [ ] Check TROUBLESHOOTING.md



---



## ✅ PHASE 6: Testing Basic Functionality (5 minutes)



### Test App Discovery

- [ ] Look for "PortWatcher" application card

- [ ] Card shows application name

- [ ] Card shows application description

- [ ] Card shows localhost URL (http://localhost:5293)

- [ ] Status indicator shows "● Running" or "● Stopped"



### Test App Launch

- [ ] Click the **"▶ Launch"** button on PortWatcher

- [ ] Wait 2-3 seconds

- [ ] Status changes to "● Running"

- [ ] Button changes to "✓ Running"

- [ ] "⏹ Stop" button appears



### Test App Access

- [ ] Click the **"🌐 Open"** button

- [ ] PortWatcher opens in your default browser

- [ ] You can see the application interface

- [ ] Application responds to interactions



### Test App Stop

- [ ] Click the **"⏹ Stop"** button

- [ ] Status changes back to "● Stopped"

- [ ] "⏹ Stop" button disappears

- [ ] "▶ Launch" button reappears



### Test Refresh

- [ ] Click **"🔄 Refresh Apps"** button

- [ ] Apps list updates

- [ ] All previously discovered apps still appear



### Test Stop All

- [ ] If any apps are running, click **"⏹ Stop All Apps"**

- [ ] All apps should stop

- [ ] All statuses should show "● Stopped"



---



## ✅ PHASE 7: Application Configuration (Optional)



### Verify PortWatcher Configuration

- [ ] Check `productionYARD2/sysSec-portWatcher/PortWatcher/PortWatcher.csproj` exists

- [ ] Check `Properties/launchSettings.json` exists

- [ ] Verify JSON is valid (no syntax errors)

- [ ] Verify HTTP profile has `applicationUrl` defined



### Review Configuration Files

- [ ] Open `Properties/launchSettings.json`

- [ ] Note the port number (should be 5293)

- [ ] Check that ASPNETCORE_ENVIRONMENT is "Development"

---

## ✅ PHASE 8: Advanced Setup (Optional)

### Git Integration (Optional)
- [ ] Verify `.gitignore` file exists
- [ ] Check that `node_modules/` is ignored
- [ ] Check that `.env` and local files are ignored
- [ ] Initialize git if needed:
  ```powershell

  git init

  git add .

  git commit -m "Initial commit: appsONLINE launcher"

  ```

### Configuration Customization (Optional)
- [ ] Review `config.example.json` for options
- [ ] Create `config.json` if custom settings needed
- [ ] Modify port numbers if 3000 conflicts
- [ ] Adjust window size preferences

### Documentation Review (Optional)
- [ ] Read through `README.md` for full details
- [ ] Review `ARCHITECTURE.md` to understand design
- [ ] Check `TROUBLESHOOTING.md` for common issues
- [ ] Save links to documentation for reference

---

## ✅ PHASE 9: Team Setup (Optional)

### Sharing with Team Members
- [ ] Ensure .gitignore excludes node_modules

- [ ] Create a README for team setup

- [ ] Document the port numbers used

- [ ] List any custom configurations

- [ ] Create a setup guide for team



### Documentation for Team

- [ ] Share QUICKSTART.md with team

- [ ] Share TROUBLESHOOTING.md for common issues

- [ ] Explain how to add new applications

- [ ] Document any custom configurations



---



## ✅ PHASE 10: Daily Usage Workflow



### Regular Startup

1. [ ] Open PowerShell or command prompt

2. [ ] Navigate to appsONLINE folder

3. [ ] Run `npm start`

4. [ ] Launcher window opens

5. [ ] Click "▶ Launch" for desired app

6. [ ] Use the application

7. [ ] Click "⏹ Stop" when done



### Adding New Applications

1. [ ] Create new ASP.NET Core MVC project in subfolder

2. [ ] Ensure `Properties/launchSettings.json` exists

3. [ ] Include HTTP profile with `applicationUrl`

4. [ ] Click "🔄 Refresh Apps" in launcher

5. [ ] New app appears automatically



### Troubleshooting Issues

1. [ ] Check console output for error messages

2. [ ] Review TROUBLESHOOTING.md for solutions

3. [ ] Try stopping and restarting the app

4. [ ] If severe, run setup scripts to verify everything



---



## 🎯 Success Criteria



Your setup is **COMPLETE & WORKING** when:



- ✅ All prerequisites are installed (Node.js, npm, .NET 8.0)

- ✅ All 22 files exist in the appsONLINE folder

- ✅ `npm install` completes without errors

- ✅ `npm start` launches the Electron window

- ✅ PortWatcher app appears in the list

- ✅ PortWatcher can be launched with one click

- ✅ PortWatcher opens in browser from the launcher

- ✅ PortWatcher can be stopped from the launcher

- ✅ Refresh button updates the app list

- ✅ No console errors during normal operation



---



## 🆘 Quick Troubleshooting



| Issue | Quick Fix |

|-------|-----------|

| "npm: command not found" | Restart PowerShell after installing Node.js |

| "dotnet: command not found" | Restart PowerShell after installing .NET SDK |

| "npm install" fails | Run PowerShell as Administrator and try again |

| "Port 3000 in use" | Change port in main.js line with `const PORT` |

| "No apps found" | Check .csproj files exist in subfolders |

| "App won't start" | Verify .NET SDK is installed (`dotnet --version`) |

| Window won't open | Check `npm install` completed successfully |

| Can't access app | Ensure app is running (status shows "● Running") |



For more help, see **TROUBLESHOOTING.md**



---



## 📝 Notes



- **First install time:** 5-10 minutes total

- **Subsequent startups:** 2-3 seconds

- **No additional setup needed** once verified

- **Safe to interrupt:** You can restart setup anytime

- **All files preserved:** npm install won't delete anything



---



## 📞 Getting Help



1. **Installation issues:** See INSTALLATION.md

2. **Usage questions:** See README.md or QUICKSTART.md

3. **Problems:** See TROUBLESHOOTING.md

4. **Technical details:** See ARCHITECTURE.md

5. **General overview:** See START_HERE.md

---

## ✅ Final Checklist

- [ ] All phases completed
- [ ] All tests passing
- [ ] Documentation reviewed
- [ ] Team informed (if applicable)
- [ ] Backups created (if applicable)
- [ ] Ready for production use

---

**Congratulations! 🎉**

Your appsONLINE launcher is fully set up and ready to use!

**Start using immediately:**
```powershell

npm start

```

---

**Created:** February 1, 2026  
**Version:** 1.0.0  
**Status:** Complete and Verified