https://github.com/acdh-oeaw/mmp
a generic djangobaseproject port of https://gitlab.com/acdh-oeaw/imafo/gens
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.3%) to scientific vocabulary
Keywords
Repository
a generic djangobaseproject port of https://gitlab.com/acdh-oeaw/imafo/gens
Basic Info
- Host: GitHub
- Owner: acdh-oeaw
- License: mit
- Language: Python
- Default Branch: master
- Homepage: https://mmp.acdh-dev.oeaw.ac.at
- Size: 3.52 MB
Statistics
- Stars: 3
- Watchers: 6
- Forks: 0
- Open Issues: 9
- Releases: 81
Topics
Metadata Files
README.md
MMP
Mapping Medieval Peoples: Visualizing Semantic Landscapes in Early Medieval Europe
About
a generic djangobaseproject port of https://gitlab.com/acdh-oeaw/imafo/gens, created with following steps:
Install
see the dedicated contributing file or try your luck with the following instructions
- clone the repo
git clone https://github.com/acdh-oeaw/mmp.git - [optional]
- create a virtual env, e.g.
virtualenv myenv - activate virtual env, e.g.
source myenv/bin/activate
- create a virtual env, e.g.
- install needed packages
pip install -r requirements.txt(jupyter notebook requirements not incldued) - [optional]
- created your custom settings-file, e.g.
pg_local
- created your custom settings-file, e.g.
Start
on a clear database
- apply migrations
python manage.py migrate --settings=djangobaseproject.settings.dev - start dev-server
python manage.py runserver ---settings=djangobaseproject.settings.dev - open http://127.0.0.1:8000/
use a db-dump
- get a dump
- create a new postgres-db name e.g.
mmp - create postgis-extension
- restore db-dump
- make sure your (local) settings-file matches your db-settings (should be the case if you use the checked in pg_local.py settings file and if you named your db
mmp) - start dev-server
python manage.py runserver ---settings=djangobaseproject.settings.pg_local
[optional] populate netvis-cache
run something like
python manage.py populate_netvis_cache <app_name> <model_name>python manage.py populate_netvis_cache archiv autor --settings=djangobaseproject.settings.pg_local
go to http://127.0.0.1:8000/netvis/archiv/autor to the see the corresponding generic netvis
building the image
docker build -t mmp:latest .
docker build -t mmp:latest --no-cache .
running the image
To run the image you should provide an .env file to pass in needed environment variables; see example below:
DB_NAME=mmp
DB_USER=mmp
DB_PASSWORD=db_pw
PROJECT_NAME=mmp
SECRET_KEY=randomstring
DEBUG=True
DJANGO_SUPERUSER_USERNAME=user_name
DJANGO_SUPERUSER_PASSWORD=user_pw
VOCABS_DEFAULT_PEFIX=mmp
VOCABS_DEFAULT_PEFIX=en
REDMINE_ID=12345
docker run -it -p 8020:8020 --rm --env-file .env_dev mmp:latest
or use published image:
docker run -it -p 8020:8020 --rm --env-file .env_dev acdhch/mmp:latest
dev notes
python manage.py remove_stale_contenttypes
cheat sheet
http://127.0.0.1:8000/archiv-ac/schlagwort-autocomplete/ http://127.0.0.1:8000/archiv-ac/eigenname-autocomplete/ http://127.0.0.1:8000/story-maps/data/1/
http://127.0.0.1:8000/api/stelle/?keywordart=Schlagwort http://127.0.0.1:8000/api/stelle/?keyword__art=Eigenname http://127.0.0.1:8000/api/keyword/?art=Eigenname 127.0.0.1:8000/api/keyword/?art=Schlagwort
Owner
- Name: Austrian Centre for Digital Humanities & Cultural Heritage
- Login: acdh-oeaw
- Kind: organization
- Email: acdh@oeaw.ac.at
- Location: Vienna, Austria
- Website: https://www.oeaw.ac.at/acdh
- Repositories: 476
- Profile: https://github.com/acdh-oeaw
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: 12 months ago
All Time
- Total issues: 178
- Total pull requests: 6
- Average time to close issues: 13 days
- Average time to close pull requests: 2 minutes
- Total issue authors: 5
- Total pull request authors: 1
- Average comments per issue: 0.51
- Average comments per pull request: 0.33
- Merged pull requests: 6
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- csae8092 (83)
- kaggl (10)
- linxOD (4)
- marcs19 (1)
- vronk (1)
Pull Request Authors
- linxOD (3)
- csae8092 (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v3 composite
- docker/build-push-action v2 composite
- docker/login-action v2 composite
- docker/metadata-action v4 composite
- docker/setup-buildx-action v1 composite
- actions/checkout v2 composite
- actions/setup-python v1 composite
- py-actions/flake8 v1 composite
- actions/cache v3 composite
- actions/checkout v2 composite
- actions/setup-python v4 composite
- codecov/codecov-action v1 composite
- postgis/postgis 12-master docker
- mcr.microsoft.com/devcontainers/python 3.8-bullseye build
- postgis/postgis latest
- python 3.8.13-slim-bullseye build
- Django >=4,<4.1
- acdh-django-browsing ==1.2.4
- acdh-django-netvis ==3.1.0
- acdh-django-vocabs ==1.0.0
- coreapi >=2.3.3
- django-ckeditor ==6.2.0
- django-cors-headers ==3.7.0
- django-extensions ==3.1.0
- django-floppyforms ==1.9.0
- django-leaflet *
- django-next-prev ==1.1.0
- django-spaghetti-and-meatballs ==0.4.2
- django-story-map ==0.6.2
- djangorestframework-gis >=1,<2
- fontawesome-free ==5.15.4
- lxml ==4.9.1
- psycopg2-binary *
- rdflib >=5.0.0,<7
- requests >=2.25
- stanza ==1.4.0
- tablib ==3.0.0
- coverage >=5.5 test
- flake8 >=3.9 test