Pylons Ukraine /

Filename Size Date modified Message
docs
pylons
tests
29.5 KB
2.8 KB
1.7 KB
1.8 KB
1.4 KB
3.9 KB
Pylons
++++++

Pylons is a rapid web application development framework.

Full documentation is available online at http://pylonshq.com/docs/

Install
=======

Installation instructions are at http://pylonshq.com/install/

If you want to install from source you can run the following command:

.. code-block :: Bash

    python setup.py install

This will display a message and download setuptools if the module is not
already installed. It will then install Pylons and all its dependencies. You
may need root priveledges to install setuptools.

Testing
=======

To test the source distribution you will need to install Pylons as well some
additional tools.

.. code-block :: Bash

    easy_install TurboKid TurboCheetah "Kid==0.9.4" "Cheetah=2.0rc8"

Kid 0.9.6 does not currently pass the tests. Cheetah 2.0rc8 requires
compilation and is not available directly from the Cheeseshop. You can compile
and install it on Debian with these commands:

.. code-block :: Bash

    sudo apt-get install python-dev build-essential
    easy_install http://downloads.sourceforge.net/cheetahtemplate/Cheetah-2.0rc8.tar.gz?modtime=1176325572&big_mirror=0

Once the required packages are installed you can run the tests with the 
following command in the root of the source tree:

.. code-block :: Bash
    
    nosetests

Module Documentation
====================

Generating module documentation also requires specific tools. You will need to install subversion the issue the following commands:

.. code-block :: Bash

    easy_install "pudge==dev" Pygments "Buildutils==dev" TurboKid Kid

Then to build the documentation use this command:

.. code-block :: Bash

    python setup.py pudge -m pylons
    
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.