This is the code repo for the ecce-web-app. The application is based on python/django. Ecce-web-app is meant to publish/analyze data gahtered in the ecce-project.
- Clone the repo
- Create a virtual environemt
- Run
pip install -r requirements.txt
to install needed packages - Change into the application's root directory and run
python manage.py runserver --settings=ecce.settings.dev
- The application should be accessible now under http://127.0.0.1:8000/
- get lates data dumps from access-db
- run
python manage.py shell_plus --notebook --settings=ecce.settings.{settingsFile}
- run
import_dates
- run
import_texts
- run
import_SchwaPresent
- run
import_onset
- run
import_TokenLabel
- run
import_Consonant
- rund
immport_Cluster
- and finally run
import_Tokens
. Since there are roughly 300.000 Tokens, the data files, stored indata/access-export
are splitted. Therefore you have to change the name of the file in theimport_Tokens
.
To ease querying (and general working with the data), the normalized data model can be denormalized, meaning all tables/classes are merged into one.
This denormalizing process can be trigged by a custom manage.py command:
python manage.py python manage.py synctokens 0 20
The integers passed in the argument define the start, endpoint of the list of all Tokens. Since there is quite a lot of data to process, it is recommended to denormalize in steps.