|
3 | 3 | Installation |
4 | 4 | ============ |
5 | 5 |
|
6 | | -The histogram package can be installed: |
| 6 | +The histogram package can be installed with 2 ways: |
7 | 7 |
|
8 | | - 1. from the source code: |
| 8 | +* from the source code: |
9 | 9 |
|
10 | | - 1. Install [Pixi](https://pixi.sh/) for managing environments, dependencies, packaging, and task execution. (if it is not already installed). |
| 10 | + 1. Install `Pixi <https://pixi.sh/>`_ for managing environments, dependencies, packaging, and task execution. (if it is not already installed). |
11 | 11 |
|
12 | 12 | Pixi installation e.g. for Linux: |
13 | 13 |
|
14 | | - ```bash |
| 14 | + .. code:: shell |
15 | 15 |
|
16 | | - curl -fsSL https://pixi.sh/install.sh | sh |
| 16 | + $ curl -fsSL https://pixi.sh/install.sh | sh |
17 | 17 |
|
18 | | - ``` |
19 | | - Also install git, if it is missing. |
20 | 18 |
|
21 | | - 2. Go to a location where you would like to install the program (e.g., $HOME/software), run: |
| 19 | + Also install git, if it is missing. |
22 | 20 |
|
| 21 | + 2. Go to a location where you would like to install the program, run: |
23 | 22 |
|
24 | | - `git clone https://github.com/neutrons/histogram-dev.git` |
| 23 | + .. code:: shell |
25 | 24 |
|
26 | | - 3. Setup/Update the environment |
| 25 | + $ git clone https://github.com/neutrons/histogram-dev.git |
27 | 26 |
|
28 | | - ```bash |
29 | | - pixi install |
30 | | - ``` |
| 27 | + 3. Setup and enter the environment |
31 | 28 |
|
32 | | - or to enter the environment |
| 29 | + .. code:: shell |
33 | 30 |
|
34 | | - ```bash |
35 | | - pixi shell |
| 31 | + $ pixi shell |
36 | 32 |
|
37 | | - ``` |
38 | | - 2. as a conda package: https://anaconda.org/neutrons/histogram |
| 33 | +* as a conda package: `Histogram Package Installation Instructions <https://anaconda.org/neutrons/histogram>`_ |
39 | 34 |
|
40 | 35 |
|
41 | 36 | To test, in the root directory type: |
42 | 37 |
|
43 | 38 | pytest |
44 | 39 |
|
45 | | -:ref:`More details <install-details>` |
| 40 | +:ref:`Additional details <install-details>` |
0 commit comments