You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-18Lines changed: 20 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,40 +38,45 @@ The web interface enables community curation of data by enabling addition of new
38
38
39
39
We also plan to mine for vulnerabilities which didn't receive any exposure due to various reasons like but not limited to the complicated procedure to receive CVE ID or not able to classify a bug as a security compromise. Check VulnerableCode at [Open Source Summit 2020](https://ossna2020.sched.com/event/c46p/why-is-there-no-free-software-vulnerability-database-philippe-ombredanne-aboutcodeorg-and-nexb-inc-michael-herzog-nexb-inc)
40
40
41
-
## Setup
41
+
## Setting up VulnerableCode
42
42
43
43
Clone the source code:
44
44
45
45
```
46
-
git clone https://github.com/nexB/vulnerablecode.git && cd vulnerablecode
An easy way to set up VulnerableCode is with docker containers and docker compose.
52
+
For this you need to have the following installed.
53
+
- Docker Engine. Find instructions to install it here
54
+
- Docker Compose. Find instructions to install it here
50
55
51
-
- Python 3.8+
52
-
53
-
- PostgreSQL 9+ or [Docker](https://hub.docker.com/search/?type=edition&offering=community)
56
+
Use `sudo docker-compose up` to start VulnerableCode.
57
+
Access VulnerableCode at http://localhost:8000/ or at http://127.0.0.1:8000/ .
54
58
55
-
- Compiler toolchain and development files for Python and PostgreSQL
59
+
Use `sudo docker-compose exec web bash` to access the VulnerableCode container. From here you can access `manage.py`and run management commands to import data as specified below.
56
60
57
-
On Debian-based distros, these can be installed with `sudo apt install python3-venv python3-dev postgresql libpq-dev build-essential`. Leave out `postgresql` if you want to run it in Docker.
0 commit comments