finished basic installation and testing instructions
This commit is contained in:
@@ -19,16 +19,16 @@ Pecan has a few dependencies and one of them is already supported by App Engine
|
|||||||
so no need to grab that. Just so you are aware, this is the list of things that you absolutely need
|
so no need to grab that. Just so you are aware, this is the list of things that you absolutely need
|
||||||
to grab:
|
to grab:
|
||||||
|
|
||||||
* simplegeneric >= 0.7
|
* simplegeneric == 0.7
|
||||||
* Paste >= 1.7.5.1
|
* Paste == 1.7.5.1
|
||||||
|
|
||||||
These are optional, depending on the templating engine you want to use. However, depending on your choice,
|
These are optional, depending on the templating engine you want to use. However, depending on your choice,
|
||||||
you might want to check the engine's dependencies as well. The only engine from this list that doesn't require
|
you might want to check the engine's dependencies as well. The only engine from this list that doesn't require
|
||||||
a dependency is Kajiki.
|
a dependency is Kajiki.
|
||||||
|
|
||||||
* Genshi >= 0.6
|
* Genshi == 0.6
|
||||||
* Kajiki >= 0.2.2
|
* Kajiki == 0.3.1
|
||||||
* Mako >= 0.3
|
* Mako == 0.3
|
||||||
|
|
||||||
From this point forward, we will assume you are getting Kajiki, to avoid describing third party dependencies.
|
From this point forward, we will assume you are getting Kajiki, to avoid describing third party dependencies.
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ Contents:
|
|||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
|
|
||||||
installtion.rst
|
installation.rst
|
||||||
routing.rst
|
routing.rst
|
||||||
configuration.rst
|
configuration.rst
|
||||||
templates.rst
|
templates.rst
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ Pecan can be isolated from other packages is best practice.
|
|||||||
To get started with an environment for Pecan, create a virtual environment for
|
To get started with an environment for Pecan, create a virtual environment for
|
||||||
it without any site-packages that might pollute::
|
it without any site-packages that might pollute::
|
||||||
|
|
||||||
virtualenv --no-sitpackages pecan-env
|
virtualenv --no-site-packages pecan-env
|
||||||
cd pecan-env
|
cd pecan-env
|
||||||
source bin/activate
|
source bin/activate
|
||||||
|
|
||||||
@@ -24,8 +24,22 @@ But we do not have Pecan yet, so let's grab it from PYPI::
|
|||||||
After a lot of output, you should have Pecan successfully installed and ready
|
After a lot of output, you should have Pecan successfully installed and ready
|
||||||
to use.
|
to use.
|
||||||
|
|
||||||
.. note::
|
|
||||||
If you want to run the development (unstable) version of Pecan you will
|
|
||||||
need GIT and clone the repo from: https://github.com/cleverdevil/pecan.git
|
|
||||||
|
|
||||||
|
Development (Unstable) Version
|
||||||
|
------------------------------
|
||||||
|
If you want to run the development version of Pecan you will
|
||||||
|
need GIT installed and clone the repo from github::
|
||||||
|
|
||||||
|
git clone https://github.com/cleverdevil/pecan.git
|
||||||
|
|
||||||
|
If you are still in the *pecan-dev* virtual environment that we created before,
|
||||||
|
you should call ``setup.py`` to install::
|
||||||
|
|
||||||
|
python setup.py develop
|
||||||
|
|
||||||
|
|
||||||
|
Testing
|
||||||
|
=======
|
||||||
|
For testing purposes, we use `py.test <http://pytest.org/>`_ and
|
||||||
|
WebTest, so make sure you have those installed in your environment before
|
||||||
|
running the tests.
|
||||||
|
|||||||
@@ -1,11 +1,6 @@
|
|||||||
WebOb >= 1.0.0
|
WebOb == 1.0.0
|
||||||
WebCore >= 1.0.0
|
WebCore == 1.0.0
|
||||||
simplegeneric >= 0.7
|
simplegeneric == 0.7
|
||||||
Genshi >= 0.6
|
Paste == 1.7.5.1
|
||||||
Kajiki >= 0.2.2
|
PasteScript == 1.7.3
|
||||||
Mako >= 0.3
|
formencode == 1.2.2
|
||||||
py >= 1.3.4
|
|
||||||
WebTest >= 1.2.2
|
|
||||||
Paste >= 1.7.5.1
|
|
||||||
PasteScript >= 1.7.3
|
|
||||||
formencode >= 1.2.2
|
|
||||||
Reference in New Issue
Block a user