Skip to content

epu-ntua/sphinx-attack-simulator

Repository files navigation

Sphinx Behaviour & Attack Simulator - ABS

This is the git repository for the ABS module of the Sphinx project

Installation Guide

Prerequisites

Step 1: Download and install latest python3 - https://www.python.org/downloads/ Step 2: Download and install Pycharm IDE - https://www.jetbrains.com/pycharm/ (Alternatively to step 2 you can just go on with git and a conda or a virtual environment and then install the requirements.txt file)

Installing the ABS Flask

From Pycharms' starting screen

Current Database used is Sqlite but it isn't included in github due to size so in fresh installs always recreate database

Running the ABS module

(If necessary: Delete both app.db files found in the top level of the repo and inside the app folder and the migrations file on the top level of the repo. Proceed as outlined below)

flask db init

flask db migrate

flask db upgrade

Open a python terminal in the venv and run from app import db db.create_all()

flask run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published