Code Monkey home page Code Monkey logo

brimir's Introduction

Brimir Build Status Coverage Status

Brimir is a simple helpdesk system that can be used to handle support requests via incoming email. Brimir is currently used in production at Ivaldi.

Installation

Brimir is a rather simple Ruby on Rails application. The only difficulty in setting things up is how to get incoming email to work. See the next section for details.

Any Rails application needs a web server with Ruby support first. We use Phusion Passenger (mod_rails) ourselves, but you can also use Thin, Puma or Unicorn. Phusion Passenger can be installed for Nginx or Apache, you can chose wichever you like best. The installation differs depending on your distribution, so have a look at their Nginx installation manual or their Apache installation manual.

After setting up a webserver, you have to create a database for Brimir and modify the config file in config/database.yml to reflect the details. Set your details under the production section. We advice to use adapter: postgresql or adapter: mysql2 for production usage, because those are the only two adapters and database servers we test.

Next up: configuring your outgoing email address and url. This can be set in config/environments/production.rb by adding the following lines before the keyword end:

config.action_mailer.default_options = { from: '[email protected]' }

config.action_mailer.default_url_options = { host: 'brimir.yoururl.com' }

Now install the required gems by running:

bundle install --without development:test --deployment

Next, load the database schema and precompile assets:

rake db:schema:load RAILS_ENV=production
rake assets:precompile RAILS_ENV=production

Last thing left to do before logging in is making a user and adding some statuses. You can do this by running:

bin/rails console production
u = User.new({ email: '[email protected]', password: 'somepassword', password_confirmation: 'somepassword' }); u.agent = true; u.save!

Incoming email

Incoming emails can be posted to the tickets url by using the script found in scripts/post-mail. Create an alias in your /etc/aliases file like this:

brimir: "|/bin/bash /path/to/your/brimir/repo/script/post-mail http://yoururl.com/tickets.json"

Now sending an email to [email protected] should start curl and post the email to your brimir installation.

Contributing

We appreciate all contributions! If you would like to contribute, please follow these steps:

  • Fork the repo.
  • Create a branch with a name that describes the change.
  • Make your changes in the branch.
  • Submit a pull-request to merge your feature-branch in our master branch.

Requested features

Some users have made requests for the following features. If you would like to contribute, you could add any of these.

  • Allowing customers to update ticket status, with correct email notifications.
  • Switchable property to support threads by using special tags in the subject line instead of relying on mail headers.
  • Support for hosted incoming mail services (Sendgrid, Mandrill), possibly using griddler gem.

License

Brimir is licensed under the GNU Affero General Public License Version 3.

brimir's People

Contributors

basschoen avatar boutcher avatar frenkel avatar lacour avatar marbball avatar maxhungry avatar neilor avatar vrish88 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.