Skip to main content

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 to local_testing.ini and change the values. This is only necessary if you intent to run the functional tests against a local instance of openstax/accounts.

    cp testing.ini.example local_testing.ini
  2. Download chrome driver:

    wget 'http://chromedriver.storage.googleapis.com/2.14/chromedriver_linux64.zip

    If you don’t have chrome:

    sudo apt-get install chromium-browser
  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=localhost:10.0

    or install xvfb

  6. Run tests without openstax/accounts

    xvfb-run ./bin/python setup.py test

    or to run all tests (include the LOCAL_INI, which requires an openstax/accounts install):

    LOCAL_INI=local_testing.ini xvfb-run ./bin/python setup.py test

Release files for openstax-accounts 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distributions (sdists)

Source distribution for openstax-accounts 1.0.0
File Size Uploaded
openstax-accounts-1.0.0.zip 24.6 kB Details
openstax-accounts-1.0.0.tar.gz 15.0 kB Details
openstax-accounts-1.0.0.tar.bz2 13.9 kB Details

Release files / openstax-accounts-1.0.0.zip

Download URL openstax-accounts-1.0.0.zip
Size 24.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3ffc938a7935b8d303c74b1ee2f4be7732b97058946a3abfd6019d5b7a87a0df
BLAKE2b-256 checksum
How to use checksums
cd4a9755a929358ef8b6e732b7de7bbd14192d3bb2e0c9c06f93b2c5416a4492
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / openstax-accounts-1.0.0.tar.gz

Download URL openstax-accounts-1.0.0.tar.gz
Size 15.0 kB
Tags Source
SHA-256 checksum
How to use checksums
32652d77b381101a1131b57cf71a4f5d51ba737c602b3742dae155417fff164f
BLAKE2b-256 checksum
How to use checksums
932cbaf8387c8ed77bc212fe573411817309785ae3bbd3277eaadd8727ad53c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / openstax-accounts-1.0.0.tar.bz2

Download URL openstax-accounts-1.0.0.tar.bz2
Size 13.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7b3ea8590f42919e617f859fad41fed745dfdd867b5ea893a6a145bec44c2a44
BLAKE2b-256 checksum
How to use checksums
79a600734df5fa98fddea088f7ffeca651a72338ddac02a2e0263c335cf4c4e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.0 This release

3 release files

0.14.0

3 release files

0.13.0

1 release file

0.12.0

1 release file

0.11.0

1 release file

0.10.0

1 release file

0.9.0

1 release file

0.8

1 release file

0.7

1 release file

0.6

1 release file

0.5

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page