https://github.com/benoitzugmeyer/test-graphene
Testing graphene + flask + relay with a small project
https://github.com/benoitzugmeyer/test-graphene
Last synced: about 1 year ago
JSON representation
Testing graphene + flask + relay with a small project
- Host: GitHub
- URL: https://github.com/benoitzugmeyer/test-graphene
- Owner: BenoitZugmeyer
- Created: 2016-02-14T22:39:31.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-15T13:37:34.000Z (over 10 years ago)
- Last Synced: 2025-01-13T16:25:08.391Z (over 1 year ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
test-graphene
=============
A small app to test Graphene_ integration with Flask_ and Relay_.
Building
--------
.. code:: bash
# Get the source
git clone https://github.com/BenoitZugmeyer/test-graphene
cd test-graphene
# Create a virtual env
virtualenv3 venv # Must be python 3!
. venv/bin/activate
# Install Python dependencies
python setup.py install
# Install JavaScript dependencies and build the files
cd ui
npm install
npm run build # You can use `npm run watch` to watch for changes
cd ..
# Launch it
python test_graphene
.. _Graphene: http://graphene-python.org/
.. _Flask: http://flask.pocoo.org/
.. _Relay: https://facebook.github.io/relay/