Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stas/pagina
Pagina is a Rack web app for Heroku that will use your Dropbox folder for site pages.
https://github.com/stas/pagina
Last synced: 2 days ago
JSON representation
Pagina is a Rack web app for Heroku that will use your Dropbox folder for site pages.
- Host: GitHub
- URL: https://github.com/stas/pagina
- Owner: stas
- Created: 2011-05-10T18:22:10.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-01-23T22:04:54.000Z (almost 13 years ago)
- Last Synced: 2025-01-03T14:43:08.034Z (8 days ago)
- Language: Ruby
- Homepage: http://pagina-app.heroku.com/
- Size: 124 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.markdown
Awesome Lists containing this project
README
## Pagina
[![travis-ci status](https://secure.travis-ci.org/stas/pagina.png)](http://travis-ci.org/#!/stas/pagina)
>*Pagina* is a small web app that uses
a [Dropbox](http://dropbox.com) (or any other web) folder for site pages.*Pagina* was designed to run on [Heroku](http://heroku.com).
It is very light (only hardcore dependency is `rack`) and uses Memcache to speed up pageloads.The idea was to deploy simple homepages using latest cloud services
fast and cheap. And in the same time, spend minimum time for implementing
website design/layout.While Dropbox takes care of ACL, revisions and hosting space, _Pagina_ uses
[Markdown](http://kramdown.rubyforge.org/quickref.html) files to render pages.* GitHub → https://github.com/stas/pagina
* Example (found also below) → http://pagina-app.heroku.com/
* MIT License### Gems
* [Kramdown](http://kramdown.rubyforge.org)
* [Dalli](https://github.com/mperham/dalli) (optional)This page [source](http://dl.dropbox.com/u/20301790/Pagina/index.txt)
### Example `config.ru`
```ruby
require 'bundler/setup'
Bundler.requirePagina.dropbox_id 20301790
Pagina.dropbox_folder 'Pagina'
Pagina.layout File.expand_path '../test/layout.html', Pagina::ROOT
# Pagina.public_folder File.expand_path 'public' # To enable static files
run Pagina::App.start
```### Example `Gemfile`
```ruby
source "http://rubygems.org"
gem 'dalli'
gem 'kramdown'
gem 'pagina', :git => 'git://github.com/stas/pagina.git'
```