Skip to content

Imports & Exports to the Neo4j Database

mariamoritz edited this page Nov 17, 2014 · 4 revisions

Delete your existing database

fab destroy_neo4j

Import Pentecontaetia

fab import_neo4j

Import Alignment Data

Open common/utils/neo4j_import/import_alignments.py and change LANGUAGE to the two-letter code of the language you want to import. You can add new languages by editing the language list a little further down (better support for this, coming soon).

fab import_alignment:lang='en'

To see what languages are already supported, do:

fab import_alignment:lang='lookup'

To import all available alignment data at once, do:

fab import_alignment:lang='all'

Further Tasks

For other available Neo4j maintaining tasks, see: https://github.com/OpenPhilology/phaidra/wiki/Neo4j-Data-Maintaining

Developer Guide

Backend

Frontend

Content Guide

What did you break?

  • Postgres Database
  • Neo4j
  • Django
  • "The server"
  • Git
  • UI
Clone this wiki locally