home
# Lithium Bin

This application utilizes CouchDB and also powers the paste bin at [pastium.org](http://pastium.org). Amongst others it hast the following features:

- Posting of code snippets
- List of recently made snippets
- Syntax highlighting
- Pagination
- Cookie remembering author name
- Versioning


##Requirements

 - Lithium Core ( git clone code@rad-dev.org:lithium.git ) 0.6
 - php 5.3.1
 - CouchDB (Tested with version 0.10.0)
 - GeSHI 1.0.8.4 (originally supplied with this package)

##Installation

Once you have set up the requirements above, in console use the provided installation command like so:

{{{li3 bin install}}}

This action should be run once (or until OK message is recieved) to create
database and design views.

If you have set up the application to know where to find Lithium

app/config/bootstrap.php  -> LITHIUM_LIBRARY_PATH

This should make the app working with the following urls:

 - domain.com/
 - domain.com/latest
 - domain.com/view/[paste id]
 - domain.com/add/[author]
 - domain.com/add/[author]/[language]