diff options
| author | DeliveryAutomation <automated@stsci.edu> | 2022-05-28 00:10:20 -0400 | 
|---|---|---|
| committer | DeliveryAutomation <automated@stsci.edu> | 2022-05-28 00:10:20 -0400 | 
| commit | 0fb6c321e5d3388f6221b1b3cc2bc4117320a87a (patch) | |
| tree | 346d3dccd20b39cac4c82044af14b4b2b9c72ea8 /caldp/20220527/README.md | |
| parent | eeb2d13189340a951f38984c62abf0727ec9ed33 (diff) | |
| download | astroconda-releases-0fb6c321e5d3388f6221b1b3cc2bc4117320a87a.tar.gz | |
Automatic commit of CALDP_20220527_CAL_final
Diffstat (limited to 'caldp/20220527/README.md')
| -rw-r--r-- | caldp/20220527/README.md | 49 | 
1 files changed, 49 insertions, 0 deletions
| diff --git a/caldp/20220527/README.md b/caldp/20220527/README.md new file mode 100644 index 0000000..cfdc49e --- /dev/null +++ b/caldp/20220527/README.md @@ -0,0 +1,49 @@ +# Installing +Currently, conda is required to manage installation of the environment. A fresh installation of Anaconda3 or Miniconda3is not required for each HCALDP release, however.  An existing conda installation may be used. The method described here + allows for multiple, entirely segregated, pipeline installations. + +A `bash`-compatible shell is required for all steps below. + +Python dependencies are taken directly from PyPI or development repositories as needed, so conda's ability to install hybrid conda/pip environments from a YAMLspecification is used. This requires first downloading the specification file and then creating the environment with it. + +## For existing conda installations: + +### Install the pipeline environment +``` +$ curl -O https://ssb.stsci.edu/releases/caldp/20220527/latest-linux.yml +$ conda env create -n caldp_20220527 --file latest-linux.yml +``` +### Activate the pipeline environment + +``` +$ source activate caldp_20220527 +``` + +Each new delivery iteration of the calibration environmentwill need to be installed using the above commands. + +------ + +## If conda is not yet installed +  +If the conda tool is not available on the target system, it will need to be +installed before the calibration environment can be installed. +  +### Installing conda +  +For detailed instructions of this step, please visit: http://docs.continuum.io/anaconda/install#linux-install +  +**Miniconda:** +  +``` +$ wget https://repo.anaconda.com/miniconda/Miniconda3-py37_4.8.2-Linux-x86_64.sh +$ bash Miniconda3-py37_4.8.2-Linux-x86_64.sh +$ export PATH=$HOME/miniconda3/bin:$PATH +``` +  +**Anaconda (if preferred):** +  +``` +$ wget https://repo.continuum.io/archive/Anaconda3-2019.10-Linux-x86_64.sh +$ bash Anaconda3-2019.10-Linux-x86_64.sh +$ export PATH=$HOME/anaconda3/bin:$PATH +``` | 
