|
11 | 11 | # General Setup
|
12 | 12 | It's recommended that you use a virtual environment to run each group of scripts. Each folder has its own requirements.txt file. the process for setting up your environment look like
|
13 | 13 |
|
14 |
| - - *Move to the topic folder* |
| 14 | + - Move to the topic folder |
15 | 15 | - `cd <topic_folder>`
|
16 |
| - - *Create a virtual environment* |
| 16 | + - Create a virtual environment |
17 | 17 | - On Mac: `python3 -m venv .venv`
|
18 | 18 | - On Windows: `python -m venv .venv`
|
19 |
| - - *Activate the virtual environment |
| 19 | + - Activate the virtual environment |
20 | 20 | - On Mac: `source .venv/bin/activate`
|
21 | 21 | - On Windows: `.venv\Scripts\activate`
|
22 |
| - - *Install dependencies* |
| 22 | + - Install dependencies |
23 | 23 | - On Mac: `pip3 install -r requirements.txt`
|
24 | 24 | - On Windows: `pip install -r requirements.txt`
|
25 |
| - - *Call a specific script* |
| 25 | + - Call a specific script |
26 | 26 | - On Mac: `python3 <script_name>.py`
|
27 | 27 | - On Windows: `python <script_name>.py`
|
28 |
| - - *Deactivate virtual environment* |
| 28 | + - Deactivate virtual environment |
29 | 29 | - `deactivate`
|
30 | 30 |
|
31 | 31 | See this video for additional commentary on [Python Dev Environment Setup](https://www.youtube.com/watch?v=tk5WHjVuC4Q)
|
@@ -92,7 +92,7 @@ Here's what you can find here:
|
92 | 92 | - Clients
|
93 | 93 | - [Tic-tac-toe client](/games/game_clients/tic_tac_toe_client.py) Play tic-tac-toe using a simple command line client
|
94 | 94 | - Other
|
95 |
| - - [Runiks Cube Simulator](/games/rubiks_cube/rubiks-cube-2x2.py) Simulate moves on a 2x2 Rubik's cube |
| 95 | + - [Rubiks Cube Simulator](/games/rubiks_cube/rubiks-cube-2x2.py) Simulate moves on a 2x2 Rubik's cube |
96 | 96 |
|
97 | 97 | ## [Interview Questions](/interview_questions/)
|
98 | 98 | - [Fizz buzz](/interview_questions/fizz_buzz.py) A test that makes sure you can apply simple rules and cover all cases
|
@@ -154,4 +154,4 @@ Here's what you can find here:
|
154 | 154 | Licensed under
|
155 | 155 |
|
156 | 156 | - MIT license
|
157 |
| - ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) |
| 157 | + ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) |
0 commit comments