Skip to main content

A tool to build a static website for OCQM cohorts.

Project description

Part of our research server that we offer OCQM clients. See http://www.ocqm.org/

Installation

To use locally create a new virtual environment:

virtualenv -p python3.4

And install the package:

pip install ocqm_cohort_website

Usage

To see how it looks like just run:

ocqm-cohort-website demo

And open http://localhost:8000

To create your own site run in an empty folder:

ocqm-cohort-website init

And start editing the cohort.yml file. To see your changes run:

ocqm-cohort-website build --serve

And have a look at http://localhost:8000 again.

Tests

To run the tests install tox:

pip install tox

And run it:

tox

ocqm_cohort_website works with python 2.7 and python 3.3+

Current Build Status

Build Status

Translations

To add a new language:

python setup.py init_catalog -l <locale>

e.g.:

python setup.py init_catalog -l it

To update the catalog:

python setup.py update_catalog

The mo files are automatically compiled at runtime.

License

ocqm_cohort_website is licensed under MIT. See LICENSE file.

History

0.1.1 (2014-08-21)

  • Renames remaining ocqm_cohort_site references to ocqm_cohort_website. [href]

0.1 (2014-08-21)

  • Initial release. [href]

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

ocqm_cohort_website-0.1.1.tar.gz (5.9 kB view details)

Uploaded Source

File details

Details for the file ocqm_cohort_website-0.1.1.tar.gz.

File metadata

File hashes

Hashes for ocqm_cohort_website-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2e292c76d68009e8ca016b4e67a8562f32c3284f12750c54e0f2829e994be4eb
MD5 5edd621e6f78ad4262bde857f6ab6dbf
BLAKE2b-256 51857efd5ff728b5b323ce5a5b51444496583a955c38e26b4f6999403ee0ff84

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