Skip to content

mkschulze/flask-grakn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask-Grakn

Simple proof of concept repo to test integration of grakn into a flask website.

Quickstart

Setup your environment

  1. git clone repo
  2. cd flask-grakn
  3. pipenv install
  4. pipenv shell

Setup Grakn keyspace from examples folder

  1. Start the Grakn Sever
  2. Via terminal while inside the Grakn distribution, run: ./grakn console -k phone_calls -f path-to-the-cloned-repo/schemas/phone-calls-schema.gql
  3. cd examples
  4. Via terminal while inside the virtual pipenv shell, run: python migrate_csv.py

Run the Flask app

  1. export FLASK_APP=graknapp
  2. export FLASK_ENV=development
  3. flask run

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published