Better prototyping with Jinja2 and a shameless ripoff of lucuma/Clay.
Installing
$ pip install soil
Or, if you really wanted to:
$ git clone git://github.com/kuyan/soil.git $ cd soil && python setup.py install
Or, if you really, really wanted to:
$ easy_install soil
But, to quote Kenneth Reitz:
... you really shouldn't do that.
Quick Start
First, create a new project and start editing:
$ shovel new new_project/ $ cd new_project/
Edit templates (see: Jinja2):
$ vim templates/index.html
Check out your project in your browser:
$ shovel run
You'll be able to see your site at http://127.0.0.1:5000.
Turn the templates into static HTML:
$ shovel build
The output will be stored in the build/ directory.
Want to know more? Check out the documentation.
Features
- Extensions!
- Uses Jinja2 for templating.
- And that’s pretty much everything notable. soil is pretty simple.
Dependencies
Testing
Soil uses pytest. To run the tests:
pip install pytest git clone git://github.com/kuyan/soil.git py.test soil/soil/test/
MIT licensed | Copyright (C) 2012 Natan L |