Skip to content

JohannesKersting/DysRegNetWeb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DysRegNetWeb

Installation

Clone the repository

git clone https://github.com/JohannesKersting/DysRegNetWeb.git

Navigate to the folder

cd DysRegNetWeb

For development and debugging

Launching the web app

Setup a fresh conda environment with Python 3.8

conda create -n DysRegNetWeb python=3.8

Activate the environment

conda activate DysRegNetWeb

Install the required dependencies using pip

pip install -r app/requirements.txt

Launch the app

python app/app.py

The web app is now available under http://127.0.0.1:8050/ but the database is not running yet

Launching the database

Open a fresh shell and navigate to the repository folder. Launch the Neo4j database using Docker. In order for this to work, the repository must include a folder called "data" containing the Neo4j database files.

docker run -it --rm \
    --user "$(id -u):$(id -g)" \
    --name dysregnet-neo4j \
    -p7474:7474 -p7687:7687 \
    -v ${PWD}/data:/data \
    --env NEO4J_AUTH=neo4j/12345678 \
    neo4j:5.11.0

Test for production

Run docker compose inside the repository folder

docker compose up -d

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published