https://github.com/acdh-oeaw/eurotort

Eurotort - Database on European Tort Law

https://github.com/acdh-oeaw/eurotort

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 (10.4%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

Eurotort - Database on European Tort Law

Basic Info
Statistics
  • Stars: 1
  • Watchers: 4
  • Forks: 0
  • Open Issues: 2
  • Releases: 23
Created almost 3 years ago · Last pushed over 1 year ago
Metadata Files
Readme

README.md

flake8 Lint Test codecov Build and publish Docker image

Eurotort - Database on European Tort Law

short description of the project

install

  • clone the repo
  • change into the project's root directory e.g. cd eurotort-app
  • create a virtual environment e.g. virutalenv env and activate it source env/bin/activate
  • install required packages pip install -r requirements_dev.txt
  • run migrations python manage.py migrate
  • start the dev sever python manage.py runserver
  • go to http://127.0.0.1:8000 and check if everything works

Docker

At the ACDH-CH we use a centralized database-server. So instead of spawning a database for each service our services are talking to a database on this centralized db-server. This setup is reflected in the dockerized setting as well, meaning it expects an already existing database (either on your host, e.g. accessible via 'localhost' or some remote one)

building the image

  • docker build -t eurotort:latest .
  • docker build -t eurotort: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:

  • docker run -it -p 8020:8020 --rm --env-file docker.env--name eurotort eurotort:latest

This project was bootstraped by djangobase-cookiecutter

development cheatsheet

sort imports

bash ruff check --select I --fix . ruff format .

Owner

  • Name: Austrian Centre for Digital Humanities & Cultural Heritage
  • Login: acdh-oeaw
  • Kind: organization
  • Email: acdh@oeaw.ac.at
  • Location: Vienna, Austria

GitHub Events

Total
  • Release event: 1
  • Push event: 5
  • Create event: 1
Last Year
  • Release event: 1
  • Push event: 5
  • Create event: 1

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 99
  • Total pull requests: 73
  • Average time to close issues: 19 days
  • Average time to close pull requests: 1 minute
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 0.31
  • Average comments per pull request: 0.22
  • Merged pull requests: 73
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 35
  • Pull requests: 34
  • Average time to close issues: 17 days
  • Average time to close pull requests: 1 minute
  • Issue authors: 1
  • Pull request authors: 1
  • Average comments per issue: 0.29
  • Average comments per pull request: 0.24
  • Merged pull requests: 34
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • csae8092 (52)
Pull Request Authors
  • csae8092 (60)
Top Labels
Issue Labels
enhancement (11) detail-views (5) data processing (5) bug (3) Data (2) to discuss (1) input needed (1)
Pull Request Labels

Dependencies

.github/workflows/build.yml actions
  • actions/checkout v3 composite
  • docker/build-push-action v4 composite
  • docker/login-action v2 composite
  • docker/metadata-action v4 composite
  • docker/setup-buildx-action v2 composite
.github/workflows/lint.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • py-actions/flake8 v2 composite
.github/workflows/test.yml actions
  • actions/cache v2 composite
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • codecov/codecov-action v1 composite
  • postgres 13 docker
Dockerfile docker
  • python 3.11-buster build
appcreator/requirements.txt pypi
  • jinj2 *
  • pandas *
requirements.txt pypi
  • Django >=4,<5
  • acdh-django-browsing >=2.0
  • django-autocomplete-light >=3.9,<4
  • django-fixture-magic *
  • django-next-prev ==1.1.0
  • django-spaghetti-and-meatballs ==0.4.2
  • django_extensions *
  • jinja2 *
  • pandas *
  • psycopg2-binary *
  • requests >=2.25
  • tqdm *
requirements_dev.txt pypi
  • black >=23.7.0,<24 development
  • coverage >=7.3,<8 development
  • flake8 >=6.0.0,<7 development