beta-faircore4eosc

Beta Release Demo - https://doi.org/10.5281/zenodo.12808833

https://github.com/ramy-badr-ahmed/beta-faircore4eosc

Science Score: 49.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
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.5%) to scientific vocabulary

Keywords

codemeta-converter codemeta-crosswalk codemeta-generator faircore4eosc laravel-application laravel-breeze laravel-client-integration laravel-tinker livewire livewire-laravel merkle-dag php-client software-archiving software-heritage-api-client software-heritage-dag

Keywords from Contributors

interactive swhid swh-webclient swh-model swh-metadata swh-graph swh-endpoints swh-connector swh-client swh-archiver
Last synced: 6 months ago · JSON representation

Repository

Beta Release Demo - https://doi.org/10.5281/zenodo.12808833

Basic Info
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 1
  • Releases: 2
Topics
codemeta-converter codemeta-crosswalk codemeta-generator faircore4eosc laravel-application laravel-breeze laravel-client-integration laravel-tinker livewire livewire-laravel merkle-dag php-client software-archiving software-heritage-api-client software-heritage-dag
Created almost 2 years ago · Last pushed about 1 year ago
Metadata Files
Readme License Codemeta

README.md

beta-faircore4eosc

LARAVEL Livewire PHP

DOI

[!Note] A demonstrable version can be accessed here: Demo Version

Sample snapshot of the codemeta generator and converter demo:

snap.PNG

Sample archiving repositories demo:

archive-samp.PNG

Installation Steps:

1) Clone this project.

2) Open a console session and navigate to the cloned directory, then:

    2.1) Run "composer install".

    2.2) Run "npm install".         

3) (Optional) Create your local branch.

4) (Optional) Acquire SWH tokens for increased SWH-API Rate-Limits.

5) Prepare .env file:   

    5.1) Rename/Copy the cloned ".env.example" file
            cp .env.example .env   

    5.2) ADD these Keys:

            SWH_TOKEN=Your_TOKEN_FROM_SWH_ACCOUNT                   # As set in step 4)                
            SWH_API_URL=https://archive.softwareheritage.org                
            SWH_TOKEN_STAGING=Your_STAGING_TOKEN_FROM_SWH_ACCOUNT   # As set in step 4)                
            SWH_API_URL_STAGING=https://webapp.staging.swh.network

You can now proceed to either I) or II)

I) SWH API First Steps:

1) In a console session inside the cloned directory.    

    - Run 'php artisan tinker' to interact with the API modules.

2) Initialise a new API session:

    - Write:
            namespace App\Modules\SwhApi;                 
            use App\Modules\SwhApi;
  • You can now proceed to the SWH API Client documentation
  • SWH Client as a standalone php library: https://github.com/Ramy-Badr-Ahmed/swh-client/wiki ___

II) Deployment Steps (Run your own local webserver instance):

1) Setup a Database (e.g. MariaDB/MySQL/PostgreSQL) and create a new DB schema relevant for this project.

2) Edit .env file

    2.1) (Optional) Generate an Application Key --> Navigate to the cloned directory and Run "php artisan key:generate"

    2.2) Edit Keys:
            APP_NAME=beta-faircore4eosc
            APP_ENV=local 
            APP_DEBUG=true
            APP_URL=http://localhost

            DB_CONNECTION=mysql             # As set in step 1)
            DB_HOST=127.0.0.1               # As set in step 1)
            DB_PORT=3306                    # As set in step 1)
            DB_DATABASE=beta-faircore4eosc  # As set in step 1): Name of your database schema for this project
            DB_USERNAME=root                # As set in step 1)
            DB_PASSWORD=                    # As set in step 1)

3) Run "php artisan migrate".    

4) (Optional) Checkout the first Commit: "Initial Setup".

5) Navigate to the cloned directory and Run "php artisan serve" in your console.     

6) Visit "http://127.0.0.1:8000" from your browser.

III) Quick Test After II) Deployment:

1) Navigate to an Archive page, e.g.: /beta/archival-view-3

2) Insert a group of repository URLs.

3) Navigate to the previously cloned directory and then Run "php artisan swh:updateCron" in your console to synchronise with SWH.

   Note: you may need to set up a CRON/Scheduler in your OS.

Owner

  • Login: Ramy-Badr-Ahmed
  • Kind: user
  • Location: Germany

CodeMeta (codemeta.json)

