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
VulnerableCode requires Python 3.6+, get the latest version at https://www.python.org/
5
+
## Setup
8
6
9
7
Clone the source code:
10
8
11
9
```
12
10
git clone https://github.com/nexB/vulnerablecode.git && cd vulnerablecode
13
11
```
14
12
15
-
System requirements
13
+
### System requirements
16
14
17
-
- Get Python 3.6+ installed first and pip (pip is included in the
18
-
Python.org downloads since Python 2.7.9)
15
+
- Python 3.6+
19
16
20
-
- Install PostgreSQL 9 of later. (11.2 preferred)
21
-
On Debian distros use: `sudo apt-get install postgresql`
17
+
- PostgreSQL 9+ or [Docker](https://hub.docker.com/search/?type=edition&offering=community)
22
18
23
-
-Install extra utilities if needed: `sudo apt-get install wget build-essential redis-server`
19
+
-Compiler toolchain and development files for Python and PostgreSQL
24
20
21
+
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.
25
22
26
-
Configure a local test database
23
+
### Database configuration
27
24
28
-
- Create a local test `vulnerablecode` database user. Use `vulnerablecode` as password when prompted
29
-
(otherwise use any password and update your settings locally).
0 commit comments