| ... | @@ -32,6 +32,21 @@ Run the install script in the cloned repository |
... | @@ -32,6 +32,21 @@ Run the install script in the cloned repository |
|
|
```
|
|
```
|
|
|
If no version of `conda` is detected, it will install [miniconda](https://conda.io/miniconda.html), which we use for managing dependencies and creating a virtual environment for running ShakeMap.
|
|
If no version of `conda` is detected, it will install [miniconda](https://conda.io/miniconda.html), which we use for managing dependencies and creating a virtual environment for running ShakeMap.
|
|
|
|
|
|
|
|
|
To install with developer tools included, run the same install script but with the "-d" switch:
|
|
|
|
```
|
|
|
|
> bash install.sh -d
|
|
|
|
```
|
|
|
|
This will install these additional packages:
|
|
|
|
- ipython
|
|
|
|
- autopep8
|
|
|
|
- flake8
|
|
|
|
- pyflakes
|
|
|
|
- rope
|
|
|
|
- yapf
|
|
|
|
- sphinx
|
|
|
|
- sphinx-argparse
|
|
|
|
|
|
|
|
|
|
|
If the script finishes without errors, then the final two lines of output will be
|
|
If the script finishes without errors, then the final two lines of output will be
|
|
|
```
|
|
```
|
|
|
Successfully installed shakemap
|
|
Successfully installed shakemap
|
| ... | @@ -51,23 +66,5 @@ Last, activate the shakemap virtual environment |
... | @@ -51,23 +66,5 @@ Last, activate the shakemap virtual environment |
|
|
```
|
|
```
|
|
|
> conda activate shakemap
|
|
> conda activate shakemap
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
# Optional Installations
|
|
|
|
|
The above instructions will install the minimum libraries required to run ShakeMap. For developers or system administrators, there are a number of additional packages that are useful for checking syntax, debugging, and building documentation. To install the optional software you will first want to execute the following command:
|
|
|
|
|
```
|
|
|
|
|
conda config --append channels conda-forge
|
|
|
|
|
```
|
|
|
|
|
We recommend the following optional installations:
|
|
|
|
|
```
|
|
|
|
|
conda install ipython \
|
|
|
|
|
autopep8 \
|
|
|
|
|
flake8 \
|
|
|
|
|
pyflakes \
|
|
|
|
|
rope \
|
|
|
|
|
yapf \
|
|
|
|
|
sphinx
|
|
|
|
|
pip install sphinx-argparse
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
---
|
|
|
Next step: [Testing](testing) |
|
Next step: [Testing](testing) |
|
\ No newline at end of file |
|
|