Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 72970c0

Browse files
committed
INIT add readme
1 parent a51b0f7 commit 72970c0

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

README.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# CodeRoad Python Unittest Starter
2+
3+
A demo for running Python projects in CodeRoad.
4+
5+
### Setup
6+
7+
8+
##### Virtual Environment
9+
10+
Code runs inside of a virtual environment.
11+
12+
On Windows, run:
13+
14+
```shell
15+
tutorial-env\Scripts\activate.bat
16+
```
17+
18+
On Unix or MacOS, run:
19+
20+
```shell
21+
source tutorial-env/bin/activate
22+
```
23+
24+
See [python venv](https://docs.python.org/3/tutorial/venv.html) docs for more.
25+
26+
##### Install Dependencies
27+
28+
Enter the code directory
29+
30+
```shell
31+
cd coderoad-starter
32+
```
33+
34+
Install dependencies
35+
36+
```shell
37+
pip install requirements.txt
38+
```
39+
40+
##### Run Tests
41+
42+
To run tests, run:
43+
44+
```shell
45+
python tests
46+
```
47+

0 commit comments

Comments
 (0)