An example pyramid app that connects to openstax/accounts
Project description
This is an example python pyramid app that connects to openstax/accounts.
INSTALL
Install virtualenv
virtualenv .
./bin/python setup.py install
Set up openstax/services (See karenc/openstax-setup)
Register this app with openstax/accounts
Copy development.ini.example to development.ini and change the values
Start the app by ./bin/pserve development.ini
TESTS
Copy testing.ini.example to testing.ini and change the values
Download chrome driver (and chrome if you don’t have it): wget 'http://chromedriver.storage.googleapis.com/2.9/chromedriver_linux64.zip'
Unzip chrome driver: unzip chromedriver_linux64.zip
Add chrome driver to $PATH: export PATH=$PATH:.
Make sure the $DISPLAY is set, for example: export DISPLAY=:0 or install xvfb
./bin/python setup.py test or xvfb-run ./bin/python setup.py test
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Hashes for openstax-accounts-0.14.0.tar.bz2
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58e796f468eddff6e6730a570b8ff04d74a48c27ab0f05efa16db45eaa20ed5c |
|
MD5 | c974614e3d4485d62e01ddf2111873d9 |
|
BLAKE2b-256 | 50968d14c08c46c634f4cda8940b827dfdd02a4f38f4c69c88c85cccf28026c8 |