Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/al-kivi/puresong
A small Sinatra application that demonstrates use of Pure CSS with SQLite.modules
https://github.com/al-kivi/puresong
Last synced: 27 days ago
JSON representation
A small Sinatra application that demonstrates use of Pure CSS with SQLite.modules
- Host: GitHub
- URL: https://github.com/al-kivi/puresong
- Owner: al-kivi
- Created: 2015-06-19T14:21:03.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-25T13:24:27.000Z (over 9 years ago)
- Last Synced: 2024-04-17T04:14:59.091Z (8 months ago)
- Language: HTML
- Homepage:
- Size: 250 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-sinatra - puresong - A small Sinatra application that demonstrates use of Pure CSS with SQLite. (Boilerplate and Template)
README
# Puresong - A lightweight application using Pure CSS and Sinatra
A lightweight Sinatra application that uses the Pure CSS modules [Pure.css](http://purecss.io/) to provide responsive screen handling.
![Puresong screenshot](http://vizi.ca/images/poplite.png)
## Audience
This article is intended for people familiar with Sinatra and SQLite who want to use Pure CSS to build responsive applications.
The sample application builds a new interface around a sample application that is described in Jump Start Sinatra by Darren Jones [Sitepoint website](http://www.sitepoint.com/store/jump-start-sinatra/).
## Requirements
* `ruby` >= 1.9 (application was built and tested with Ruby 1.9.3).
## Installation
Download the application to your local desktop.
Install the required gems (see the Gemfile),
## Usage
The application run in development mode with 'ruby app.rb' command.
The application can also be tested as a rack application with the 'rackup' command.
## What is Purelite?
The Purelite mini-stack includes the following:* One page application built with Sinatra and ERB
* Sqlite3 with Sequel
* Pure.css javascripts
* Capture of visitor information and emailing with Gmail or Mandrill## Features
The features shown in the application include:* Responsive screen using Pure.css capabilities
* Pure.css functions include: top and side menus, grid structures, headers and footers
* A webpage that demonstrates a small SQLite application used to demonstrate menu and button behaviour
* A webpage that demonstrates a screen to capture contact information from a visitor. This information is send to the website administrator using the Mandrill email application.
* This project is designed to show the capabilities of Pure.css interacting with a small Sinatra SQLite application. It is not intended for production use.## License
This code is dedicated to the public domain to the maximum extent permitted by applicable law, pursuant to CC0 http://creativecommons.org/publicdomain/zero/1.0/
Please reference the copyright restrictions that may apply to the sample Sinatra SQLite application as published in 'Jump Start Sinatra'.