diff --git a/_layouts/page.html b/_layouts/page.html index fee07e51..486b0c67 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -17,8 +17,8 @@ layout: default diff --git a/index.html b/index.html index 41c57de5..73fb402a 100644 --- a/index.html +++ b/index.html @@ -23,7 +23,7 @@ layout: default diff --git a/quickstart.md b/quickstart.md new file mode 100644 index 00000000..b66530e1 --- /dev/null +++ b/quickstart.md @@ -0,0 +1,40 @@ +--- +layout: page +title: Quickstart Guide +description: A Quick guide to Graphene +--- + +Graphene is a powerful framework for creating GraphQL schemas easily in Python. + +## Requirements + +- Python (2.6.5+, 2.7, 3.2, 3.3, 3.4, 3.5, pypy) +- Graphene (0.1+) + +The following packages are optional: + +- Django (1.6+) + + +## Project setup + +```bash +# Create the project directory +mkdir tutorial +cd tutorial + +# Create a virtualenv to isolate our package dependencies locally +virtualenv env +source env/bin/activate # On Windows use `env\Scripts\activate` + +pip install graphene +``` + +## Types + +First we're going to define some GraphQL ObjectTypes that we'll use in our `Schema`: + +``` +import graphene + +``` \ No newline at end of file