Skip to content

Commit 41ced1b

Browse files
committed
Add basic setup instructions in the README #11
Signed-off-by: Thomas Druez <tdruez@nexb.com>
1 parent 1ffe12e commit 41ced1b

3 files changed

Lines changed: 32 additions & 0 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ target/
7171

7272
# pyenv
7373
.python-version
74+
pyvenv.cfg
75+
bin/
76+
pip-selfcheck.json
7477

7578
# celery beat schedule file
7679
celerybeat-schedule

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
11
# VulnerableCode
22

33
[![Build Status](https://travis-ci.org/nexB/vulnerablecode.svg?branch=develop)](https://travis-ci.org/nexB/vulnerablecode)
4+
5+
Setup
6+
-----
7+
VulnerableCode requires Python 3.6+, get the latest version at https://www.python.org/
8+
9+
Clone the source code:
10+
11+
```
12+
git clone https://github.com/nexB/vulnerablecode.git && cd vulnerablecode
13+
```
14+
15+
Activate a virtualenv and install dependencies:
16+
17+
```
18+
python3.6 -m venv .
19+
source bin/activate
20+
pip install -r requirements.txt
21+
```
22+
23+
Tests
24+
-----
25+
26+
```
27+
python3.6 -m pytest -v
28+
```

requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
beautifulsoup4==4.6.0
2+
3+
# Tests
4+
pytest==3.1.3

0 commit comments

Comments
 (0)