https://github.com/centrefordigitalhumanities/myresearch

https://github.com/centrefordigitalhumanities/myresearch

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
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.2%) to scientific vocabulary
Last synced: 5 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: CentreForDigitalHumanities
  • Language: Vue
  • Default Branch: develop
  • Size: 5.23 MB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 35
  • Releases: 0
Created 8 months ago · Last pushed 6 months ago
Metadata Files
Readme

README.md

Checks

myresearch

This application can be run in one of three modes:

  • Local: runs the application in development mode on your own machine.
  • Docker (development): runs interactive development servers in Docker containers.
  • Docker (production): runs the application in production mode.

The differences are outlined below.

| | Local | Docker dev | Docker prod | | --- | --- | --- | --- | | PostgreSQL database | On host machine | In container | In container | | Frontend server | Nuxt development server | Nuxt development server in container | NGINX server serving a minimized static build | | Backend server | TBD | TBD | TBD | | Live-reloading on code changes | ✔ | ✔ | ❌ | | Ports available | 3000 (frontend) | 5000 (NGINX), 3000 (frontend) | 5000 (NGINX) | | Logging | Console | TBD | TBD |

Running the application locally

Prerequisites

  • Node.js 22.16.0 (LTS) has been tested. Other versions may work.
  • Python 3.11 has been tested. Other versions may work.
  • PostgreSQL (for local database)

Steps

  1. Clone the repository and navigate to it: bash git clone https://github.com/CentreForDigitalHumanities/myresearch cd myresearch

  2. Install frontend dependencies: bash cd frontend npm install

  3. Start the frontend: bash npm run dev

  4. Open your browser and navigate to http://localhost:3000 to visit the application!

    (TODO: add backend install instructions).

  5. For development, the backend requires supplementing the settings.py with a local_settings.py file, which contains the following settings:

    ``` CORSALLOWALLORIGINS = True CORSALLOW_CREDENTIALS = True

    CSRFTRUSTEDORIGINS = ["http://*:3000"] ```

  6. Create a new local development database. The first PostgreSQL start-up will normally do this for you, but in case you need to do this manually, follow this step. The Django development server expects a database with the following details. (This can be changed as needed in settings.py):

  7. DB name: myresearch

  8. Host: localhost

  9. Port: 5432

  10. User: myresearch

  11. Password: myresearch

The file backend/create_db.sql can be used to create the database and user with the correct permissions. Run it as follows.

bash psql -U <your-postgres-username> -f backend/create_db.sql

Note that this is not needed if you are using the provided Docker setup. Also, make sure to never use these standard settings in a production environment.

Running the application in Docker

This will start a Docker Compose network with the following containers:

Prerequisites

  • Docker and Docker Compose installed on your machine.

Steps

  1. Clone the repository: bash git clone https://github.com/CentreForDigitalHumanities/myresearch cd myresearch

  2. Build the Docker images:

```bash # In development mode: docker compose --profile dev up --build -d

# In production mode: docker compose --profile prod up --build -d ```

For subsequent runs, you may omit `--build`, unless you switch branches, update dependencies or edit `compose.yml` or one of the `Dockerfile`s. This will ensure that the images are rebuilt with the latest changes.
  1. Open your browser and navigate to http://localhost:5000 to visit the application!

Owner

  • Name: Centre for Digital Humanities
  • Login: CentreForDigitalHumanities
  • Kind: organization
  • Email: cdh@uu.nl
  • Location: Netherlands

Interdisciplinary centre for research and education in computational and data-driven methods in the humanities.

GitHub Events

Total
  • Issues event: 23
  • Delete event: 9
  • Issue comment event: 17
  • Public event: 1
  • Push event: 59
  • Pull request review comment event: 65
  • Pull request event: 19
  • Pull request review event: 80
  • Create event: 13
Last Year
  • Issues event: 23
  • Delete event: 9
  • Issue comment event: 17
  • Public event: 1
  • Push event: 59
  • Pull request review comment event: 65
  • Pull request event: 19
  • Pull request review event: 80
  • Create event: 13

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 2
  • Total Committers: 1
  • Avg Commits per committer: 2.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 2
  • Committers: 1
  • Avg Commits per committer: 2.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Xander Vertegaal a****l@u****l 2
Committer Domains (Top 20 + Academic)
uu.nl: 1

Issues and Pull Requests

Last synced: 5 months ago

All Time
  • Total issues: 24
  • Total pull requests: 14
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 15 days
  • Total issue authors: 5
  • Total pull request authors: 4
  • Average comments per issue: 0.21
  • Average comments per pull request: 0.79
  • Merged pull requests: 7
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 24
  • Pull requests: 14
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 15 days
  • Issue authors: 5
  • Pull request authors: 4
  • Average comments per issue: 0.21
  • Average comments per pull request: 0.79
  • Merged pull requests: 7
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • XanderVertegaal (13)
  • miggol (4)
  • RoordinkFrank (4)
  • EdoStorm96 (2)
  • tijmenbaarda (1)
Pull Request Authors
  • tijmenbaarda (5)
  • XanderVertegaal (5)
  • EdoStorm96 (3)
  • RoordinkFrank (1)
Top Labels
Issue Labels
enhancement (11) good first issue (1) help wanted (1) question (1)
Pull Request Labels
documentation (1) enhancement (1)