diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-01-30 00:28:52 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-01-30 00:28:52 -0500 |
commit | a38361ab18235aa273847b3a3a6d0509aefcaf14 (patch) | |
tree | cdf62314dbd33f326c67f7d427f2bb8bd8954ee6 /mission | |
parent | 9ef736c76a5787f09ce6507af652985198594a89 (diff) | |
download | stasis-a38361ab18235aa273847b3a3a6d0509aefcaf14.tar.gz |
For now these mission configurations do not do much
The jwst "method" defined here is probably the future though.
Diffstat (limited to 'mission')
-rw-r--r-- | mission/hst/hst.ini | 62 | ||||
-rw-r--r-- | mission/jwst/jwst.ini | 5 | ||||
-rw-r--r-- | mission/jwst/readme.md.in | 48 |
3 files changed, 115 insertions, 0 deletions
diff --git a/mission/hst/hst.ini b/mission/hst/hst.ini new file mode 100644 index 0000000..5e77ffa --- /dev/null +++ b/mission/hst/hst.ini @@ -0,0 +1,62 @@ +[finalize] +release_notes_file = release_notes.md +release_notes_contents = +readme_file = README.md +readme_data = + Currently, conda is required to manage installation of the environment. + A fresh installation of Anaconda3 or Miniconda3 is not required for + each {meta:name} 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 + YAML specification 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/{meta:name}/{cycle}/latest-linux.yml + $ conda env create --file latest-linux.yml + ``` + ### Activate the pipeline environment + + ``` + $ conda activate {release_name} + ``` + + Each new delivery iteration of the calibration environment will 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: + https://conda.io/projects/conda/en/latest/user-guide/install/index.html + + **Miniconda:** + + ``` + # TODO: UPDATE THIS + $ 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):** + + ``` + # TODO: UPDATE THIS + $ 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 + ``` diff --git a/mission/jwst/jwst.ini b/mission/jwst/jwst.ini new file mode 100644 index 0000000..f400f73 --- /dev/null +++ b/mission/jwst/jwst.ini @@ -0,0 +1,5 @@ +[template:readme.md.in] +destination = README.md + +[template:release_notes.md.in] +destination = RELEASE_NOTES.md
\ No newline at end of file diff --git a/mission/jwst/readme.md.in b/mission/jwst/readme.md.in new file mode 100644 index 0000000..f730f79 --- /dev/null +++ b/mission/jwst/readme.md.in @@ -0,0 +1,48 @@ +Currently, conda is required to manage installation of the environment. +A fresh installation of Anaconda3 or Miniconda3 is not required for +each {{meta.name}} 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 +YAML specification 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/{{meta.name}}/{{meta.version}}/latest-linux.yml +$ conda env create --file latest-linux.yml +``` +### Activate the pipeline environment + +``` +$ conda activate {{info.release_name}} +``` + +Each new delivery iteration of the calibration environment will 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: +https://conda.io/projects/conda/en/latest/user-guide/install/index.html + +**Miniconda:** + +``` +# TODO: UPDATE THIS +$ wget {{conda.installer_baseurl}}/{{conda.installer_name}}-{{conda.installer_version}}-{{conda.installer_platform}}-{{conda.installer_arch}}.sh +$ bash {{conda.installer_name}}-{{conda.installer_version}}-{{conda.installer_platform}}-{{conda.installer_arch}}.sh +$ $HOME/{{conda.installer_name}}/condabin/conda init +```
\ No newline at end of file |