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 Distribution
File details
Details for the file openstax-accounts-0.9.0.tar.gz
.
File metadata
- Download URL: openstax-accounts-0.9.0.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09c47975b8ba78bdec584167d5fa4484dc25a645be0cfed1479d41741408cda7 |
|
MD5 | 20736521e688d6155c8c8f53329dc4a2 |
|
BLAKE2b-256 | 2f02867c678dc4d0dccf9a27837cf0572e1ece482ba0cb9b4cd0f45ca85065d5 |