Skip to main content

An example pyramid app that connects to openstax/accounts

Project description

This is an example python pyramid app that connects to openstax/accounts.

INSTALL

  1. Install virtualenv
  2. virtualenv .
  3. ./bin/python setup.py install
  4. Set up openstax/services (See karenc/openstax-setup)
  5. Register this app with openstax/accounts
  6. Copy development.ini.example to development.ini and change the values
  7. Start the app by ./bin/pserve development.ini

TESTS

  1. Copy testing.ini.example to testing.ini and change the values
  2. Download chrome driver (and chrome if you don’t have it): wget 'http://chromedriver.storage.googleapis.com/2.9/chromedriver_linux64.zip'
  3. Unzip chrome driver: unzip chromedriver_linux64.zip
  4. Add chrome driver to $PATH: export PATH=$PATH:.
  5. Make sure the $DISPLAY is set, for example: export DISPLAY=:0 or install xvfb
  6. ./bin/python setup.py test or xvfb-run ./bin/python setup.py test

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for openstax-accounts, version 0.14.0
Filename, size File type Python version Upload date Hashes
Filename, size openstax-accounts-0.14.0.tar.bz2 (9.8 kB) File type Source Python version None Upload date Hashes View hashes
Filename, size openstax-accounts-0.14.0.tar.gz (10.1 kB) File type Source Python version None Upload date Hashes View hashes
Filename, size openstax-accounts-0.14.0.zip (16.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page