public:projects:nervproj:nervproj

NervProj Framework

To setup the NervProj management system, the following steps are required:

  1. Clone the git repository:
    • For project members:
      git clone git@github.com:roche-emmanuel/nervproj.git NervProj
    • For non-project members:
      git clone https://github.com/roche-emmanuel/nervproj.git NervProj
  2. Init the nvp command support by installing the cli:
    cd NervProj
    ./cli.sh admin install cli
    • Adding the cli should end with output lines similar to:
      2022/07/18 09:06:45 [nvp.core.admin] INFO: Home folder is: /home/kenshin
      2022/07/18 09:06:45 [nvp.core.admin] INFO: Adding source file in .bashrc for NervProj
  3. Restart your terminal to load the cli script
  4. The nvp command should then be available:
    kenshin@rog:~$ nvp home
    kenshin@rog:~/projects/NervProj$ nvp git pullall
    2022/07/18 09:09:21 [nvp.core.git_manager] INFO: Pulling NVP framework...
    Already up to date.
Installing the “cli” will first install the default python environment and tools which may take some time.
  • Next we need to setup the ssh keys/config and configure git to handle the NVP managed projects easily:
    kenshin@rog:~$ nvp git setup
    2022/07/18 09:30:00 [nvp.core.git_manager] INFO: Validating git setup in home dir '/home/kenshin'
    2022/07/18 09:30:00 [nvp.core.git_manager] INFO: Installing ssh private key /home/kenshin/.ssh/id_rsa_gitlab.eumetsat.int_git
    2022/07/18 09:30:00 [nvp.core.git_manager] INFO: Adding gitlab.eumetsat.int to known_hosts...
    Welcome to GitLab, @eroche!
    2022/07/18 09:30:01 [nvp.core.git_manager] INFO: Installing ssh private key /home/kenshin/.ssh/id_rsa_gitlab.gmv-insyen.com_git
    2022/07/18 09:30:01 [nvp.core.git_manager] INFO: Adding gitlab.gmv-insyen.com to known_hosts...
    Welcome to GitLab, @manu!
    2022/07/18 09:30:05 [nvp.core.git_manager] INFO: Installing ssh private key /home/kenshin/.ssh/id_rsa_gitlab.insyen.com_git
    2022/07/18 09:30:05 [nvp.core.git_manager] INFO: Adding gitlab.insyen.com to known_hosts...
    Welcome to GitLab, @manu!
  • To clone an NVP project we can use for instance (in the correct parent folder):
    $ nvp git clone -p t7 eum_resp_t7
  • public/projects/nervproj/nervproj.txt
  • Last modified: 2022/07/25 12:24
  • (external edit)