summaryrefslogtreecommitdiff
path: root/README.md
blob: 49c1d289eb511ffae2c306674872c67efc4d1fe9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Match Up

## Scope

This is a simple application build using flask, htmx and Bulma to generate matches for badminton.

## Startup Automation

Create a powershell script with the following content in the folder with the code.

```ps1
$env:DATABASE = "<data-base-file-name>.csv"
$env:APP_SETTINGS = "config.ProductionConfig"
.venv\Scripts\activate
pythonw -m flask run -p <port-number>
```

Create a task using Task Scheduler to run this script on start up.