Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

1. Update workflow component repositories

  • CD into $JEDI_WORKFLOW
    • $> cd $JEDI_WORKFLOW
  • Update ewok and skylab (optionally add and update jedi-tools and jedi-docs) @develop
  • If using localhost, then add and update r2d2 and r2d2-datadata@develop
  • Delete solo
    • $> rm -Rf solo
  • Clone r2d2-client from https://github.com/JCSDA-internal/r2d2-client

2. Create a new python virtual environment

  • Run your local setup shell script
  • CD into $WORKFLOW_ROOT
    • $> cd $WORKFLOW_ROOT
  • Deactivate your current venv
    • $> deactivate
  • Remove your virtual environment
    • $> rm -Rf venv
  • Create a new virtual environment using the stack-python
    • $> python3 -m venv venv
  • Activate the new virtual environment
    • $> source venv/bin/activate

3. Install workflow components

  • CD into $JEDI_WORKFLOW

    • $> cd $JEDI_WORKFLOW
  • Install each CD into each codebase repo: ewok, r2d2-client, and simobs
      Run 
      • $> cd ewok
      • $> python3 
      • python3
        -m pip install .
      • $> cd ..
      • repeat for r2d2-client and simobs

    4. Add new environmental variables

    • $> export R2D2_USER="<your r2d2
      username>
       user name>"
    • $> export R2D2_API_KEY="<your r2d2 api key>"
    • If running localhost 
      • $> export R2D2_USER="localhost"
      • $> export R2D2_API_KEY="localhost"
      • $> export R2D2_SERVER_HOST="http://localhost"
      • $> export R2D2_SERVER_PORT="8080"

    5. If localhost, install and start the R2D2 server

    • vim $JEDI_WORKFLOW/r2d2/server/README.md
    • Follow instructions at 

      "Localhost Docker with Database"