Versions Compared

Key

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

...

Developing applications on your local machine is strongly recommended as it saves on headaches with using shared OPIs and allows for robust testing on a simulated machine before launching in production.

Info
This tutorial guide was built written for unix machines, so if you have windows, you should consider setting up WSL through SLAC IT if you don't want to figure out the equivalent windows commands. if you don't want to do that, SLAC offers NoMachine as an option for running Linux, Stanford offers a virtual desktop that runs macOS, or you can install your own ubuntu in virtualbox.

...

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. Add your AFS ssh key to github
  2. ssh into srv01 (ssh [username]@centos7.slac.stanford.edu > ssh mcclogin > ssh physics@lcls-srv01 ) and activate your own profile
  3. make a directory with the desired name (this isn't a clone so it doesn't make the directory for you)
  4. navigate to that directory and run git init
  5. run ~/zacarias/utils/linkRepoToGithub/link_repo_to_github.sh -i and follow the prompts
  6. run git pull origin main and all of the files should now be there

...