Skip to content

Instantly share code, notes, and snippets.

@danielballan
Forked from tacaswell/checklist.org
Last active September 29, 2016 16:54
Show Gist options
  • Save danielballan/e97024293e8d70b7186a965d47a369cb to your computer and use it in GitHub Desktop.
Save danielballan/e97024293e8d70b7186a965d47a369cb to your computer and use it in GitHub Desktop.
  • [ ] ask about any BL specific packages / installation and add them to spreadsheet
    • [ ] get list of things we need to help them package and add them to spreadsheet
  • [ ] update conda to 4.0.x – NOT to the latest version
    • $ sudo conda update -n root “conda<4.1”
  • [ ] fix permissions of /opt/conda
    • $ find /opt/conda -type d -execdir chmod og+x {} +
    • $ chmod -R a+r /opt/conda
  • [ ] install ‘blessed’ environment list
    • [ ] close all running bluesky sessions
    • [ ] dump current conda list to a file
      • $ conda env export -n collection > /tmp/previous_install.txt
    • [ ] remove any existing environment
      • $ sudo conda env remove -n collection
      • we are going with removal + recreation because we are updating

the minor version of python and to get everyone to the same exact starting point

  • [ ] Create new environment
    • $ sudo conda create -p /opt/conda_envs/collection collection
  • [ ] fix permissions of /opt/conda_envs
    • $ find /opt/conda_envs -type d -execdir chmod og+x {} +
    • $ chmod -R a+r /opt/conda_envs
    • [ ] dump updated conda
      • $ conda env export -p /opt/conda_envs/collection > /tmp/updated_install.txt
    • [ ] log to OLog in ‘DAMA Software’ logbook with txt files as attachments
  • [ ] update bl config to use metadataclient
    from metadatastore.mds import MDS
    # from metadataclient.mds import MDS
    from databroker import Broker
    from databroker.core import register_builtin_handlers
    from filestore.fs import FileStore
    
    # pull from /etc/metadatastore/connection.yaml
    mds = MDS({...}, auth=False)
    # mds = MDS({'host': CA, 'port': 7770})
    
    # pull configuration from /etc/filestore/connection.yaml
    db = Broker(mds, FileStore({...}))
    register_builtin_handlers(db.fs)
        
  • [ ] run beamline User Acceptance Tests
  • [ ] make sure they know about jupyter hub
    • [ ] if it is not set up, find out what server they want it on and email Dan
  • [ ] get contact info for ‘software contacts’ at BL and add to spreadsheet
  • [ ] 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment