Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
a79a896d
Commit
a79a896d
authored
9 years ago
by
Stanley Cheung
Browse files
Options
Downloads
Patches
Plain Diff
update installation instructions, review feedback
parent
dbeb1cd9
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
INSTALL
+14
-10
14 additions, 10 deletions
INSTALL
src/node/README.md
+21
-1
21 additions, 1 deletion
src/node/README.md
src/python/README.md
+21
-1
21 additions, 1 deletion
src/python/README.md
src/ruby/README.md
+21
-5
21 additions, 5 deletions
src/ruby/README.md
with
77 additions
and
17 deletions
INSTALL
+
14
−
10
View file @
a79a896d
...
...
@@ -9,21 +9,25 @@ wiki pages:
* If you are in a hurry *
*************************
$ git clone https://github.com/grpc/grpc.git
$ cd grpc
$ git submodule update --init
$ make
$ sudo make install
On Linux (Debian):
Note: you will need to add the Debian 'unstable' distribution to your source
file first.
Add the following line to your `/etc/apt/sources.list` file:
OR, on Linux (Debian):
deb http://ftp.us.debian.org/debian unstable main contrib non-free
Install the gRPC library
$ sudo apt-get install libgrpc-dev
Note: you will need to add the Debian 'unstable' distribution to your source
file first. Example: Add the following line to your `/etc/apt/sources.list`
file.
OR
deb http://ftp.us.debian.org/debian unstable main contrib non-free
$ git clone https://github.com/grpc/grpc.git
$ cd grpc
$ git submodule update --init
$ make
$ sudo make install
You don't need anything else than GNU Make, gcc and autotools. Under a Debian
or Ubuntu system, this should boil down to the following packages:
...
...
This diff is collapsed.
Click to expand it.
src/node/README.md
+
21
−
1
View file @
a79a896d
...
...
@@ -8,7 +8,26 @@ Alpha : Ready for early adopters
-
[
homebrew
][]
on Mac OS X. These simplify the installation of the gRPC C core.
## INSTALLATION
On Mac OS X, install
[
homebrew
][]
. Run the following command to install gRPC Node.js.
**Linux (Debian):**
Add
[
debian unstable
][]
(sid) to your
`sources.list`
file. Example:
```
sh
echo
"deb http://ftp.us.debian.org/debian unstable main contrib non-free"
|
\
sudo tee
-a
/etc/apt/sources.list
```
Install the gRPC debian package
```
sh
sudo
apt-get update
sudo
apt-get
install
libgrpc-dev
```
**Mac OS X**
Install
[
homebrew
][]
. Run the following command to install gRPC Node.js.
```
sh
$
curl
-fsSL
https://goo.gl/getgrpc | bash
-s
nodejs
```
...
...
@@ -88,3 +107,4 @@ An object with factory methods for creating credential objects for servers.
[
homebrew
]:
http://brew.sh
[
gRPC install script
]:
https://raw.githubusercontent.com/grpc/homebrew-grpc/master/scripts/install
[
debian unstable
]:
https://www.debian.org/releases/sid/
This diff is collapsed.
Click to expand it.
src/python/README.md
+
21
−
1
View file @
a79a896d
...
...
@@ -13,7 +13,26 @@ PREREQUISITES
INSTALLATION
-------------
On Mac OS X, install
[
homebrew
][]
. Run the following command to install gRPC Python.
**Linux (Debian):**
Add
[
debian unstable
][]
(sid) to your
`sources.list`
file. Example:
```
sh
echo
"deb http://ftp.us.debian.org/debian unstable main contrib non-free"
|
\
sudo tee
-a
/etc/apt/sources.list
```
Install the gRPC debian package
```
sh
sudo
apt-get update
sudo
apt-get
install
libgrpc-dev
```
**Mac OS X**
Install
[
homebrew
][]
. Run the following command to install gRPC Python.
```
sh
$
curl
-fsSL
https://goo.gl/getgrpc | bash
-s
python
```
...
...
@@ -62,3 +81,4 @@ $ ../../tools/distrib/python/submit.py
[
gRPC install script
]:
https://raw.githubusercontent.com/grpc/homebrew-grpc/master/scripts/install
[
Quick Start
]:
http://www.grpc.io/docs/tutorials/basic/python.html
[
detailed example
]:
http://www.grpc.io/docs/installation/python.html
[
debian unstable
]:
https://www.debian.org/releases/sid/
This diff is collapsed.
Click to expand it.
src/ruby/README.md
+
21
−
5
View file @
a79a896d
...
...
@@ -16,7 +16,26 @@ PREREQUISITES
INSTALLATION
---------------
On Mac OS X, install
[
homebrew
][]
. Run the following command to install gRPC Ruby.
**Linux (Debian):**
Add
[
debian unstable
][]
(sid) to your
`sources.list`
file. Example:
```
sh
echo
"deb http://ftp.us.debian.org/debian unstable main contrib non-free"
|
\
sudo tee
-a
/etc/apt/sources.list
```
Install the gRPC debian package
```
sh
sudo
apt-get update
sudo
apt-get
install
libgrpc-dev
```
**Mac OS X**
Install
[
homebrew
][]
. Run the following command to install gRPC Ruby.
```
sh
$
curl
-fsSL
https://goo.gl/getgrpc | bash
-s
ruby
```
...
...
@@ -25,10 +44,6 @@ This will download and run the [gRPC install script][], then install the latest
BUILD FROM SOURCE
---------------------
-
Clone this repository
-
Install the gRPC core library. Please refer to the
[
INSTALL
](
https://github.com/grpc/grpc/blob/master/INSTALL
)
file for more instructions.
```
sh
$
sudo
apt-get
install
libgrpc-dev
```
-
Install Ruby 2.x. Consider doing this with
[
RVM
](
http://rvm.io
)
, it's a nice way of controlling
the exact ruby version that's used.
...
...
@@ -78,3 +93,4 @@ Directory structure is the layout for [ruby extensions][]
[
ruby extensions
]:
http://guides.rubygems.org/gems-with-extensions/
[
rubydoc
]:
http://www.rubydoc.info/gems/grpc
[
grpc.io
]:
http://www.grpc.io/docs/installation/ruby.html
[
debian unstable
]:
https://www.debian.org/releases/sid/
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment