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
@@ -50,11 +50,37 @@ Use and abuse the source code as you desire for your own applications.
50
50
51
51
52
52
## Installing Dependencies
53
+
Change into the directory where you keep your Python virtualenvs.
54
+
Create a new virtual environment for this project using the following
55
+
command.
56
+
57
+
```bash
58
+
python3 -m venv monitorflask
59
+
```
60
+
61
+
Activate the virtualenv.
62
+
63
+
```bash
64
+
source monitorflask/bin/activate
65
+
```
66
+
67
+
The command prompt will change after activating the virtualenv:
68
+
69
+
<imgsrc="/img/170723-monitor-flask-apps/activate-virtualenv.png"width="100%"class="technical-diagram img-rounded"style="border:1pxsolid#ccc"alt="Activating our Python virtual environment on the command line.">
70
+
71
+
Remember that you need to activate the virtualenv in every new terminal
72
+
window where you want to use the virtualenv to run the project.
73
+
74
+
Flask and Rollbar can now be installed into the now-activated virtualenv.
53
75
54
76
```
55
77
pip install flask==0.12.2 rollbar==0.13.12
56
78
```
57
79
80
+
Our required dependencies should be installed within our virtualenv
81
+
after a short installation period. Look for output like the following to
0 commit comments