Skip to content

joelosw/ansights

Repository files navigation

Description of the Dataset on the Coding daVinci Website

Ansights

Welcome to our Coding daVinci repository. Please don't judge us on the current state of the Code. We know it is very messy and not well documented, but we are working on that. This Repository is the Backend of our project, providing a flask application that is called by out ReactApp. A Demo is currently hosted at flyer-explorer.fiz-karlsruhe.de

Partner Project

Also visit the Partner Project, which creates a Knowledge Graph with sparql-endpoint: flyer-explorer

Run Development setup

Setup the Repo

  1. Clone this repo
  2. git submodule update --init --recursive
    
  3. Create a venv/ conda env and enter it
  4. python3 -m pip install -r requirements.txt
    
  5. python -m spacy download de_core_news_md
    

Run the flask app

  1. cd src/flask_backend
    
  2. FLASK_DEBUG=0 python3 -m flask run
    

Run the WebApp (in develop mode, not production)

  1. cd WebAppAnsights
    
  2. npm install
    
  3. npm run
    

Dockerized Build

Build an Run your the Docker Container

The latest docker image should be available to the right, under packages. Alternatively you can build it yourself:

Currently only a one-container setup is working:

docker build --tag anseights .
docker run --rm -p 80:3000 anseights