Skip to content

Commit b0746f8

Browse files
committed
3.10 upgrade
1 parent 985f8b2 commit b0746f8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.devcontainer/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ services:
77
dockerfile: .devcontainer/Dockerfile
88
args:
99
# [Choice] Python version: 3, 3.8, 3.7, 3.6
10-
VARIANT: 3.9
10+
VARIANT: "3.10"
1111
# On Linux, you may need to update USER_UID and USER_GID below if not your local UID is not 1000.
1212
USER_UID: 1000
1313
USER_GID: 1000

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,21 @@ Steps for running the server:
3434
2. Install the requirements:
3535

3636
```shell
37-
pip install -r requirements.txt
37+
python3 -m pip install -r requirements.txt
3838
```
3939

4040
3. Create an `.env` file using `.env.sample` as a guide. Set the value of `DBNAME` to the name of an existing database in your local PostgreSQL instance. Set the values of `DBHOST`, `DBUSER`, and `DBPASS` as appropriate for your local PostgreSQL instance. If you're in the devcontainer, copy the values from `.env.sample.devcontainer`.
4141

4242
4. Run the migrations:
4343

4444
```shell
45-
flask db upgrade
45+
python3 -m flask db upgrade
4646
```
4747

4848
5. Run the local server: (or use VS Code "Run" button and select "Run server")
4949
5050
```shell
51-
flask run
51+
python3 -m flask run
5252
```
5353
5454
### Deployment

infra/resources.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ resource web 'Microsoft.Web/sites@2022-03-01' = {
9292
serverFarmId: appServicePlan.id
9393
siteConfig: {
9494
alwaysOn: true
95-
linuxFxVersion: 'PYTHON|3.9'
95+
linuxFxVersion: 'PYTHON|3.10'
9696
ftpsState: 'Disabled'
9797
appCommandLine: 'startup.sh'
9898
}

0 commit comments

Comments
 (0)