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
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,21 +45,21 @@ Enable the following in the API Library:
45
45
46
46
1. Install [Python 3.7+](https://www.python.org/downloads/) and ensure that `pip` is available:
47
47
48
-
```shell
48
+
```posix-terminal
49
49
python -m ensurepip --upgrade
50
50
```
51
51
52
52
1. Clone this repository and `cd` into the root project directory:
53
53
54
-
```shell
54
+
```posix-terminal
55
55
git clone https://github.com/<org>/<repo>/
56
56
cd<repo>
57
57
```
58
58
59
59
1. *(Optional, but recommended!)* Set up and activate a new Python virtual environment in
60
60
the <repo> directory:
61
61
62
-
```shell
62
+
```posix-terminal
63
63
python3 -m venv .classroom-addon-env
64
64
source .classroom-addon-env/bin/activate
65
65
```
@@ -68,13 +68,13 @@ the <repo> directory:
68
68
69
69
1. `cd` into an example directory:
70
70
71
-
```shell
71
+
```posix-terminal
72
72
cd flask/01-basic-app
73
73
```
74
74
75
75
1. Install the required libraries using `pip`:
76
76
77
-
```shell
77
+
```posix-terminal
78
78
pip install -r requirements.txt
79
79
```
80
80
@@ -90,6 +90,12 @@ example, to run the web app on `localhost`:
90
90
app.run(debug=True)
91
91
```
92
92
93
+
1. Launch the server by running the `main.py` file:
94
+
95
+
```posix-terminal
96
+
python main.py
97
+
```
98
+
93
99
1. To load your app, either open the app in your browser or click the **Add-ons** button when creating an Assignment in [Google Classroom](https://classroom.google.com).
0 commit comments