From cd60c8942139b29cab19fe39aaea083a1bc27ce5 Mon Sep 17 00:00:00 2001 From: Joe Nelson Date: Wed, 30 Mar 2016 13:54:52 -0700 Subject: [PATCH] Proper indentation for code blocks in lists --- CONTRIBUTING.md | 98 ++++++++++++++++++++++++------------------------- README.md | 26 ++++++------- 2 files changed, 62 insertions(+), 62 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fd3687be8..b91e86613 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -18,75 +18,75 @@ why we ask this as well as instructions for how to proceed, see the 1. Install Xcode 2. Install packages with Homebrew - ```bash - brew update - brew install git postgresql - ``` + ```bash + brew update + brew install git postgresql + ``` 3. Get, build, and test the code - ```bash - git clone https://github.com/citusdata/citus.git + ```bash + git clone https://github.com/citusdata/citus.git - cd citus - ./configure - make - make install - cd src/test/regress - make check - ``` + cd citus + ./configure + make + make install + cd src/test/regress + make check + ``` #### Debian-based Linux (Ubuntu, Debian) 1. Install build dependencies - ```bash - echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" | \ - sudo tee /etc/apt/sources.list.d/pgdg.list - wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | \ - sudo apt-key add - - sudo apt-get update + ```bash + echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" | \ + sudo tee /etc/apt/sources.list.d/pgdg.list + wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | \ + sudo apt-key add - + sudo apt-get update - sudo apt-get install -y postgresql-server-dev-9.5 postgresql-9.5 \ - libedit-dev libselinux1-dev libxslt-dev \ - libpam0g-dev git flex make - ``` + sudo apt-get install -y postgresql-server-dev-9.5 postgresql-9.5 \ + libedit-dev libselinux1-dev libxslt-dev \ + libpam0g-dev git flex make + ``` 2. Get, build, and test the code - ```bash - git clone https://github.com/citusdata/citus.git - cd citus - ./configure - make - sudo make install - cd src/test/regress - make check - ``` + ```bash + git clone https://github.com/citusdata/citus.git + cd citus + ./configure + make + sudo make install + cd src/test/regress + make check + ``` #### Red Hat-based Linux (RHEL, CentOS, Fedora) 1. Find the PostgreSQL 9.5 RPM URL for your repo at [yum.postgresql.org](http://yum.postgresql.org/repopackages.php#pg95) 2. Register its contents with Yum: - ```bash - sudo yum install -y - ``` + ```bash + sudo yum install -y + ``` 3. Install build dependencies - ```bash - sudo yum update -y - sudo yum groupinstall -y 'Development Tools' - sudo yum install -y postgresql95-devel postgresql95-server \ - libxml2-devel libxslt-devel openssl-devel \ - pam-devel readline-devel git + ```bash + sudo yum update -y + sudo yum groupinstall -y 'Development Tools' + sudo yum install -y postgresql95-devel postgresql95-server \ + libxml2-devel libxslt-devel openssl-devel \ + pam-devel readline-devel git - git clone https://github.com/citusdata/citus.git - cd citus - PG_CONFIG=/usr/pgsql-9.5/bin/pg_config ./configure - make - sudo make install - cd src/test/regress - make check - ``` + git clone https://github.com/citusdata/citus.git + cd citus + PG_CONFIG=/usr/pgsql-9.5/bin/pg_config ./configure + make + sudo make install + cd src/test/regress + make check + ``` diff --git a/README.md b/README.md index 079cb33f3..d370ea01e 100644 --- a/README.md +++ b/README.md @@ -38,27 +38,27 @@ To learn more, visit [citusdata.com](https://www.citusdata.com). * Install docker-compose: [Mac][mac_install] | [Linux][linux_install] * (Mac only) connect to Docker VM - ```bash - eval $(docker-machine env default) - ``` + ```bash + eval $(docker-machine env default) + ``` * Pull and start the docker images - ```bash - wget https://raw.githubusercontent.com/citusdata/docker/master/docker-compose.yml - docker-compose -p citus up -d - ``` + ```bash + wget https://raw.githubusercontent.com/citusdata/docker/master/docker-compose.yml + docker-compose -p citus up -d + ``` * Connect to the master database - ```bash - docker exec -it citus_master psql -U postgres -d postgres - ``` + ```bash + docker exec -it citus_master psql -U postgres -d postgres + ``` * Follow the [first tutorial][tutorial] instructions * To shut the cluster down, run - ```bash - docker-compose -p citus down - ``` + ```bash + docker-compose -p citus down + ``` ### Learn More