Skip to content

dcu/ErrorNot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ErrorNot

A service to keep all your errors raised. You can push it by POST request and after, you can define if this error is resolved or not.

Features

ErrorNot is :

  • Multi projects
  • Allow mark error like resolved or not
  • Allow comment all error save in ErrorNot
  • Allow add several user to see, comment and mark resolved project by project
  • Notify by email only if error is new or re-raised after mark like resolved

Requirements

Currently you need all of those things to get ErrorNot to run:

  • Ruby of 1.8.6 or greater
  • Rails 2.3.5
  • MongoMapper 0.6.10
  • A MongoDB 1.0.1 or greater

Installing

  • fetch source from our github account ( git clone git://github.com/AF83/ErrorNot.git )
  • install rails gem ( gem install rails -v2.3.5 )
  • install all gem required by ErrorNot ( rake gems:install )
  • configure you database
    • copy config/database.yml.sample to config/database.yml
    • update config/database.yml with your database connection and the table name
  • configure your email settings
    • copy config/email.yaml.sample to config/email.yml
    • update it with email configuration (sendmail or smtp information)
  • Start the server in production mode : ruby script/server -e production
  • You can now register your self /user/new
  • Have fun

Development

If you want hack ErrorNot, you need launch all Test. This test made with rspec.

You can install all gems needed with commant :

  • RAILS_ENV=test rake gems:install

Now you can launch spec :

  • rake spec

If you want fill your Database with a lot of fake data, you can launch task

  • rake db:populate:default

This task depend of :

  • rake db:populate:users
  • rake db:populate:projects
  • rake db:populate:errors
  • rake db:populate:comments
  • rake db:populate:same_errors

When you have generated some data, you can fetch a user account by console and use the default password 'tintinpouet'

$ script/console

Project.first.members.first.email => "pinguidity@yachtdom.com"

You have one email of user with almost one project. You can use this email to logged with.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.fsf.org/licensing/licenses/agpl-3.0.html

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published