Changes between Version 47 and Version 48 of ComponentRegistryAndEditor


Ignore:
Timestamp:
11/14/19 14:38:58 (5 years ago)
Author:
Twan Goosen
Comment:

updated build/deploy info

Legend:

Unmodified
Added
Removed
Modified
  • ComponentRegistryAndEditor

    v47 v48  
    4141
    4242To serve:
     43* Docker
     44OR
    4345* Java 1.7
    4446* Tomcat 7
     
    4749To use the front-end:
    4850* Web browser with Javascript support
    49  * Tested with Firefox 43.0, Google Chrome 48.0, Safari 9.0
     51 * Tested with Firefox 70.0, Google Chrome 78.0, Safari 9.0
    5052
    5153To build:
    52 * Java 1.7
    53 * Maven 3
     54* Docker
     55OR
     56* Java 11
     57* Maven 3.6+
     58
    5459
    5560----
     
    7580== Building and Deploying ==
    7681
    77 For specific information about building and deploying see [[ComponentRegistryRest#BuildingandDeploying|Building and deploying the REST service]]
    78 
    7982=== Building ===
    8083
    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]]
     84There are two sets of separate projects with different build procedures:
     851. [[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)
     892. [[./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
    8492
    8593=== Deployment ===
    8694
    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.
     95Deployment 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.
    8896
    89 For details, see [[ComponentRegistryRest#Deploying|deploying Component Registry REST service]].
     97Also see [[ComponentRegistryRest#Deploying|deploying Component Registry REST service]].
    9098
    9199==== Currently Deployed Locations ====
    92100
    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)
    97103
    98104=== Dependencies ===
     
    111117E.g. for production: [http://catalog.clarin.eu/ds/ComponentRegistry/admin]].
    112118
    113 Which accounts have administration rights is configured in the context parameter ''eu.clarin.cmdi.componentregistry.adminUsers''.
     119Which 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]).
    114120
    115121=== Managing accounts ===