Name: graphene
Owner: How to GraphQL
Description: null
Created: 2017-06-21 10:13:13.0
Updated: 2017-12-19 20:47:06.0
Pushed: 2017-08-03 13:18:57.0
Homepage: null
Size: 16
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This repo aims to showcase how to create a simple Hacker News clone with Django and GraphQL. Demo
First, is recommended to have a virtual enviroment for running our project:
stalling virtualenv-burrito https://github.com/brainsik/virtualenv-burrito
-sL https://raw.githubusercontent.com/brainsik/virtualenv-burrito/master/virtualenv-burrito.sh | $SHELL
ke a new python enviroment
rtualenv howtographene
Then, install the dependencies and run the app:
install -r requirements.txt
install -r requirements-test.txt
is will create the DB
on hackernews/manage.py migrate
is will run the dev server
on hackernews/manage.py runserver
For running the tests you can execute:
est hackernews
To get your own Hackernews running on Heroku, click the button below:
Fill out the form, and you should be cooking with gas in a few seconds.
This are the commands executed for creating the skeleton of this project
rtualenv howtowgraphene
install Django
go-admin startproject hackernews
d basic app
on manage.py startapp links
on manage.py startapp users