Prerequisites:
- Have
virtualenv
installed
pip install virtualenv
- Get a Square account
Steps to Setup:
git clone https://github.com/mootrichard/pycon-square.git
cd pycon-square
touch .env
Put your sandbox token into your .env
file as
ACCESS_TOKEN=YOUR_ACCESS_TOKEN
replacing YOUR_ACCESS_TOKEN
with your access token found at https://connect.squareup.com/apps
virtualenv venv
source ./venv/bin/activate
pip install -r requirements.txt
python server.py
Open browser to http://localhost:5000/graphql