Installation
------------
To use locally create a new virtual environment in an empty folder::
virtualenv -p python3.4 .
Activate the environment:
source bin/activate
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|
.. |Build Status| image:: https://secure.travis-ci.org/seantis/ocqm_cohort_website.png
:target: http://travis-ci.org/seantis/ocqm_cohort_website
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
To compile the catalog::
python setup.py compile_catalog
Updating and compiling the catalog is required every time a text changes!
License
-------
ocqm_cohort_website is licensed under MIT. See LICENSE file.
Attribution
-----------
* The images in the example cohort are from http://pixabay.com/
* The chart in the example has been generated by http://www.chartjs.org/
History
-------
0.1.9 (2014-09-22)
~~~~~~~~~~~~~~~~~~
- Adds ability to define a list of portraits.
[freinhard]
- Adds more example content.
[freinhard]
0.1.8 (2014-09-19)
~~~~~~~~~~~~~~~~~~
- Fixed typo in German example text.
[freinhard]
- Added list styling including example list.
[freinhard]
0.1.7 (2014-08-25)
~~~~~~~~~~~~~~~~~~
- Make sure the *.mo files are included in the release package.
[href]
0.1.6 (2014-08-25)
~~~~~~~~~~~~~~~~~~
- Fixed bad nesting of langauges. Closes #1.
[href]
- Rounded corners banner image for the top only.
[freinhard]
0.1.5 (2014-08-21)
~~~~~~~~~~~~~~~~~~
- No longer compile the catalog on the fly.
[href]
0.1.4 (2014-08-21)
~~~~~~~~~~~~~~~~~~
- Fixes demo not working.
[href]
0.1.3 (2014-08-21)
~~~~~~~~~~~~~~~~~~
- Fixes http server not working under Python 3.
[href]
0.1.2 (2014-08-21)
~~~~~~~~~~~~~~~~~~
- Properly include babel commands in setup.py.
[href]
- Make sure all files are included in the package.
[href]
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]
Metadata
Release files for ocqm_cohort_website 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ocqm_cohort_website-0.1.9.tar.gz | 2.3 MB | Without provenance | Details for ocqm_cohort_website-0.1.9.tar.gz |
Release files / ocqm_cohort_website-0.1.9.tar.gz
| Download URL | ocqm_cohort_website-0.1.9.tar.gz |
|---|---|
| Size | 2.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d41d9ac0d1d5f7588591eb6856aaa50c743a16acd0ec4de724e3200bdd144eb
|
|
BLAKE2b-256 checksum How to use checksums |
7dfc82677cb61cb2c23961fcb8d2f363b3dcaea524e34c95bedd0e3a08f56066
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for ocqm_cohort_website 0.1.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.