{"id":21614956,"url":"https://github.com/eea/eprtr2","last_synced_at":"2026-04-11T11:03:59.714Z","repository":{"id":26085377,"uuid":"29529355","full_name":"eea/eprtr2","owner":"eea","description":"Second edition of E-PRTR","archived":false,"fork":false,"pushed_at":"2022-12-16T05:31:14.000Z","size":43940,"stargazers_count":0,"open_issues_count":29,"forks_count":1,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-01-24T20:42:30.701Z","etag":null,"topics":["angular","docker","java"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eea.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-20T12:45:57.000Z","updated_at":"2021-04-27T13:09:17.000Z","dependencies_parsed_at":"2023-01-14T04:00:19.506Z","dependency_job_id":null,"html_url":"https://github.com/eea/eprtr2","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Feprtr2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Feprtr2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Feprtr2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Feprtr2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eea","download_url":"https://codeload.github.com/eea/eprtr2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244266091,"owners_count":20425825,"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":["angular","docker","java"],"created_at":"2024-11-24T22:10:08.174Z","updated_at":"2026-04-11T11:03:54.683Z","avatar_url":"https://github.com/eea.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"E-PRTR 2\n========\n\n[![Build Status](http://ci.eionet.europa.eu/job/EPRTR2/badge/icon)](http://ci.eionet.europa.eu/job/EPRTR2/)\n\nThe application is available here: http://prtr-demo.eea.europa.eu/\n\nTesting\n-------\nThere are test examples of both controllers and data access objects using the Spring test package. Note that loading\ndemo data is part of the liquibase changelog, and the tests use that data instead of initialising with their own\ntest data.\n\nContinuous JavaScript testing with Karma:\n```\nnpm test\n```\n\nDeploying\n---------\n\nThe default configuration is to allow you to deploy to your own workstation directly. You install the target/eprtr-cms.war to Tomcat's webapps directory as cms.war. You can make it create an initial user with administrator rights by setting system properties to configure the application.\n\nOn a CentOS system you can start Tomcat with the environment variable CATALINA_OPTS set to some value or add lines to /etc/sysconfig/tomcat that looks like this:\n```\nCATALINA_OPTS=\"-Dcmsdb.url=jdbc:h2:tcp://localhost:8043//work/eprtrcms -Dstorage.dir=/work -Dupload.dir=/work\"\n```\nThese are the properties you can set along with their default values:\n```\ncmsdb.driver = net.sourceforge.jtds.jdbc.Driver\ncmsdb.url\ncmsdb.username\ncmsdb.password\ncmsdb.createtables = false  # Set to \"true\" to activate liquibase database refactoring\neprtrdb.driver = net.sourceforge.jtds.jdbc.Driver\neprtrdb.url\neprtrdb.username\neprtrdb.password\nstorage.dir\neprtrdb.createtables = false  # Set to \"true\" to activate liquibase database refactoring\nprofile = test             # Determines what WFS URLs to use\ndeploy.contexts = prod     # Change to \"test,demo\" to load demo data into the application.\n```\nThe default values are in src/main/resources/application.properties\n\nHow to build\n------------\nYou need Git to check the code out from the repository and to build you need Java and \nMaven.  All other dependencies will automatically be downloaded by Maven.\n\nFor Windows see the pages on:\n* [Git for Windows](http://git-scm.com/downloads)\n* [Maven for Windows](http://maven.apache.org/guides/getting-started/windows-prerequisites.html).\n* [Node.js](http://nodejs.org/)\n\nBefore building you need to install Node.js. \n\nTo build you do:\n```\ngit clone https://github.com/eea/eprtr2.git\ncd eprtr2\nmvn.bat install\n```\n\nThis will create a `target` subdirectory, build the code, run the tests and \nput a WAR file in target. You can then deploy this file to Tomcat. It contains \nan embedded database with demo data.\n\nTo build a completely minified version of the application do the following: \n```\ngrunt build\n```\n\nThis will create a dist directory that contains the application fully minified.\nTo make a minified version of the war directory located at target\\eprtr (and\nassuming that `mvn install` and `grunt build` has been run) do the\nfollowing:\n\n```\nrmdir /s /q target\\eprtr-min\nmkdir target\\eprtr-min\nxcopy /s /q /i target\\eprtr\\bower_components target\\eprtr-min\\bower_components\nxcopy /s /q /i target\\eprtr\\WEB-INF target\\eprtr-min\\WEB-INF\nxcopy /s /q dist target\\eprtr-min\n```\n\n\n\n### Dependencies for CentOS 7\n\nStandard packages for CentOS 7 are Java 1.7, Tomcat 7, NPM 1.3.6 and Maven 3.0.5. To get NPM you need to install the Extra Packages for Enterprise Linux (epel-release).\n```\nyum install epel-release git npm java maven tomcat tomcat-native bzip2 unzip\n```\n\nFor historical reasons the database is SQL Server. You can get a gratis JDBC driver from [Microsoft](http://msdn.microsoft.com/data/jdbc)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feea%2Feprtr2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feea%2Feprtr2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feea%2Feprtr2/lists"}