docs: add Quick Install (VS Code, Claude Code extension, install-all.sh); add install-all.sh fresh-machine setup script

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-02 23:41:01 -04:00
co-authored by Claude Opus 5.5
parent d357edd4a6
commit d67aa75c42
2 changed files with 146 additions and 1 deletions
+39 -1
View File
@@ -36,9 +36,47 @@ sudo systemctl stop sshd && sudo systemctl disable sshd
---
## ⚡ Quick Install (Fresh Machine)
Do these three things in order. The script in step C runs Steps 2–14 and 16 of the Setup Guide below for you.
### A — Install VS Code (manually)
1. In a browser, go to https://code.visualstudio.com/download and download the **.deb** (Debian/Ubuntu) file
2. Install it from a terminal:
```sh
sudo apt install -y ~/Downloads/code_*.deb
# Verify
code --version
```
### B — Add the Claude Code extension in VS Code
1. Open VS Code
2. Open the Extensions panel (`Ctrl+Shift+X`)
3. Search for **Claude Code** (published by Anthropic) and click **Install**
4. Click the Claude icon in the sidebar and sign in
### C — Run the install script
Clone the repository to `~/Desktop/DentalManagement09` if it isn't there yet (needs git: `sudo apt install -y git`), then run:
```sh
cd ~/Desktop/DentalManagement09
bash install-all.sh
```
Enter your password when it asks. The script installs Node.js, Python, Chrome, PostgreSQL, Redis, rclone and nginx; installs the Node and Python dependencies; creates any missing `.env` files (existing ones are kept); sets up the database; and creates the desktop shortcuts. It is safe to re-run.
Still done by hand afterwards: the Security Setup above, Step 1 (auto-login / keyring), Step 12a (Cloudflare subdomain), the LAN HTTPS certificate (the script only enables the nginx site once that certificate exists), and the optional Steps 17–18.
---
## 🖥️ Setup Guide (Fresh Machine)
Follow these steps in order after cloning the repository.
Follow these steps in order after cloning the repository. (Steps 2–14 and 16 are automated by `install-all.sh` — see Quick Install above.)
### Step 1 — Enable auto-login (LXQt / SDDM)