https://github.com/acdh-oeaw/apis-webpage-base
Base webpage application for APIS based projects
Science Score: 26.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
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.9%) to scientific vocabulary
Keywords
Repository
Base webpage application for APIS based projects
Basic Info
- Host: GitHub
- Owner: acdh-oeaw
- License: mit
- Language: Python
- Default Branch: master
- Size: 6.43 MB
Statistics
- Stars: 1
- Watchers: 11
- Forks: 0
- Open Issues: 6
- Releases: 0
Topics
Metadata Files
readme.md
About
APIS is a Django based webapplication developed by the Austrian Centre for Digital Humanities. We use it to store named entities and relations between them in DH projects.
This is a base project for APIS installations. We use different branches to adapt the base project to the needs of the various projects
Basic Installation
- Clone this repository and checkout the branch you intend to use
Create a virtualenv and activate it:
bash virtualenv -p python3 myenv source myenv/bin/activateInstall the requirements:
bash pip install -r requirements.txtMigrate the database:
bash python manage.py migrateAdd apis-core to urls.py:
bash vim ROOT_OF_APIS/apis/urls.pyuncomment line #8 and save the fileMigrate again:
bash python manage.py makemigrations browsing python manage.py migrateand run the development server:
bash python manage.py runserver
Installation for production
For security and performance reasons you dont want to use the development server and/or sqllite.
Use mysql instead of sqllite
- change to ROOTOFAPIS/apis/settings
- copy dev.py to server.py
change the DATABASES entry to something along the lines of:
python DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'DATABASE NAME', 'USER': 'MYSQL USER', 'PASSWORD': 'password', 'HOST': 'localhost', # Or an IP Address that your DB is hosted on 'PORT': '3306', } }install the myqlclient library to your virtualenv:
bash pip install mysqlclient
Use apache2 instead of the development server
- for installing and configuring apache2 refer to instructions of your system
- an example virtualhost definition file:
Additional packages
We have developed (and still are developing) some additional packages to extend the functionalities of APIS.
Highlighter
This package is used to provide annotation functionalities for texts stored in APIS. If installed and
Customization
Basic metadata of the project can be set in apis.settings.base by adapting PROJECT_DEFAULT_MD. The prefered way though is to provide a remote metadata.json.
* A proper project description should be stored in infos.models.AboutTheProject
* Info about the project's team members can be stored in infos.models.TeamMember.
References
- Introduction to the system: Schlögl, M., & Lejtovicz, K. (2018). A Prosopographical Information System (APIS) In Proceedings of the Second Conference on Biographical Data in a Digital World 2017 (S. 6). CEUR Workshop Proceedings.
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: over 1 year ago
All Time
- Total issues: 3
- Total pull requests: 11
- Average time to close issues: about 15 hours
- Average time to close pull requests: 26 days
- Total issue authors: 2
- Total pull request authors: 1
- Average comments per issue: 0.33
- Average comments per pull request: 7.82
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 11
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 (2)
- sennierer (1)
Pull Request Authors
- dependabot[bot] (11)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- black * develop
- flake8 * develop
- mysqlclient * develop
- networkx * develop
- python-language-server * develop
- Django ==2.1.12
- Jinja2 ==2.10
- MarkupSafe ==1.0
- PyYAML ==3.13
- Pygments ==2.2.0
- SPARQLWrapper ==1.8.2
- Send2Trash ==1.5.0
- acdh-django-charts ==0.5.3
- backcall ==0.1.0
- beautifulsoup4 *
- bleach ==3.0.2
- calmjs ==3.3.1
- certifi ==2018.8.24
- chardet ==3.0.4
- colorama ==0.4.0
- convertdate *
- coreapi *
- decorator ==4.3.0
- defusedxml ==0.5.0
- django-autocomplete-light ==3.3.2
- django-cors-headers *
- django-crispy-forms ==1.7.2
- django-extensions ==2.1.3
- django-filter ==2.0.0
- django-guardian ==1.4.9
- django-haystack *
- django-leaflet *
- django-model-utils ==3.1.2
- django-rest-swagger *
- django-reversion ==3.0.0
- django-reversion-compare ==0.8.5
- django-tables2 ==2.0.1
- django-url-filter *
- djangorestframework ==3.9.4
- djangorestframework-csv ==2.1.0
- djangorestframework-filters *
- djangorestframework-xml ==1.3.0
- drf-yasg *
- entrypoints ==0.2.3
- et_xmlfile ==1.0.1
- idna ==2.7
- ipykernel ==5.1.0
- ipython ==7.1.1
- ipython_genutils ==0.2.0
- ipywidgets ==7.4.2
- isodate ==0.6.0
- jdcal ==1.4
- jedi ==0.13.1
- jmespath *
- jsonschema ==2.6.0
- jupyter ==1.0.0
- jupyter_client ==5.2.3
- jupyter_console ==6.0.0
- jupyter_core ==4.4.0
- lxml ==4.2.5
- mistune ==0.8.4
- mysqlclient *
- nbconvert ==5.4.0
- nbformat ==4.4.0
- networkx *
- notebook ==5.7.2
- odfpy ==1.3.6
- openpyxl ==2.5.9
- packaging *
- pandas ==0.23.4
- pandocfilters ==1.4.2
- parso ==0.3.1
- pickleshare ==0.7.5
- ply ==3.11
- prometheus_client ==0.4.2
- prompt_toolkit ==2.0.6
- pyparsing ==2.2.2
- python-dateutil ==2.7.3
- pytz ==2018.5
- pywinpty ==0.5.4
- pyzmq ==17.1.2
- qtconsole ==4.4.2
- rdflib ==4.2.2
- requests ==2.20.0
- six ==1.11.0
- spacy *
- tablib ==0.12.1
- terminado ==0.8.1
- testpath ==0.4.2
- tornado ==5.1.1
- traitlets ==4.3.2
- unicodecsv ==0.14.1
- urllib3 ==1.23
- wcwidth ==0.1.7
- webencodings ==0.5.1
- whoosh *
- widgetsnbextension ==3.4.2
- wincertstore ==0.2
- xlrd ==1.1.0
- xlwt ==1.3.0
- 163 dependencies
- Django ==2.2.11
- Jinja2 ==3.0.0a1
- MarkupSafe ==1.1.1
- PyYAML ==5.3.1
- SPARQLWrapper ==1.8.5
- acdh-django-charts ==0.5.3
- astroid ==2.3.3
- attrs ==19.3.0
- autopep8 ==1.5
- black ==19.10b0
- cached-property ==1.5.1
- certifi ==2019.11.28
- chardet ==3.0.4
- click ==7.1.1
- coreapi ==2.3.3
- coreschema ==0.0.4
- decorator ==4.4.2
- defusedxml ==0.6.0
- diff-match-patch ==20181111
- dj-database-url ==0.5.0
- django-admin-csvexport ==1.9
- django-autocomplete-light ==3.6.0.dev1
- django-cors-headers ==3.2.1
- django-crispy-forms ==1.9.0
- django-crum ==0.7.6
- django-extensions ==2.2.9
- django-filter ==2.2.0
- django-guardian ==2.2.0
- django-haystack ==2.8.1
- django-leaflet ==0.26.0
- django-model-utils ==4.0.0
- django-rest-swagger ==2.2.0
- django-reversion ==3.0.7
- django-reversion-compare ==0.12.2
- django-tables2 ==2.2.1
- django-url-filter ==0.3.15
- djangorestframework ==3.11.1
- djangorestframework-csv ==2.1.0
- djangorestframework-xml ==1.4.0
- drf-yasg ==1.17.1
- entrypoints ==0.3
- enum-compat ==0.0.3
- flake8 ==3.7.9
- idna ==2.9
- importlib-metadata ==1.5.2
- inflection ==0.3.1
- ipython ==7.13.0
- isodate ==0.6.0
- isort ==4.3.21
- itypes ==1.1.0
- jedi ==0.15.2
- jmespath ==0.9.5
- jsonschema ==3.2.0
- lazy-object-proxy ==1.4.3
- lxml ==4.5.0
- mccabe ==0.6.1
- mysqlclient ==1.4.6
- networkx ==2.4
- numpy ==1.18.2
- openapi-codec ==1.3.2
- packaging ==20.3
- pandas ==1.0.3
- pandocfilters ==1.4.2
- parso ==0.6.2
- pathspec ==0.7.0
- pluggy ==0.13.1
- pycodestyle ==2.5.0
- pydocstyle ==5.0.2
- pyflakes ==2.1.1
- pylint ==2.4.4
- pyparsing ==2.4.6
- pyrsistent ==0.16.0
- pysolr ==3.9.0
- python-dateutil ==2.8.1
- python-jsonrpc-server ==0.3.4
- python-language-server ==0.31.9
- pytz ==2019.3
- rdflib ==4.2.2
- regex ==2020.2.20
- requests ==2.23.0
- rope ==0.16.0
- ruamel.yaml ==0.16.10
- ruamel.yaml.clib ==0.2.0
- sentry-sdk ==0.14.3
- simplejson ==3.17.0
- six ==1.14.0
- snowballstemmer ==2.0.0
- sqlparse ==0.3.1
- tablib ==1.1.0
- toml ==0.10.0
- typed-ast ==1.4.1
- ujson ==1.35
- unicodecsv ==0.14.1
- uritemplate ==3.0.1
- urllib3 ==1.25.8
- wrapt ==1.11.2
- yapf ==0.29.0
- zipp ==3.1.0