Skip to content

R-on/fairnopoly

 
 

Repository files navigation

Welcome to Fairnopoly repository

Fairnopoly is a free market place in the hand of the users.

Read more about it at: www.fairnopoly.de/

The development currently is in beta state.

Getting started

The Fairnopoly source is developed towards ruby-1.9.2 but should work with ruby-1.9.3 without problems. To run fairnopoly locally in development mode, apart from installing ruby and rails and bundling:

  • you have to

    cp config/environments/development.example.rb config/environments/development.rb
  • if you would like to test the mailer, please open the copied file and update it according to your testing mail server

  • you may like to adopt the config/database.yml according to your wishes

  • migrate and seed

    rake db:create db:migrate db:seed
  • to use the recaptcha you have to add your keys in the api.yml. You can get the keys at www.google.com/recaptcha/admin/list

  • start rails and have fun

Testing

<img src=“https://travis-ci.org/fairnopoly/fairnopoly.png” />

To run the tests, prepare the testing database

rake db:test:prepare

And run the tests

rspec

If you update your branch from before, you may have to migrate the test database:

RAILS_ENV=test rake db:migrate

Installation on Linux with JRuby:

If you are using JRuby, you will nee the following steps

  1. Install Java openjdk (6 or 7)

  2. Install RVM

    bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
    echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bashrc
    source ~/.bashrc

    rvm -v should work now! If not, please read:

    https://rvm.beginrescueend.com/rvm/install/#explained
    Ubuntu 11.10 http://www.ruby-auf-schienen.de/buch/rails3-install-ubuntu.html
  3. Install Jruby with

    rvm install jruby
    echo "export JRUBY_OPTS=\"--1.9\"" >> ~/.bashrc
    rvm --default jruby
    ruby -v should print out jruby version
  4. Install rails gem with

    gem install rails
    bundle install (on fairnopoly directory)
    

Contributing

Share the idea, take part at www.fairnopoly.de/ and make the world a better place!

Regarding the source, there are two ways to contribute.

  1. Report a bug? Just use the github issue tracker.

  2. Want to know more and join feature development?

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 92.9%
  • JavaScript 6.4%
  • Other 0.7%