public
Fork of rtomayko/wink
Description: The minimalists weblog engine.
Homepage:
Clone URL: git://github.com/cschneid/wink.git
wink /
name age message
file .autotest Tue May 27 07:58:33 -0700 2008 Add autotest config -- simplistic but should wo... [rtomayko]
file .gitignore Thu May 29 08:03:53 -0700 2008 Update .gitignore to exclude sqlite3-dbs [cypher]
file .gitmodules Fri Jun 06 22:15:01 -0700 2008 add rack submodule [rtomayko]
file COPYING Wed May 21 14:07:59 -0700 2008 MIT licensed; minor README updates [rtomayko]
file ChangeLog Tue May 27 16:58:53 -0700 2008 use hanna for rdoc; add ChangeLog [rtomayko]
file README Thu May 29 14:41:40 -0700 2008 minor README tweaks and a quick bug update ... [rtomayko]
file Rakefile Thu May 29 14:35:57 -0700 2008 Add Wink::Schema for database creation, migrati... [rtomayko]
directory bugs/ Sat Jun 07 09:32:14 -0700 2008 ditz bugs update [rtomayko]
directory lib/ Sat Jun 07 20:59:40 -0700 2008 Added *_url options to override the standard /w... [cschneid]
directory public/ Mon May 26 11:58:06 -0700 2008 Anonymize CSS and JS sources Renamed naeblis.c... [rtomayko]
submodule rack - 78ad4da Fri Jun 06 22:15:01 -0700 2008 add rack submodule [rtomayko]
submodule sinatra - ecc0afa Mon May 26 11:58:07 -0700 2008 Add sinatra as submodule. We're currently usin... [rtomayko]
directory test/ Sat Jun 07 00:03:26 -0700 2008 get rid of Comment#body_with_links Some of the... [rtomayko]
directory views/ Sat Jun 07 20:59:40 -0700 2008 Added *_url options to override the standard /w... [cschneid]
file wink Fri Jun 06 22:15:01 -0700 2008 add rack submodule [rtomayko]
file wink.conf.example Sat Jun 07 20:59:40 -0700 2008 Added *_url options to override the standard /w... [cschneid]
README
Wink
====

Wink is a minimalists weblog engine written in Ruby using Rack, Sinatra, and
DataMapper. See the project repository on GitHub for more information:

http://github.com/rtomayko/wink/

Status
------

A complete mess, at the moment. It will likely not run for you at all. The
sources have been made available as-is for discussion purposes only. If you're
mainly interested in running a blog, watch for a 1.0 release. If you're
interested in hacking, stick around...

Requirements
------------

Gems (need all their dependencies of course):

    $ sudo gem install datamapper --version=0.2.5
    $ sudo gem install do_mysql
    $ sudo gem install sinatra BlueCloth rubypants html5 test-spec

To run the specs you also need SQLite3 and the SQLite3-adapter:
    $ sudo gem install do_sqlite3 --version=0.2.5

We are currently developing on MySQL and SQLite3. Other databases are
theoretically easy to support but we're limiting to these for now to speed
initial development.

Wink is developed primarily under MacOS X and tested on FreeBSD and
a variety of GNU/Linux distributions.

Hacking
-------

Project sources are stored in Git:

    $ git clone git://github.com/rtomayko/wink.git

Create a new MySQL database:

    $ mysql -u root
    mysql> CREATE DATABASE wink_development CHARACTER SET = utf8;

Next, change into your local wink clone and copy the `wink.conf.example`
to `wink.conf`; edit to taste, making sure the database related settings
are adjusted appropriately.

Run the `db:init` task to create the initial table schema and then start a new
development server:

    $ rake db:init
    $ ruby wink

The application should be available at: http://localhost:4567

Testing
-------

Unit and functional tests are kept under the test directory. Before running
tests, you will need to create a separate database:

    $ mysql -u root
    mysql> CREATE DATABASE wink_test CHARACTER SET = utf8;

Once the database has been created, use rake to run the test suite:

    $ rake test

COPYING
-------

All sources included in this distribution are made available under the MIT
license. See the file COPYING for more information.