Tarbell
Installation
Install Tarbell with
pip install tarbell
Configure Tarbell with
tarbell configure
Configure Google spreadsheet access (optional)
Configure Amazon S3
Set a default project path
Using Tarbell with virtualenv
Tutorial
Set up a new project
Structure your project
Add content
Displaying data
Adding CSS
Using Javascript
Using
{{
super()
}}
Overriding default templates
Putting it all together: Leaflet maps
Upgrading
Create and install projects
Create a new project with
tarbell newproject <projectname>
Install an existing project with
tarbell install <repository-url>
Building projects
Editing templates
Understanding Tarbell Blueprints
Template inheritance: Override files from Tarbell Blueprints by copying to your project directory
Files prefixed with underscores (
_
) will not be generated or published
Configuring projects
Creating JSON
Using context variables
Where can context variables be used?
Anatomy of a project directory
Using Google spreadsheets
The
values
worksheet
Named worksheets
Worksheet, column, and key names are slugified
Worksheets, columns, and keys names preceded by
_
(underscore) are ignored
Merged cells raise an error
Publishing
Generate static sites with
tarbell
generate
Publish projects with
tarbell
publish
<target>
Configuring S3 buckets for a project
Tarbell does not delete files on S3
Developing Tarbell blueprints
Basic blueprint ingredients
Adding filters and functions
Implementing hooks
Handling requirements
Remote configuration
Managing projects
Show all projects with
tarbell
list
Switch to a project with
tarbell
switch
<projectname>
Run preview server with
tarbell
serve
Update a project’s blueprint with
tarbell
update
Hooks
Command line reference
tarbell
configure
tarbell
newproject
tarbell
serve
tarbell
publish
tarbell
update
tarbell
generate
tarbell
switch
tarbell
list
tarbell
install
tarbell
install-blueprint
tarbell
credentials
Configuration reference
Project settings (
tarbell_config.py
)
Tarbell settings (
~/.tarbell/settings.yaml
)
Google SDK client secrets (
~/.tarbell/client_secrets.json
)
Contributing
Tarbell
Docs
»
Contributing
Edit on GitHub
Contributing
ΒΆ
Github repository:
https://github.com/newsapps/flask-tarbell
Read the Docs
v: 1.0
Versions
1.0
0.9-beta7
0.9-beta6
0.8
Downloads
pdf
htmlzip
epub
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.