aboutsummaryrefslogtreecommitdiff
path: root/rules/hst.ini
blob: 5e77ffa5b5f08d52330f05556bc931728b333801 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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
    ```