Shopify Socialproofing App Repository

Build Status


  • Up to Python 3.6.3 installed

Setting up your development environment

  • Clone the repository
$ git clone
  • Set up your virtual environment

$ virtualenv -p python3 venv
$ source venv/bin/activate
  • Set your environment variables.

$ export API_KEY=<API_KEY>
  • Install dependencies
$ pip install -r requirements.txt
  • Run the server
$ python3 runserver

You should see something like:

(venv) dtl-macbook1:Shopify-SocialProofing jliaolocal$ python3 runserver

Performing system checks...

System check identified no issues (0 silenced).

You have 13 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
Run 'python migrate' to apply them.

October 31, 2017 - 17:20:00
Django version 1.11.1, using settings 'app.settings'
Starting development server at
Quit the server with CONTROL-C.

In order to build the front end bundle, navigate to app/react From the directory with the package.json, run npm install to have all the node_modules.

Now run npm run build in order to compile the bundle.js. It should show up in static/app/bundle.js folder where it can be required in by any html file.

Shopify Development Store

Shopify Partners


Heroku is the hosting service for the app and the database (postgres).

To query the database via Heroku:

  1. More -> Run Console
$ heroku run bash
  1. Connect to the database
$ psql -h <host> -p <port> -U <username> <database>
  1. Run a query

$ SELECT * FROM app_stores;

 id |           store_name            |         permanent_token
  1 | | 948d9463f07e4bfcc8b5324b62637898
(1 row)


Trello board found here.

Continuous Integration

Currently using Travis CI.

Running tests

To run the tests manually, use the following command:

$ python3 test


View Github