You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-8Lines changed: 13 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,24 +24,29 @@ which makes it easier to develop apps locally, deploy them to Azure, and monitor
24
24
25
25
### Local development
26
26
27
-
This project has devcontainer support, so you can open it in Github Codespaces or local VS Code with the Dev Containers extension. If you're unable to open the devcontainer,
28
-
then it's best to first [create a Python virtual environment](https://docs.python.org/3/tutorial/venv.html#creating-virtual-environments) and activate that.
27
+
This project has devcontainer support, so you can open it in Github Codespaces or local VS Code with the Dev Containers extension.
29
28
30
-
Install the requirements:
29
+
🎥 [Watch me run the app in Github Codespaces.](https://www.youtube.com/watch?v=r6Hnp9RXUpY)
30
+
31
+
Steps for running the server:
32
+
33
+
1. (Optional) If you're unable to open the devcontainer, [create a Python virtual environment](https://docs.python.org/3/tutorial/venv.html#creating-virtual-environments) and activate that.
34
+
35
+
2. Install the requirements:
31
36
32
37
```shell
33
38
pip install -r requirements.txt
34
39
```
35
40
36
-
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.
41
+
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.
37
42
38
-
Run the migrations:
43
+
4.Run the migrations:
39
44
40
45
```shell
41
46
flask db upgrade
42
47
```
43
48
44
-
Run the local server: (or use VS Code "Run" button and select "Run server")
49
+
5.Run the local server: (or use VS Code "Run" button and select "Run server")
45
50
46
51
```shell
47
52
flask run
@@ -51,7 +56,7 @@ flask run
51
56
52
57
This repo is set up for deployment on Azure App Service (w/PostGreSQL server) using the configuration files in the `infra` folder.
53
58
54
-
🎥 Watch me deploy and re-deploy the app in [this 5 minute video](https://www.youtube.com/watch?v=r6Hnp9RXUpY).
59
+
🎥 [Watch me deploy and re-deploy the app.](https://www.youtube.com/watch?v=r6Hnp9RXUpY)
55
60
56
61
Steps for deployment:
57
62
@@ -96,4 +101,4 @@ azd monitor --overview
96
101
97
102
## Getting help
98
103
99
-
If you're working with this project and running into issues, please post in [Discussions](/discussions).
104
+
If you're working with this project and running into issues, please post in [Discussions](/discussions).
0 commit comments