Skip to content

Commit

Permalink
Update base INSTALL to markdown and remove outdated content
Browse files Browse the repository at this point in the history
  • Loading branch information
stanley-cheung committed Mar 3, 2016
1 parent 7db77f8 commit 6dd3c70
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 222 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ In order to protect both you and ourselves, you will need to sign the
### Technical requirements

You will need several tools to work with this repository. In addition to all of
the packages described in the [INSTALL](INSTALL) file, you will also need
the packages described in the [INSTALL](INSTALL.md) file, you will also need
python, and the mako template renderer. To install the latter, using pip, one
should simply be able to do `pip install mako`.

Expand Down
217 changes: 0 additions & 217 deletions INSTALL

This file was deleted.

45 changes: 45 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#If you are in a hurry

For language-specific installation instructions, please refer to these
documents

* [C++](examples/cpp)
* [C#](src/csharp): NuGet package `Grpc`
* [Go](https://github.com/grpc/grpc-go): `go get google.golang.org/grpc`
* [Java](https://github.com/grpc/grpc-java)
* [Node](src/node): `npm install grpc`
* [Objective-C](src/objective-c)
* [PHP](src/php): `pecl install grpc-beta`
* [Python](src/python/grpcio): `pip install grpcio`
* [Ruby](src/ruby): `gem install grpc`


#Pre-requisites

##Linux

```sh
$ [sudo] apt-get install build-essential autoconf libtool
```

##Mac OSX

For a Mac system, git is not available by default. You will first need to
install Xcode from the Mac AppStore and then run the following command from a
terminal:

```sh
$ [sudo] xcode-select --install
```

#Build from Source

This is for compiling just the gRPC C Core library.

```sh
$ git clone https://github.com/grpc/grpc.git
$ cd grpc
$ git submodule update --init
$ make
$ [sudo] make install
```
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ You can find more detailed documentation and examples in the [doc](doc) and [exa

#Installation

See [grpc/INSTALL](INSTALL) for installation instructions for various platforms.
See [INSTALL](INSTALL.md) for installation instructions for various platforms.

#Repository Structure & Status

Expand Down
2 changes: 1 addition & 1 deletion examples/cpp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Installation

To install gRPC on your system, follow the instructions [here](../../INSTALL).
To install gRPC on your system, follow the instructions [here](../../INSTALL.md).

## Hello C++ gRPC!

Expand Down
2 changes: 1 addition & 1 deletion examples/cpp/cpptutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ message Point {

Next we need to generate the gRPC client and server interfaces from our .proto service definition. We do this using the protocol buffer compiler `protoc` with a special gRPC C++ plugin.

For simplicity, we've provided a [makefile](route_guide/Makefile) that runs `protoc` for you with the appropriate plugin, input, and output (if you want to run this yourself, make sure you've installed protoc and followed the gRPC code [installation instructions](../../INSTALL) first):
For simplicity, we've provided a [makefile](route_guide/Makefile) that runs `protoc` for you with the appropriate plugin, input, and output (if you want to run this yourself, make sure you've installed protoc and followed the gRPC code [installation instructions](../../INSTALL.md) first):

```shell
$ make route_guide.grpc.pb.cc route_guide.pb.cc
Expand Down
2 changes: 1 addition & 1 deletion examples/cpp/helloworld/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### Install gRPC
Make sure you have installed gRPC on your system. Follow the instructions here:
[https://github.com/grpc/grpc/blob/master/INSTALL](../../../INSTALL).
[https://github.com/grpc/grpc/blob/master/INSTALL](../../../INSTALL.md).

### Get the tutorial source code

Expand Down

0 comments on commit 6dd3c70

Please sign in to comment.