Meieraha version 2
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
The package contains a Flask-based web application. To launch the application you need to do the following:
Run:$ meieraha2-manage sampleconfig
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
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
$ meieraha2-manage assets build
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.
- 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.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size meieraha2-2.2.2.tar.gz (2.0 MB)||File type Source||Python version None||Upload date||Hashes View|