Giter VIP home page Giter VIP logo

fairnopoly's Introduction

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?

fairnopoly's People

Contributors

andreasknoepfle avatar schmidie avatar sebastiansucker avatar djmaze avatar

Watchers

 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.