All Projects → elektronaut → Sugar

elektronaut / Sugar

Licence: mit
Totally sweet Ruby on Rails-based forum software

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Sugar

Lobsters
Computing-focused community centered around link aggregation and discussion
Stars: ✭ 3,112 (+2629.82%)
Mutual labels:  forum, rails
Homeland
🎪 An open source forum/community system based on Rails, developed based on Ruby China.
Stars: ✭ 3,511 (+2979.82%)
Mutual labels:  forum, rails
Discourse
A platform for community discussion. Free, open, simple.
Stars: ✭ 34,626 (+30273.68%)
Mutual labels:  forum, rails
Rubocop Rails config
RuboCop configuration which has the same code style checking as official Ruby on Rails.
Stars: ✭ 106 (-7.02%)
Mutual labels:  rails
Readyresponder
Local Incident Management System - This is used for tracking resources for Local Emergency Management
Stars: ✭ 106 (-7.02%)
Mutual labels:  rails
Gdpr Rails
An example project on building a GDPR compliant application
Stars: ✭ 109 (-4.39%)
Mutual labels:  rails
Rails server timings
Server Timing headers for Rails apps
Stars: ✭ 112 (-1.75%)
Mutual labels:  rails
Rack Weixin
微信公众平台 开放消息接口 Rack Middleware
Stars: ✭ 105 (-7.89%)
Mutual labels:  rails
Epochtalk
Next Generation Forum Software
Stars: ✭ 110 (-3.51%)
Mutual labels:  forum
Spyme
Rails plugin that stores the browser geolocation
Stars: ✭ 108 (-5.26%)
Mutual labels:  rails
Entangled
Rails in real time
Stars: ✭ 108 (-5.26%)
Mutual labels:  rails
Rails Hackernews Reddit Producthunt Clone
hacker news / reddit / social link-sharing website. Built with Rails.
Stars: ✭ 107 (-6.14%)
Mutual labels:  rails
Active record Events
Manage timestamps in ActiveRecord models
Stars: ✭ 109 (-4.39%)
Mutual labels:  rails
Brimir
Email helpdesk built using Ruby on Rails and Zurb Foundation
Stars: ✭ 1,404 (+1131.58%)
Mutual labels:  rails
Bootcamp
プログラマー向けEラーニングシステム
Stars: ✭ 110 (-3.51%)
Mutual labels:  rails
Pingcrm
PingCRM on Rails - A Ruby on Rails demo application to illustrate how Inertia.js works
Stars: ✭ 106 (-7.02%)
Mutual labels:  rails
Rails stuff
Collection of useful modules for Rails.
Stars: ✭ 110 (-3.51%)
Mutual labels:  rails
Factory bot instruments
Instruments for benchmarking, tracing, and debugging Factory Girl models.
Stars: ✭ 108 (-5.26%)
Mutual labels:  rails
Rails
Ruby on Rails
Stars: ✭ 49,693 (+43490.35%)
Mutual labels:  rails
Unitylibrary
📚 Library of all kind of scripts, snippets & shaders for Unity
Stars: ✭ 1,968 (+1626.32%)
Mutual labels:  forum

Build Code Climate Test Coverage

Sugar

Sugar is a modern open-source forum optimized for performance and usability, written in Ruby on Rails.

Dependencies

Installation

If you want to hack on Sugar, the easiest way to get up and running is using Docker Compose:

$ docker-compose run rails bin/setup
$ docker-compose up

Sugar is now running on localhost:3000.

You can run the tests and linters with:

$ docker-compose run rails bin/rspec
$ docker-compose run rails bin/rubocop

Deploying Sugar

Sugar is deployed like a regular Rails app, see the official Rails site. A sample Capistrano recipe is provided config/deploy.rb.dist.

For production use, you'll want a full grown Solr setup. See the Sunspot documentation for guides on how to get up and running.

Heroku is currently not supported.

Configuring Sugar

Most of Sugar is configured with a web interface. However, a few details must be sorted out before the app starts. The defaults should be fine for development, but you need tweak these settings for production use with environment variables.

Environment variable Required Info
SUGAR_SECRET_KEY_BASE Yes Set to a long, random string
SUGAR_SECRET_TOKEN - Use if you are upgrading from Rails 3
SUGAR_SESSION_KEY - Default: _sugar_session
SUGAR_DB_DATABASE - Default: sugar_<%= Rails.env %>
SUGAR_DB_HOST - Default: localhost
SUGAR_DB_USERNAME - Default: rails
SUGAR_DB_PASSWORD - Default: ``
SENTRY_DSN - Default: none, set if you want to use Sentry

Credits

Thanks to the members of the B3S community for feedback, ideas and encouragement, names far too many to be mentioned. Napkin was written by Branden Hall of Automata Studios.

License

Copyright (c) 2008 Inge Jørgensen

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].