feat: add stop-app script and update desktop shortcut setup
Adds stop-app.sh to kill all services by port (5000-5003, 3000/3001) and updates setup-desktop-shortcut.sh to create both Start and Stop desktop shortcuts in a single run. README Step 13 updated accordingly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
13
README.md
13
README.md
@@ -186,9 +186,9 @@ cd apps/SeleniumService
|
||||
.venv/bin/python3 agent.py
|
||||
```
|
||||
|
||||
### Step 13 — Create desktop shortcut (optional)
|
||||
### Step 13 — Create desktop shortcuts (optional)
|
||||
|
||||
Instead of opening two terminals manually every time, you can create a desktop shortcut that starts both services with a single double-click.
|
||||
Instead of opening two terminals manually every time, you can create desktop shortcuts that start and stop all services with a single double-click.
|
||||
|
||||
Run this once after cloning and installing:
|
||||
|
||||
@@ -196,9 +196,12 @@ Run this once after cloning and installing:
|
||||
bash ~/Desktop/DentalManagementMH06/setup-desktop-shortcut.sh
|
||||
```
|
||||
|
||||
A **Dental App** shortcut will appear on your desktop. Double-clicking it opens:
|
||||
- A terminal running `npm run dev` (Backend + Frontend)
|
||||
- A terminal running the Selenium service
|
||||
Two shortcuts will appear on your desktop:
|
||||
|
||||
- **Dental App** — starts the app. Double-clicking it opens:
|
||||
- A terminal running `npm run dev` (Backend + Frontend + Python services)
|
||||
- A terminal running the Selenium service
|
||||
- **Stop Dental App** — stops all services and frees all ports (5000, 5001, 5002, 5003, 3000/3001)
|
||||
|
||||
> No username or path editing needed — the script automatically detects the current user's home folder.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user