From ddc2214617292073c12c0a0fc9582a110b3afde1 Mon Sep 17 00:00:00 2001 From: Eddie McWhirter <emcwhirter@usgs.gov> Date: Wed, 4 Mar 2015 15:45:08 -0700 Subject: [PATCH] Clean up more spacing for code blocks. --- README.md | 12 ++++++------ readme_dependency_install.md | 15 ++++++--------- 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 9d60c364..67fb9cdf 100644 --- a/README.md +++ b/README.md @@ -16,11 +16,11 @@ We recommend using [virtual environments][] 2. Install numpy, obspy requires this be installed separately. - `pip install numpy` + pip install numpy 3. Install geomagio - `pip install git+https://github.com/usgs/geomag-algorithms.git` + pip install git+https://github.com/usgs/geomag-algorithms.git 4. Use geomagio @@ -35,21 +35,21 @@ Developing 1. Use npm to install `grunt-cli` - `npm install -g grunt-cli` + npm install -g grunt-cli 2. Install `numpy`, `scipy`, `obspy`, and `flake8` 3. Clone this project (or fork and clone your fork) - `git clone https://github.com/usgs/geomag-algorithms.git` + git clone https://github.com/usgs/geomag-algorithms.git 4. From root directory of project, install npm dependencies - `npm install` + npm install 5. Run grunt to run unit tests, and watch for changes to python files - `grunt` + grunt Coding Standards diff --git a/readme_dependency_install.md b/readme_dependency_install.md index 73d07bd0..33b96f75 100644 --- a/readme_dependency_install.md +++ b/readme_dependency_install.md @@ -40,7 +40,7 @@ Readme dependencies 1. Install `obspy` from the terminal. - `easy_install obspy` + easy_install obspy 1. Run `python` to verify that Anaconda's version of Python is being used. If it isn't, update your PATH so that Conda's HOME is before any other @@ -55,26 +55,23 @@ Readme dependencies --- ### Mac ### -1. Install `node`, `git` and `python` (2.7.X) - - On OS X, we recommend using [Homebrew][] +1. Install `node`, `git` and `python` (2.7.X). + On OS X, we recommend using [Homebrew][] - `brew install node` - - `brew install git` + brew install node + brew install git 1. Use pip to install `numpy`, `scipy`, `obspy`, and `flake8` - `pip install numpy scipy obspy flake8` + pip install numpy scipy obspy flake8 1. Update paths as needed in your `~/.bash_profile`: - ``` export PATH=$PATH:/usr/local/bin` # npm installed binaries export PATH=$PATH:/usr/local/share/npm/bin # gem installed binaries export PATH=$PATH:/usr/local/opt/ruby/bin - ``` 1. Close and re-open your terminal so that your new PATH is loaded. Make sure to navigate back to your `geomag-algorithms` project directory. -- GitLab