Skip to content

Commit db83e94

Browse files
committed
various doc tweaks
1 parent 78c4069 commit db83e94

2 files changed

Lines changed: 10 additions & 17 deletions

File tree

docs/installation.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -60,31 +60,28 @@ xcode-select --install
6060

6161
## Installing PhiloLogic
6262

63-
Clone or download the repository, then run the install script:
63+
Download the [latest release](https://github.com/ARTFL-Project/PhiloLogic5/releases/latest) from GitHub, extract it, and run the install script:
6464

6565
```bash
66-
git clone https://github.com/ARTFL-Project/PhiloLogic5.git
67-
cd PhiloLogic5
66+
cd PhiloLogic5-*/ # or PhiloLogic5/ if you cloned via git
6867
sudo ./install.sh
6968
```
7069

7170
### Installer Options
7271

7372
| Flag | Description |
7473
|------|-------------|
75-
| `-p VERSION` | Python version to use (default: `3.12`) |
7674
| `-t` | Install transformer support (includes spacy-transformers with CUDA) |
7775

78-
Examples:
76+
Example:
7977

8078
```bash
81-
# Use Python 3.13
82-
sudo ./install.sh -p 3.13
83-
8479
# Install with transformer support
8580
sudo ./install.sh -t
8681
```
8782

83+
The Python version is controlled by the `PYTHON_VERSION` variable at the top of `install.sh`.
84+
8885
### What the Installer Does
8986

9087
The installer:
@@ -271,11 +268,10 @@ The installer preserves any customizations to `gunicorn.conf.py` across reinstal
271268

272269
## Upgrading
273270

274-
To upgrade an existing installation, pull the latest code and rerun the installer:
271+
To upgrade an existing installation, download the [latest release](https://github.com/ARTFL-Project/PhiloLogic5/releases/latest) and rerun the installer:
275272

276273
```bash
277-
cd PhiloLogic5
278-
git pull
274+
cd PhiloLogic5-*/
279275
sudo ./install.sh
280276
```
281277

install.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
#!/bin/bash
22

3-
# Default Python version
3+
# Python version — change here to update across all installs
44
PYTHON_VERSION="3.12"
55
INSTALL_TRANSFORMERS=false
66
NODE_MAJOR_VERSION="22"
77

88
# Parse command line arguments
9-
while getopts "p:t" opt; do
9+
while getopts "t" opt; do
1010
case $opt in
11-
p) PYTHON_VERSION="$OPTARG"
12-
;;
1311
t) INSTALL_TRANSFORMERS=true
1412
;;
15-
*) echo "Usage: $0 [-p python_version] [-t]"
16-
echo " -p: Python version (default: 3.12)"
13+
*) echo "Usage: $0 [-t]"
1714
echo " -t: Install transformers support (includes CUDA)"
1815
exit 1
1916
;;

0 commit comments

Comments
 (0)