{"id":19338492,"url":"https://github.com/gbv/epusta-server","last_synced_at":"2025-07-19T10:33:55.512Z","repository":{"id":140821224,"uuid":"206561584","full_name":"gbv/ePuSta-Server","owner":"gbv","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-13T19:54:01.000Z","size":95,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-02-24T08:17:08.533Z","etag":null,"topics":["electronic-publication","epusta","reposis","statistics","usagestatistics"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gbv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-05T12:44:19.000Z","updated_at":"2025-02-13T19:54:06.000Z","dependencies_parsed_at":"2025-02-24T08:17:07.191Z","dependency_job_id":"3b3c094b-a990-47e4-8149-9462dcf2ca6b","html_url":"https://github.com/gbv/ePuSta-Server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gbv/ePuSta-Server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbv%2FePuSta-Server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbv%2FePuSta-Server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbv%2FePuSta-Server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbv%2FePuSta-Server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gbv","download_url":"https://codeload.github.com/gbv/ePuSta-Server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbv%2FePuSta-Server/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265916925,"owners_count":23848820,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["electronic-publication","epusta","reposis","statistics","usagestatistics"],"created_at":"2024-11-10T03:17:38.143Z","updated_at":"2025-07-19T10:33:55.488Z","avatar_url":"https://github.com/gbv.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ePuSta-Server\n\nThe ePuSta-Server are designed to provide usagestatistics of electronic publications. Required are logfiles in epusta logformat. The statistics curently only accessable by an OAS compatible API. More APIs and a Webinterface comming soon. \n\n## Getting Started\n\n### Prerequisites\n* Linux \n* Solr 7\n\n### Installation\n\n* Clone the git-hub ePuSta-Server to a local directory via *git clone https://github.com/gbv/ePuSta-Server.git*\n* Create a Core in Solr and copy the Files, located in the *solr* directory, in the *conf* directory of the core.\n* Copy the file *config/config.template* to *config/config* and set the values for the parameter.\n\nTo use the OAS compatible API see.\n\n## Work with the Core\n\nScripts to work with the core are located in the directory *bin*.\n\n### Import Data\n\nThe script createSolrImport.php transform the Logfiles, generated by the ePuSta-logfilepaser, to a solr importable json-file. There are two levels of generating:\n* DEBUG - all loglines where transformed\n* PROD - transform only loglines with an publication identifier \n\nExample: Create the import file reposas-2019-12-01.json from the file reposas.2019-12-01.log.\n```\n./createSolrImport.php --file=reposas.2019-12-01.log --level=PROD \u003e reposas.2019-12-01.json\n```\n\nPush the data to the solr core.\n```\n/opt/solr/bin/post -c $SOLRCORE reposas.json\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgbv%2Fepusta-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgbv%2Fepusta-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgbv%2Fepusta-server/lists"}