Skip to content

Commit 3ccd939

Browse files
committed
Improved installation instructions
1 parent c0f6768 commit 3ccd939

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,16 @@
22

33
[![Build Status](https://travis-ci.org/graphql-python/webob-graphql.svg?branch=master)](https://travis-ci.org/graphql-python/webob-graphql) [![Coverage Status](https://coveralls.io/repos/graphql-python/webob-graphql/badge.svg?branch=master&service=github)](https://coveralls.io/github/graphql-python/webob-graphql?branch=master) [![PyPI version](https://badge.fury.io/py/webob-graphql.svg)](https://badge.fury.io/py/webob-graphql)
44

5-
Adds GraphQL support to your WebOb application.
5+
Adds GraphQL support to your WebOb (Pyramid, Pylons, ...) application.
6+
7+
## Installation
8+
9+
For instaling WebOb-GraphQL, just run this command in your shell
10+
11+
```bash
12+
pip install "webob-graphql>=1.0.dev"
13+
```
14+
615

716
## Usage
817

@@ -26,7 +35,7 @@ from webob_graphql import serve_graphql_request
2635
def graphql_view(request):
2736
return serve_graphql_request(request, schema)
2837

29-
# Optional, for adding batch query support (used in Apollo-Client)
38+
# Optional, for adding batch query support (used in Apollo-Client)
3039
return serve_graphql_request(request, schema, batch_enabled=True)
3140
```
3241

README.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,16 @@ WebOb-GraphQL
33

44
|Build Status| |Coverage Status| |PyPI version|
55

6-
Adds GraphQL support to your WebOb application.
6+
Adds GraphQL support to your WebOb (Pyramid, Pylons, ...) application.
7+
8+
Installation
9+
------------
10+
11+
For instaling WebOb-GraphQL, just run this command in your shell
12+
13+
.. code:: bash
14+
15+
pip install "webob-graphql>=1.0.dev"
716
817
Usage
918
-----

0 commit comments

Comments
 (0)