Changes between Version 47 and Version 48 of ComponentRegistryAndEditor
- Timestamp:
- 11/14/19 14:38:58 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ComponentRegistryAndEditor
v47 v48 41 41 42 42 To serve: 43 * Docker 44 OR 43 45 * Java 1.7 44 46 * Tomcat 7 … … 47 49 To use the front-end: 48 50 * Web browser with Javascript support 49 * Tested with Firefox 43.0, Google Chrome 48.0, Safari 9.051 * Tested with Firefox 70.0, Google Chrome 78.0, Safari 9.0 50 52 51 53 To build: 52 * Java 1.7 53 * Maven 3 54 * Docker 55 OR 56 * Java 11 57 * Maven 3.6+ 58 54 59 55 60 ---- … … 75 80 == Building and Deploying == 76 81 77 For specific information about building and deploying see [[ComponentRegistryRest#BuildingandDeploying|Building and deploying the REST service]]78 79 82 === Building === 80 83 81 There are two separate projects with different build procedures: 82 * Maven based build of [[ComponentRegistryRest|REST service]] 83 * Grunt based build of [[./ReactFrontEnd|React.js front end]] 84 There are two sets of separate projects with different build procedures: 85 1. [[ComponentRegistryRest|REST back end]] 86 * Maven based build of [[ComponentRegistryRest|REST service]] 87 * [https://travis-ci.org/clarin-eric/component-registry-rest Travis project] builds and deploys tagged commits to GitHub 88 * Docker image [https://gitlab.com/CLARIN-ERIC/docker-component-registry-rest|docker-component-registry-rest] which makes an image based on a compiled REST project (typically from a Travis tag build deployed to GitHub) 89 2. [[./ReactFrontEnd|React front end]] 90 * npm/webpack based build of React.js front end 91 * Docker image [https://gitlab.com/CLARIN-ERIC/docker-component-registry-front-end|docker-component-registry-front-end] which is based on a multistage build that acts on the sources of the front end project 84 92 85 93 === Deployment === 86 94 87 To deploy the REST service including the React front end, deploy the build output (WAR file) of the REST service to a Tomcat instance.95 Deployment happens via a Docker Compose project [https://gitlab.com/CLARIN-ERIC/compose_compreg compose_compreg], which is configured for a specific environment using environment variables (`.env` file). See its documentation for details on the configuration. 88 96 89 For details,see [[ComponentRegistryRest#Deploying|deploying Component Registry REST service]].97 Also see [[ComponentRegistryRest#Deploying|deploying Component Registry REST service]]. 90 98 91 99 ==== Currently Deployed Locations ==== 92 100 93 * Production: [http://catalog.clarin.eu/ds/ComponentRegistry/rest/application.wadl http://catalog.clarin.eu/ds/ComponentRegistry/] 94 * Testing: [http://alpha-vlo.clarin.eu/component-registry-rest/rest/application.wadl http://alpha-vlo.clarin.eu/component-registry-rest/] 95 * ~~Testing: [http://lux16.mpi.nl/ds/ComponentRegistry/rest/application.wadl http://lux16.mpi.nl/ds/ComponentRegistry/rest/] (MPI internal)~~ 96 101 * Production: [https://catalog.clarin.eu/ds/ComponentRegistry] (running at [[rs236235.rs.hosteurope.de|clarinvm.cesnet.cz]]) 102 * Testing: [https://catalog.clarin-dev.eu/ds/ComponentRegistry] (running at rs236235.rs.hosteurope.de) 97 103 98 104 === Dependencies === … … 111 117 E.g. for production: [http://catalog.clarin.eu/ds/ComponentRegistry/admin]]. 112 118 113 Which accounts have administration rights is configured in the context parameter ''eu.clarin.cmdi.componentregistry.adminUsers'' .119 Which accounts have administration rights is configured in the context parameter ''eu.clarin.cmdi.componentregistry.adminUsers'', or in case of a Docker deployment via an environment variable (see [https://gitlab.com/CLARIN-ERIC/compose_compreg compose project]). 114 120 115 121 === Managing accounts ===