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.

Source Distribution

openstax-accounts-0.9.0.tar.gz (9.2 kB view details)

Uploaded Source

File details

Details for the file openstax-accounts-0.9.0.tar.gz.

File metadata

File hashes

Hashes for openstax-accounts-0.9.0.tar.gz
Algorithm Hash digest
SHA256 09c47975b8ba78bdec584167d5fa4484dc25a645be0cfed1479d41741408cda7
MD5 20736521e688d6155c8c8f53329dc4a2
BLAKE2b-256 2f02867c678dc4d0dccf9a27837cf0572e1ece482ba0cb9b4cd0f45ca85065d5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page