You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Etienne Baque 936accc25a Fixed navigation submission form 3 years ago
app Fixed navigation submission form 3 years ago
bin Wrote first cucumber tests 4 years ago
config Refactored item search and refine categories 3 years ago
db Fixed setup pages 3 years ago
features Fixed cucumber tests 3 years ago
lib Added results page dynamically 3 years ago
log Imported Madloba project from private repository 5 years ago
public Imported Madloba project from private repository 5 years ago
script Wrote first cucumber tests 4 years ago
spec Fixed Rspec config 3 years ago
vendor/assets Improved search result page 3 years ago
.codeclimate.yml Added Code Climate config files 4 years ago
.csslintrc Added Code Climate config files 4 years ago
.eslintignore Added Code Climate config files 4 years ago
.eslintrc Added Code Climate config files 4 years ago
.gitignore Added Haml and Awesome_print gems - ready to convert erb into haml 4 years ago
.irbrc Added Haml and Awesome_print gems - ready to convert erb into haml 4 years ago
.rspec Fixed Rspec config 3 years ago
.rubocop.yml Added Code Climate config files 4 years ago
.ruby-version Updated gems 3 years ago
.travis.yml reverted change on travis config file 3 years ago
Capfile Fixed ruby version for capistrano 3 years ago
Gemfile Implemented Bootstrap tags input plug-in 3 years ago
Gemfile.lock Implemented Bootstrap tags input plug-in 3 years ago
LICENSE Initial commit 5 years ago
Procfile Imported Madloba project from private repository 5 years ago
README.md Fixed ruby version for capistrano 3 years ago
Rakefile Imported Madloba project from private repository 5 years ago
coffeelint.json Added Code Climate config files 4 years ago
config.ru Removed use of websockets 3 years ago

README.md

Madloba

Build Status Code Climate

Madloba (beta) is a free, open-source solution that connects people who have things to exchange.

Each Madloba website uses a map that allows users to visualize at a glance what their neighbours have to give away or what they are looking for.

More information on madloba.org.

Deployment

To deploy your Madloba instance, follow the steps in the installation guide.

Development

If you want run Madloba on your local machine, follow these steps:

  1. Make sure you have these prerequisites installed:
  1. Run the following commands:
    $ git clone git@github.com:etiennebaque/madloba.git
    $ cd madloba && bundle install
    
  2. Database config: update the settings of your development database, by doing the following:
  • Make a copy of /config/app_environment_variables.rb.sample and name it /config/app_environment_variables.rb.
  • In /config/app_environment_variables.rb, set your database credentials.
  1. Once this is done, create your local database by running:
    $ bundle exec rake db:setup
    
  2. That’s it, you’re good to go! Start your local server:
    $ rails s
    

Used gems

This project uses the following main gems:

  • Devise (authentication)
  • Pundit (authorization)
  • Faye Websocket (websockets)
  • Capistrano (deployment)
  • Delayed job (queue)
  • Carrierwave (file upload) and Carrierwave-backgrounder (file processing)
  • Fog (cloud storage on Amazon S3)
  • Dalli (cache)
  • RSpec and Factory girl (testing)

Demo

Feel free to give Madloba a try at demo.madloba.org. Instructions about this demo can be found here.

Contribution

  1. Fork the Madloba project.
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request.

License

Madloba is an Open Source Software released under the GNU Geneal Public License - V2.