examples

module
v0.0.0-...-74da84b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2017 License: BSD-3-Clause

README

Ponzu Examples

Examples of full Ponzu systems, scripts, data files, and more to demonstrate and test features

Contents

News Article Demo

News includes a demo featuring a news/publication with articles and authors as content types.

The types implement item.Pushable and db.Searchable to demonstrate the HTTP/2 Server Push and full-text search support. To test the HTTP/2 Server Push feature, you must run ponzu with the --dev-https flag like so:

$ ponzu run --dev-https
  • This generates self-signed certificates and starts up a TLS server, which is required by HTTP/2.
Docker Example

The Docker example includes an nginx container which proxies /admin and /api into the ponzu container.


Contributions

Please feel free to contribute your own examples. They help the community and save people time! Please follow the format specified above, and keep your example up to date with new versions. Thanks!

Directories

Path Synopsis
docker
admin/addons/github.com/bosssauce/reference
Package reference is a Ponzu addon to enable content editors to create references to other content types which are stored as query strings within the referencer's content DB
Package reference is a Ponzu addon to enable content editors to create references to other content types which are stored as query strings within the referencer's content DB
news
addons/github.com/bosssauce/reference
Package reference is a Ponzu addon to enable content editors to create references to other content types which are stored as query strings within the referencer's content DB
Package reference is a Ponzu addon to enable content editors to create references to other content types which are stored as query strings within the referencer's content DB

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL