aboutsummaryrefslogtreecommitdiff
path: root/mission/jwst
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-01-30 00:28:52 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-01-30 00:28:52 -0500
commita38361ab18235aa273847b3a3a6d0509aefcaf14 (patch)
treecdf62314dbd33f326c67f7d427f2bb8bd8954ee6 /mission/jwst
parent9ef736c76a5787f09ce6507af652985198594a89 (diff)
downloadstasis-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/jwst')
-rw-r--r--mission/jwst/jwst.ini5
-rw-r--r--mission/jwst/readme.md.in48
2 files changed, 53 insertions, 0 deletions
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