|
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 | | - - On Windoes: `pip install -r requirements.txt` |
25 | | - - *Call a specific script* |
| 24 | + - On Windows: `pip install -r requirements.txt` |
| 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) |
@@ -150,4 +150,4 @@ Here's what you can find here: |
150 | 150 | Licensed under |
151 | 151 |
|
152 | 152 | - MIT license |
153 | | - ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) |
| 153 | + ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) |
0 commit comments