Skip to content
Snippets Groups Projects
  • Mahmoud Akl's avatar
    [NRRPLT-4037] Refactor Full Local Mode · c90abd8e
    Mahmoud Akl authored
    This commit includes config files for the frontend, proxy, CLE and nginx
    and some additional scripts to automatically set-up the config files.
    The current features include:
    
    * A bash script called running_mode to switch between offline full local
      mode (no oidc) and EPFL mode using the dev. servers (with oidc), and
      local mode with collab support services mode (oidc w/ local backend).
    
    * A bash script called configure_nrp that sets up the frontend
      config.json, the CLE config.ini and the gzbridge and gzserver files.
      This is especially helpful when installing the platform from scratch.
    
    * A bash script called clone-all-repos that clones all necessary repos
      to install the NRP locally to the $HBP directory.
    
    * A bash script called purge that deletes all existing configuration
      files from the Frontend, CLE and Proxy repos, as well as the nginx
      config files and the gzserver/gzbridge scripts.
    
    * A file called nrp_variables including all necessary enviornment
      variables. This file can be sourced in the .bashrc instead of manually
      copying all the variables from the 100% local install page.
    
    * A file called nrp_aliases including all aliases found in the 100%
      local install page that can be sourced in the .bashrc.
    
    * A readme file pointing to the 100% local install page.
    
    The CLE and proxy config files have been removed from the corresponding
    repos and added here, as this repo is thought of as a central
    placeholder for all config files. Modifying the 100% local install page
    according to the changes will be done once all features have been added.
    
    Change-Id: I8596116f2c70cfedd17924f32178c907cfd12e81
    c90abd8e