Versions Compared

Key

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

...

Info

If there are sudden unexplained errors in your program, it is possible that one of these libraries was updated. In most cases, all you'll need is a git pull from the relevant repo. LCLS Tools specifically also needs the pip upgrade

Porting to Production

Once you're happy with whatever program you're working on and think that it's ready (and safe) to run on production, you can connect your GitHub repo

Setup

  1. ssh into srv01 and activate your own profile
  2. make a directory with the desired name (this isn't a clone so it doesn't make the directory for you)
  3. navigate to that directory and run git init
  4. run ~/zacarias/utils/linkRepoToGithub/link_repo_to_github.sh -i and follow the prompts
  5. run git pull origin main and all of the files should now be there

Updating

  1. If you know where in AFS you connected your repo (setup step 4) skip to step 2 otherwise navigate to your production repository and run git remote -v to see where origin is
    1. It will look something like ssh:///[path to remote]
  2. ssh into an AFS machine that has internet connectivity
  3. navigate to the repo found in step 1
  4. run git --bare fetch origin main:main
  5. ssh to lcls-srv01 using your own profile
  6. navigate back to your production repo and run git pull origin main

Content by Label
showLabelsfalse
max5
spacesSRF
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "pydm" and type = "page" and space = "SRF"
labelskb-how-to-article

...