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
{{ message }}
Repository navigation
Commit bf2967c
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: v3/docs/developer-overview.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,15 +9,14 @@ Look at the Git history to see when this document was last updated; the more tim
9
9
elapsed since that date, the more likely things are out-of-date.
10
10
11
11
I'm assuming that you're competent in Python, JavaScript, command-line-fu, and Google-fu,
12
-
and general [command-line BS](http://www.pgbovine.net/command-line-bullshittery.htm),
13
-
so I won't do much hand-holding in these directions.
12
+
and [command-line BS](http://www.pgbovine.net/command-line-bullshittery.htm).
14
13
15
-
This guide isn't meant to be comprehensive; rather, it's just a starting point for learning about the code
14
+
This guide isn't meant to be comprehensive; rather, it's a starting point for learning about the code
16
15
and development workflow. You will undoubtedly still be confused about details after reading it, so
17
16
feel free to email philip@pgbovine.net if you have questions.
18
17
19
18
20
-
## Getting Started: Running OPT locally on your machine using Bottle:
19
+
## Running Python Tutor locally on your machine using Bottle:
21
20
22
21
First install the [bottle](http://bottlepy.org/) micro web framework:
23
22
@@ -28,8 +27,9 @@ And then run:
28
27
29
28
cd OnlinePythonTutor/v3/
30
29
python bottle_server.py
30
+
# python3 bottle_server.py # if you want to run for Python 3
31
31
32
-
(Use `python3` if you want to test the Python 3 backend. Note that when you run bottle, you will **always trigger the backend for the version of Python used to invoke it**, so the Python 2/3 toggle selector on the frontend is meaningless. You will also not be able to test other language backends locally.)
32
+
Use `python3` if you want to test the Python 3 backend. Note that when you run with bottle, you will **always trigger the backend for the version of Python used to invoke it**, so the Python 2/3 language toggle selector on the frontend is meaningless. You will also not be able to test other language backends locally.
33
33
34
34
35
35
If all goes well, when you visit this URL, you should see the Python Tutor visualizer:
0 commit comments