kandanapp / kandan

Kandan is an Open Source Alternative to HipChat
GNU Affero General Public License v3.0
2.72k stars 408 forks source link

Is it possible to use Kandan with MySQL? #391

Closed Sphynxcatkillstreak closed 9 years ago

Sphynxcatkillstreak commented 9 years ago

Which additional libraries would I need? Is it complicated to get Kandan work with MySQL? (I'm not a programmer.)

scouttyg commented 9 years ago

Things should work pretty seamlessly for mysql -- we already use sqlite for development.

When you deploy to production, you'll need to change the config/database.yml to read something like:

production:
 adapter: mysql2
 encoding: utf8
 database: your_database_name_here
 pool: 5
 username: your_database_username
 password: yourDatabaseP4ssw0rd

Then, you'll need to uncomment this line in Gemfile

# Uncomment next line when using MySQL database
# gem 'mysql2'

So it looks like this:

# Uncomment next line when using MySQL database
gem 'mysql2'

Then run `bundle install from the base app to update the gems associated with the project, and deploy.

Sphynxcatkillstreak commented 9 years ago

I managed to get everything working. I just didn't want to use Kandan, because it lacks some things like file administration. Aside from that, the design is beautifully clean and from all the other group chats I've tried (Kato, Slack, etc.), I liked Kandan the most. I really hope it receives some development as soon as you guys have time to work on it. I think it's definitely worth it, if I look at the alternatives. They are mostly just 'too much' and confusing and Kandan is perfect, imo. Like I mentioned, it just needs some more (file) administration options.

Have a nice day and thanks for you help!

scouttyg commented 9 years ago

:+1: We will continue to develop Kandan, just let us know what we can do to improve! If you want to talk about what is lacking on the file administration side, feel free to reopen this issue and let us know :smile: