Meieraha.ee visualization website source
Installation
Depending on how you obtain the package, you may install it in different ways. If the package was obtained as a source distribution, you should install it using pip:
$ pip install meieraha2-<version>.zip
If you checked out a development repository, you may install the package by running:
$ python setup.py install
If you are planning on developing the package, a useful alternative to installation is:
$ python setup.py develop
or, if you do not have write access to your Python installation and are not using a virtualenv:
$ python setup.py develop --user
Usage
The package contains a Flask-based web application. To launch the application you need to do the following:
Run:
$ meieraha2-manage sampleconfigFollow the instructions output by the command.
To create a packaged distribution you need to run the following:
$ meieraha2-manage assets build $ python setup.py sdist
Development
In order to run the application in development mode you need to have a full repository checked out. You also should have the compass tool installed and accessible in your path. The server can then be run in development mode as follows:
$ export CONFIG=meieraha2.config.DevConfig $ meieraha2-manage createdb $ meieraha2-manage loaddata $ meieraha2-manage runserver
If you edit CSS or Javascript files, you will need to rebuild the assets bundle via
$ meieraha2-manage assets build
Deployment
There is a starter Fabric configuration file fabfile.py which may help automate deployment. It needs tayloring before used, though. Sample deployment configuration is in deploy/aws.
Copyright
The code was developed by Konstantin Tretyakov and Tanel Kärp with the help from many other people on the Meieraha team (see http://meieraha.ee)
The code is licensed as MIT, feel free to contribute.
The repository includes full distributions of some external libraries (to simplify deployment). Those are subject to their own licences. All are open source, though.
Metadata
Release files for meieraha2 2.2.2
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 |
|---|---|---|---|---|
| meieraha2-2.2.2.tar.gz | 2.0 MB | Without provenance | Details for meieraha2-2.2.2.tar.gz |
Release files / meieraha2-2.2.2.tar.gz
| Download URL | meieraha2-2.2.2.tar.gz |
|---|---|
| Size | 2.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2f3ab3232baa2735765ea50854731e8993a4bffd69eb60413f66ca5ad07da7f0
|
|
BLAKE2b-256 checksum How to use checksums |
1848a119559e0909f6504149315504e3dc32975cd1461ac0a70470ac8cb89529
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for meieraha2 2.2.2
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.