Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9f023cf

Browse files
committed
updated README to include Windows instructions
1 parent21cf2d3 commit9f023cf

File tree

1 file changed

+20
-13
lines changed

1 file changed

+20
-13
lines changed

‎README.md‎

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -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>
@@ -61,7 +61,7 @@ order:
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+
102102
Several 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/
140140
4. Skip the following two steps, everything should be running now.
141141
3. In the`backend` folder:
142142
1. 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.
147152
3. 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`pythonmanage.py runserver`.
149154
4. 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.
152159
3. Run`npm start` to start the frontend development server.
153160
5. Go tohttp://localhost:3000/accounts/login/ and login with the email "admin@example.com" and the password "admin".
154161
6. You should be redirected tohttp://localhost:3000/toc/ and see the Table of Contents.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp