Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/groupdock/sinandra
A blog engine using Sinatra and Cassandra
https://github.com/groupdock/sinandra
Last synced: 27 days ago
JSON representation
A blog engine using Sinatra and Cassandra
- Host: GitHub
- URL: https://github.com/groupdock/sinandra
- Owner: groupdock
- Created: 2010-10-08T19:43:20.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2010-10-27T19:19:58.000Z (about 14 years ago)
- Last Synced: 2024-02-14T20:36:21.839Z (10 months ago)
- Language: Ruby
- Homepage: http://dev.groupdock.com/2010/10/08/sinandra-a-blog-engine-using-sinatra-and-cassandra.html
- Size: 88.9 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
- awesome-sinatra - Sinandra - A blog engine using Sinatra and Cassandra. (Blogging)
README
== Sinandra
Sinandra is a very simple blog engine built with Sinatra and a Cassandra backend.Why another blog engine?
Sinantra was written in order to learn Cassandra and understand Cassandra's data model.
== Installation
Make sure you install Cassandra. To get started with Cassandra: http://wiki.apache.org/cassandra/GettingStarted
You also have to have sinatra installed:
sudo gem install sinatra
== RequirementsThe following gems are required and need to be installed:
sudo gem install actionpack cassandra simple-uuid maruku sanitize
== Cassandra Configuration
A sample Cassandra configuration is included: sample-cassandra-conf.yml.
The important part is the following keyspace:
== Sinandra Configuration
You can configure Sinandra using a file called config.yml. Using this config file, you can set:
* the title of your blog
* The author of the blog (only supports a single author)
* The about paragraph displayed on the right-side column
* the username of the person allowed to post blog entries
* the password of the person allowed to post blog entriesA sample configuration file is included: sample-config.yml.
If you do not include a config.yml file, the following defaults are used:
* blog title = 'a simple blog'
* blog author = 'Tyrone Badu'
* about paragraph = 'Lorem ipsum...'
* username = 'admin'
* password = 'super'== Running Sinandra
To run sinandra, simply use: ruby sinandra.rb
Then point your browser to : http://localhost:4567/
== Screencast
You can download a small screencast which runs through the features of sinandra here. Nothing very exciting but it lets you see it in action without downloading/running it:
http://lucpublic.s3.amazonaws.com/SinandraDemo.avi
== Recommended Links on Cassandra* https://github.com/dambalah/sinandra
* http://blog.evanweaver.com/articles/2009/07/06/up-and-running-with-cassandra/
* http://arin.me/blog/wtf-is-a-supercolumn-cassandra-data-model
* http://www.parleys.com/#id=1866&st=5&sl=1