Installing Online Python Tutor on your laptop – localhost:8080
by Security Dude
I spent some time reviewing his documentation on github.
After the talk, Philip sat down with me and walked me through on how to setup Online Python Tutor (OPT) on my Ubuntu laptop. Here are the screenshots and steps I took to get the project running on localhost:8080.
Step 1 – Download and Install Google App Engine Python SDK
Step 2 – Download and Install Online Python Tutor from github
antigen@ubuntu:~$ git clone https://github.com/pgbovine/OnlinePythonTutor.git Cloning into OnlinePythonTutor... remote: Counting objects: 3935, done. remote: Compressing objects: 100% (1039/1039), done. remote: Total 3935 (delta 2890), reused 3899 (delta 2861) Receiving objects: 100% (3935/3935), 1.46 MiB | 700 KiB/s, done. Resolving deltas: 100% (2890/2890), done.
Step 2 – Start Google App Engine web service
Step 3 – using your browser http://localhost:8080
Step 4 – Testing Back End with generate_json_trace.py
Step 5 – file://OnlinePythonTutor/v3/embedding-demo.html
Step 6 – Python Brain Teaser – Visualized with localhost:8080 OPT