Skip to main content

Meieraha version 2

Project description

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:

  1. Run:

    $ meieraha2-manage sampleconfig
  2. Follow 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.

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

meieraha2-2.2.2.tar.gz (2.0 MB view details)

Uploaded Source

File details

Details for the file meieraha2-2.2.2.tar.gz.

File metadata

  • Download URL: meieraha2-2.2.2.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for meieraha2-2.2.2.tar.gz
Algorithm Hash digest
SHA256 2f3ab3232baa2735765ea50854731e8993a4bffd69eb60413f66ca5ad07da7f0
MD5 8c014dab073242bb4f5f83104320fa3c
BLAKE2b-256 1848a119559e0909f6504149315504e3dc32975cd1461ac0a70470ac8cb89529

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