docs: move rclone install to Step 7 with other system dependencies
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
44
README.md
44
README.md
@@ -138,19 +138,34 @@ sudo systemctl start redis-server
|
|||||||
redis-cli ping # should print: PONG
|
redis-cli ping # should print: PONG
|
||||||
```
|
```
|
||||||
|
|
||||||
### Step 7 — Install Node.js dependencies
|
### Step 7 — Install rclone
|
||||||
|
|
||||||
|
Required for cloud backup destinations (Google Drive, Dropbox, etc.).
|
||||||
|
|
||||||
|
1. Open the file manager and navigate to the `scripts/` folder inside the project
|
||||||
|
2. Right-click `install-rclone.sh` → choose **Run as a program** or **Execute in Terminal**
|
||||||
|
3. A terminal window will open — enter your password when prompted
|
||||||
|
4. Wait for it to finish — it will print the installed version when done
|
||||||
|
|
||||||
|
To verify it installed correctly, open a terminal and run:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
rclone version
|
||||||
|
```
|
||||||
|
|
||||||
|
### Step 8 — Install Node.js dependencies
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm install
|
npm install
|
||||||
```
|
```
|
||||||
|
|
||||||
### Step 8 — Install Python dependencies
|
### Step 9 — Install Python dependencies
|
||||||
|
|
||||||
Python dependencies are installed automatically by `npm install` (Step 7) via each service's `postinstall` script. Each service creates its own `.venv` virtual environment — no manual pip commands needed.
|
Python dependencies are installed automatically by `npm install` (Step 8) via each service's `postinstall` script. Each service creates its own `.venv` virtual environment — no manual pip commands needed.
|
||||||
|
|
||||||
> This approach is required on Debian 13+ where system-wide pip installs are blocked (PEP 668).
|
> This approach is required on Debian 13+ where system-wide pip installs are blocked (PEP 668).
|
||||||
|
|
||||||
### Step 9 — Set up environment variables
|
### Step 10 — Set up environment variables
|
||||||
|
|
||||||
Copy the `.env.example` files and fill in the required values.
|
Copy the `.env.example` files and fill in the required values.
|
||||||
|
|
||||||
@@ -158,9 +173,9 @@ Copy the `.env.example` files and fill in the required values.
|
|||||||
npm run setup:env
|
npm run setup:env
|
||||||
```
|
```
|
||||||
|
|
||||||
### Step 9a — Set the Cloudflare subdomain for this office
|
### Step 10a — Set the Cloudflare subdomain for this office
|
||||||
|
|
||||||
After running `npm run setup:env`, open the two `.env` files and fill in this office's Cloudflare subdomain.
|
After running `npm run setup:env` (Step 10), open the two `.env` files and fill in this office's Cloudflare subdomain.
|
||||||
|
|
||||||
**`apps/Frontend/.env`**
|
**`apps/Frontend/.env`**
|
||||||
```env
|
```env
|
||||||
@@ -177,7 +192,7 @@ Replace `yoursubdomain` with this office's actual subdomain (e.g. `summitdentalc
|
|||||||
|
|
||||||
> If you skip this step, Cloudflare tunnel access will not work. LAN access still works without it.
|
> If you skip this step, Cloudflare tunnel access will not work. LAN access still works without it.
|
||||||
|
|
||||||
### Step 10 — Set up the database
|
### Step 11 — Set up the database
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Run migrations
|
# Run migrations
|
||||||
@@ -190,21 +205,6 @@ npm run db:generate
|
|||||||
npm run db:seed
|
npm run db:seed
|
||||||
```
|
```
|
||||||
|
|
||||||
### Step 11 — Install rclone
|
|
||||||
|
|
||||||
Required for cloud backup destinations (Google Drive, Dropbox, etc.).
|
|
||||||
|
|
||||||
1. Open the file manager and navigate to the `scripts/` folder inside the project
|
|
||||||
2. Right-click `install-rclone.sh` → choose **Run as a program** or **Execute in Terminal**
|
|
||||||
3. A terminal window will open — enter your password when prompted
|
|
||||||
4. Wait for it to finish — it will print the installed version when done
|
|
||||||
|
|
||||||
To verify it installed correctly, open a terminal and run:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
rclone version
|
|
||||||
```
|
|
||||||
|
|
||||||
### Step 12 — Configure nginx
|
### Step 12 — Configure nginx
|
||||||
|
|
||||||
The repo includes `nginx.conf` in the project root. Install it as the active site config:
|
The repo includes `nginx.conf` in the project root. Install it as the active site config:
|
||||||
|
|||||||
Reference in New Issue
Block a user