{
  "@context": "https://doi.org/10.5063/schema/codemeta-2.0",
  "@type": "SoftwareSourceCode",
  "description": "Beta Release - EOSC Research Software APIs and Connectors (Dagstuhl WP 6.2) ",
  "name": "beta-faircore4eosc",
  "dateCreated": "2023-10-06",
  "datePublished": "2023-10-09",
  "license": "https://spdx.org/licenses/MIT.html",
  "readme": "https://github.com/dagstuhl-publishing/beta-faircore4eosc/blob/main/README.md",
  "softwareVersion": "1.0",
  "installUrl": "https://github.com/dagstuhl-publishing/beta-faircore4eosc/blob/main/README.md#installation-steps",
  "buildInstructions": "https://github.com/dagstuhl-publishing/beta-faircore4eosc/blob/main/README.md#b-deployment-steps-local-webserver-instance",
  "dateModified": "2023-10-13",
  "codeRepository": "https://github.com/dagstuhl-publishing/beta-faircore4eosc",
  "issueTracker": "https://github.com/dagstuhl-publishing/faircore4eosc/issues",
  "contIntegration": "https://github.com/dagstuhl-publishing/faircore4eosc/projects?query=is%3Aopen",
  "developmentStatus": "active",
  "operatingSystem": "Cross-platform",
  "author": [
    {
      "@type": "Person",
      "@id": "https://orcid.org/my-orcid?orcid=0000-0002-8504-3549",
      "affiliation": {
        "@type": "Organization",
        "name": "Schloss Dagstuhl - Leibniz Center for Informatics, Wadern"
      },
      "email": "ramy.ahmed@dagstuhl.de",
      "familyName": "Ahmed",
      "givenName": "Ramy-Badr"
    }
  ],
  "programmingLanguage": [
    "PHP",
    "JavaScript",
    "Blade"
  ],
  "softwareRequirements": [
    "PHP: ^8.1",
    "Laravel/Framework: ^10.10",
    "Livewire/Livewire: ^2.12",
    "guzzlehttp/guzzle: ^7.2",
    "laravel/tinker: ^2.8",
    "Laravel/Octane: ^2.0",
    "spiral/roadrunner-http: ^3.0.1"
  ],
  "funder": {
    "@type": "Organization",
    "@id": "https://doi.org/10.3030/101057264",
    "funding": "EU-Horizon: 101057264",
    "name": "European Comission"
  },
  "relatedLink": [
    "https://faircore4eosc.dagstuhl.de/",
    "https://faircore4eosc.eu/"
  ],
  "keywords": [
    "Dagstuhl",
    "Software Heritage"
  ],
  "applicationCategory": [
    "MetaData",
    "API Connectors",
    "Research Software"
  ],
  "maintainer": {
    "@type": "Person",
    "@id": "https://orcid.org/my-orcid?orcid=0000-0002-8504-3549",
    "affiliation": {
      "@type": "Organization",
      "name": "Schloss Dagstuhl - Leibniz Center for Informatics, Wadern"
    },
    "email": "ramy.ahmed@dagstuhl.de",
    "familyName": "Ahmed",
    "givenName": "Ramy-Badr"
  }
}

GitHub Events

Total
  • Issue comment event: 1
  • Push event: 4
  • Pull request event: 9
  • Create event: 6
Last Year
  • Issue comment event: 1
  • Push event: 4
  • Pull request event: 9
  • Create event: 6

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 142
  • Total Committers: 4
  • Avg Commits per committer: 35.5
  • Development Distribution Score (DDS): 0.458
Past Year
  • Commits: 142
  • Committers: 4
  • Avg Commits per committer: 35.5
  • Development Distribution Score (DDS): 0.458
Top Committers
Name Email Commits
Ramy-Badr-Ahmed 1****d 77
Ramy r****d@d****e 48
Ramy-Badr-Ahmed r****r@h****m 14
dependabot[bot] 4****] 3
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 0
  • Total pull requests: 12
  • Average time to close issues: N/A
  • Average time to close pull requests: 4 days
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.17
  • Merged pull requests: 9
  • Bot issues: 0
  • Bot pull requests: 12
Past Year
  • Issues: 0
  • Pull requests: 12
  • Average time to close issues: N/A
  • Average time to close pull requests: 4 days
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.17
  • Merged pull requests: 9
  • Bot issues: 0
  • Bot pull requests: 12
Top Authors
Issue Authors
  • Ramy-Badr-Ahmed (36)
Pull Request Authors
  • dependabot[bot] (24)
  • Ramy-Badr-Ahmed (3)
Top Labels
Issue Labels
Pull Request Labels
dependencies (24) php (16)