Revise Windows deployment steps in deployment.md

Updated Windows deployment instructions and added a note about creating a run.bat file.
This commit is contained in:
Kristian Benestad 2026-05-31 10:19:14 +07:00 committed by GitHub
parent 1f8fe21eaf
commit 72b71ba29a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -69,7 +69,7 @@ chmod +x run.sh
./run.sh ./run.sh
``` ```
**Windows** — open **Command Prompt** or **PowerShell** in the project folder: **Windows** — open `run.bat`; atlernatively, open **Command Prompt** or **PowerShell** in the project folder:
```cmd ```cmd
python -m venv .venv python -m venv .venv
@ -77,8 +77,6 @@ python -m venv .venv
.venv\Scripts\python main.py .venv\Scripts\python main.py
``` ```
> On Windows you can also create a `run.bat` file with those three lines so double-clicking it starts the server in future.
The first time it runs, the server prints the default admin credentials to the terminal: The first time it runs, the server prints the default admin credentials to the terminal:
``` ```
@ -245,6 +243,7 @@ Adjust the paths below to match your actual username and ClubLedger folder:
</dict> </dict>
</plist> </plist>
``` ```
Make sure that `/Users/youruser/ClubLedger/` points to the project directory.
Load it: Load it:
@ -271,6 +270,7 @@ Logs are written to `clubledger.log` in the project folder.
cd /d "C:\Users\YourName\ClubLedger" cd /d "C:\Users\YourName\ClubLedger"
.venv\Scripts\python main.py .venv\Scripts\python main.py
``` ```
Make sure that `C:\Users\YourName\ClubLedger"` points to the project directory.
2. Open **Task Scheduler** (search for it in the Start menu). 2. Open **Task Scheduler** (search for it in the Start menu).
3. Click **Create Basic Task…** 3. Click **Create Basic Task…**