mirror of
https://github.com/kbenestad/ClubLedger.git
synced 2026-06-18 09:44:33 +00:00
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:
parent
1f8fe21eaf
commit
72b71ba29a
1 changed files with 3 additions and 3 deletions
|
|
@ -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…**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue