| ... | ... | @@ -6,7 +6,7 @@ We also make use of [conda virtual environments](https://conda.io/docs/user-guid |
|
|
|
* `environment_osx.yml` is the same except for OSX.
|
|
|
|
|
|
|
|
# Instructions
|
|
|
|
If you are already using conda virtual environments, return to root before proceeding
|
|
|
|
If you are already using conda virtual environments, deactivate before proceeding
|
|
|
|
```
|
|
|
|
> conda deactivate
|
|
|
|
```
|
| ... | ... | @@ -20,14 +20,23 @@ Run the install script in the cloned repository |
|
|
|
> cd shakemap_src
|
|
|
|
> bash install.sh
|
|
|
|
```
|
|
|
|
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.
|
|
|
|
|
|
|
|
If the script finishes without errors, then the final two lines of output will be
|
|
|
|
```
|
|
|
|
Successfully installed shakemap
|
|
|
|
Type 'conda activate shakemap' to use this new virtual environment.
|
|
|
|
```
|
|
|
|
|
|
|
|
If you didn't already have conda configured prior to running the install script, you may need to source the bash profile; on OSX:
|
|
|
|
```
|
|
|
|
source ~/.bash_profile
|
|
|
|
```
|
|
|
|
and in linux:
|
|
|
|
```
|
|
|
|
source ~/.bashrc
|
|
|
|
```
|
|
|
|
|
|
|
|
Last, activate the shakemap virtual environment
|
|
|
|
```
|
|
|
|
> conda activate shakemap
|
| ... | ... | |
| ... | ... | |