Skip to content

An Active Record SQL storage adapter for the Vines XMPP chat server.

License

Notifications You must be signed in to change notification settings

negativecode/vines-sql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Vines

Vines is a scalable XMPP chat server, using EventMachine for asynchronous IO. This gem provides support for storing user data in SQL databases with Active Record.

Additional documentation can be found at getvines.org.

Usage

$ gem install vines vines-sql
$ vines init wonderland.lit
$ cd wonderland.lit && vines start

Configuration

Add the following configuration block to a virtual host definition in the server's conf/config.rb file.

storage 'sql' do
  adapter 'postgresql'
  host 'localhost'
  port 5432
  database 'xmpp'
  username ''
  password ''
  pool 5
end

Dependencies

Vines requires Ruby 1.9.3 or better. Instructions for installing the needed OS packages, as well as Ruby itself, are available at getvines.org/ruby.

Development

$ script/bootstrap
$ script/tests

Contact

License

Vines is released under the MIT license. Check the LICENSE file for details.

About

An Active Record SQL storage adapter for the Vines XMPP chat server.

Resources

License

Stars

Watchers

Forks

Packages

No packages published