Skip to content

Testing survey_json

Samuel Volin edited this page Dec 10, 2015 · 1 revision

Testing survey_json

To test survey_json on the frontend, you will need to do a few things first.

  1. Make sure you have registered
  2. Make sure you are logged in
  3. Get your user id value from rethinkdb (instructions)
  4. Put your user id value into the bootstrap_data() method in server.py
  5. Run make bootstrap_data
  6. Watch as glorious, glorious surveys percolate into your dashboard.

Getting your user id from rethinkdb

  1. go to http://localhost:8080/#dataexplorer
  2. Enter a new query: r.db('scq').table('User')
  3. Find the key labeled id, and copy the value