@@ -41,11 +41,11 @@ needed, the student can get small hints to gradually guide them to the solution:
4141 </tr >
4242 <tr >
4343<td>
44-
44+
4545![ predict_output] ( images/predict_output.png )
4646 </td >
4747 <td >
48-
48+
4949![ hints] ( images/hints.png )
5050 </td >
5151 </tr >
6161 </tr >
6262 <tr >
6363<td>
64-
64+
6565![ solution] ( images/solution.png )
6666</td >
6767<td >
@@ -98,33 +98,33 @@ Common mistakes can be caught and pointed out to the student. This includes spec
9898 </tr >
9999 <tr >
100100<td>
101-
101+
102102Several debuggers are provided, including[ snoop] ( https://github.com/alexmojaki/snoop ) ...
103103 </td >
104104 <td >
105-
105+
106106[ ...birdseye...] ( https://github.com/alexmojaki/birdseye )
107107 </td >
108108 </tr >
109109<tr>
110110<td>
111-
111+
112112![ snoop] ( images/snoop.png )
113113 </td >
114114 <td >
115-
115+
116116![ birdseye] ( images/birdseye.png )
117117 </td >
118118 </tr >
119119 <tr >
120120<td colspan="2">
121-
121+
122122...and[ Python Tutor] ( http://pythontutor.com/ )
123123 </td >
124124 </tr >
125125 <tr >
126126<td colspan="2">
127-
127+
128128![ pythontutor] ( images/pythontutor.png )
129129 </td >
130130 </tr >
@@ -140,15 +140,22 @@ Several debuggers are provided, including [snoop](https://github.com/alexmojaki/
1401404 . Skip the following two steps, everything should be running now.
1411413 . In the` backend ` folder:
1421421 . Ensure the` python ` command points to Python 3.8.
143- 2 . Run` ./setup.sh ` . This will:
143+ 2 . If you are on Linux or Mac, run` ./setup.sh ` .
144+ If you are on Windows:
145+ 1. Open a Powershell window with "Run as Administrator."
146+ 2. Run` Set-ExecutionPolicy -ExecutionPolicy Bypass ` to enable running scripts in Powershell.
147+ 3. Run` .\setup.ps1 ` .
148+ This will:
144149 1. Install` poetry ` if needed.
145150 2. Create a virtualenv and install Python dependencies.
146151 3. Create a sqlite database, run migrations, and create a user.
1471523 . Activate the virtualenv with` poetry shell ` .
148- 4 . Run the backend development server with` ./ manage.py runserver` .
153+ 4 . Run the backend development server with` python manage.py runserver` .
1491544 . In the` frontend ` folder:
150- 1 . Ensure you have recent versions of` node ` and` npm ` .
151- 2 . Run` npm install ` to download dependencies.
155+ 1 . Ensure you have version 12 of` node ` and version 6 of` npm ` .
156+ If you are on Windows:
157+ 1. Run` npm install --global windows-build-tools ` .
158+ 2 . Run` npm ci ` to download dependencies.
1521593 . Run` npm start ` to start the frontend development server.
1531605 . Go tohttp://localhost:3000/accounts/login/ and login with the email "admin@example.com " and the password "admin".
1541616 . You should be redirected tohttp://localhost:3000/toc/ and see the Table of Contents.