Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Install and run

Daniel Avelino edited this page May 28, 2021 · 12 revisions

Requisites:

  • python >= 3.6.0.
  • The other dependencies will be satisfied when you run the setup.sh script.

Install and run the Catalog

To run the development branch of the Catalog, do:

Linux

git clone https://github.com/daavelino/vulnerability-catalog
cd vulnerability-catalog
./setup.sh    # only during the first install
./run.sh

Then point your browser to

http://localhost:8000

Windows

  1. Install the catalog:
git clone https://github.com/daavelino/vulnerability-catalog
cd vulnerability-catalog

python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt

cd base
python manage.py makemigrations
python manage.py migrate
python manage.py loaddata catalog/fixturename/riskQuestions-example.json
python manage.py createsuperuser
cd ..
  1. Generate a random session key value by using:
python3 tools\genSessionKey.py

and copy it at base\base\settings.py, as the value of the variable SESSION_KEY.

  1. Run the Catalog:
cd base
python run_cherrypy.py

Then point your browser to

http://localhost:8000

Docker

You can also use Docker to run Catalog. Check how at:

https://github.com/daavelino/vulnerability-catalog/wiki/Using-Docker-to-run-Catalog