- [ ] do not touch root conda env!!!
- [ ] From the comfort of your office:
- [ ]
scp make_the_env target_machine:~/
- [ ]
scp daq target_machine:~/
- [ ]
ssh target_machine
- [ ]
sudo ./make_the_env extra pkgs
- [ ]
sudo cp daq /usr/bin
- [ ]
sudo chmod a+rx /usr/bin/daq
- [ ]
- [ ] go teach them about
daq
- [ ] run beamline User Acceptance Tests, fix as needed
- [ ] to install additional packages, as your user
$ sudo conda install -p /opt/conda_envs/collection-17Q1.0 PACKAGE_NAME
- [ ] make sure they know about jupyter hub
- [ ] if it is not set up, find out what server they want it on and email Dan
- [ ] commit + push IPython profile
- [ ] make sure BL staff are owners of BL org
- [ ] make sure DAMA also has commit right (and probably at least one owner)
- [ ] dump updated conda (as BL user and log)
$ conda env export -n collection-17Q1.0 > /tmp/installed-17Q1.0.txt
- [ ] make note in olog logbook.nsls2.bnl.gov logbook with txt files as attachments, note any additional packages needed
#! /bin/bash
V=17Q1.0
source /opt/conda/bin/activate collection-$V
ipython --profile=collection
#! /bin/bash
V=17Q1.0
/opt/conda/bin/conda create -p /opt/conda_envs/collection-$V collection=$V $*
find /opt/conda_envs/collection-$V -type d -execdir chmod og+x {} +
chmod -R a+r /opt/conda_envs/collection-$V