Skip to content

About

The Better Together Community Engine is an accessible open source community platform that's Democratic by Design. All are welcome!

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

12 stars

Watchers

0 watching

Forks

Latest commit

 

History

6,690 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Better Together Community Engine

A Rails engine for building community platforms: communities, membership, events, posts, pages, messaging and mutual aid exchanges, with privacy, safety and member data rights built in. You add the better_together gem to a Rails app (the host app) and it provides the platform; the host app supplies branding, deployment and any custom features.

A Community Engine community page with a branded banner, a request-to-join control, tabs for About, Posts and Events, and share buttons

Is it the right fit?

A good fit if you want to:

  • run a community, co-operative, non-profit or civic site where members sign in, join communities, attend events, post and message each other, and organizers moderate;
  • host several organizations or sites from one install, each with its own domain, theme, members and storage (multi-tenant platforms);
  • keep control of your data: self-hosted, Postgres-backed, with member data export and deletion, and optional federation with other platforms by consent;
  • start from working social, content and governance features and extend them in a normal Rails app.

Probably not a fit if you:

  • need a static brochure site or a blog only (a static site generator is simpler);
  • are not using, or do not want to run, Rails, PostgreSQL with PostGIS and Redis;
  • want a drop-in SaaS with no hosting or upgrade work: a host app needs maintenance, and each release has an upgrade guide.

What it provides

Version 0.11.0 is the current release. See the 0.11.0 release notes for what changed and the host upgrade guide if you are upgrading.

Getting started

Adding the engine to a Rails app takes a few commands, but the details differ for a new app and an existing one, so they live in one guide:

Installing Community Engine in a Rails app covers requirements, the installer (rails g better_together:install), credentials and encryption keys, migrations and first run.

Related reading for people running a host app: migrations from the gem, deploying with Dokku, platform themes in host apps.

Where to read next

The documentation index is organized by role:

License

Released under the GNU Lesser General Public License; see LICENSE.

Development: Getting Started

This gem is developed using Docker and Docker Compose. To get the app running, complete the following steps:

Build the application image using the docker convenience scripts:

bin/dc build

Bundle the gems:

bin/dc-run bundle

Setup the database:

bin/dc-run rails db:setup

Run the RSpec tests:

bin/dc-run rspec

Troubleshooting:

  • bin/dc-run rails db:create only creates the databases. It does not load schema or run migrations.
  • If you have already run db:create, run bin/dc-run rails db:migrate or bin/dc-run rails db:setup before bin/dc-run rails db:seed.
  • Fresh worktrees may not include ignored files such as spec/dummy/config/master.key, so local setup must not depend on that file being present.

Contributing

We welcome contributions from the community.

  • Guidelines: See CONTRIBUTING.md for how to report issues, propose changes, and submit pull requests.
  • Code of Conduct: See CODE_OF_CONDUCT.md for expectations of behavior in our community.

Thank you for helping make Better Together better for everyone.

About

The Better Together Community Engine is an accessible open source community platform that's Democratic by Design. All are welcome!

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

12 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages