Sitio para regalar cosas que no usas - v3
Ruby HTML Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app Better filtering of sensitive information Jan 16, 2017
db bin/rails db:structure:dump Jan 6, 2017
lib Remove unused folder Jan 6, 2017
log [i18n] gitignore log/localeapp.yml Apr 15, 2015
vendor bin/rails max_mind:update Jan 6, 2017
.env.development Move common config to "root" `.env` Oct 5, 2016
.gitignore Allow easy DB backup and restore Dec 3, 2016
.rubocop_todo.yml Regenerate rubocop's configuration Jan 6, 2017
.ruby-version Bump Ruby version to 2.3.1 Jun 3, 2016
.travis.yml Quick pass over Jul 5, 2016
LICENSE Remove mailcatcher from Gemfile Dec 30, 2016
Vagrantfile Split vagrant provisioners into two Oct 5, 2016

Build Status Dependency Status

This is the next revision of (v3), this time in Ruby On Rails.

  • Ruby: 2.3
  • Rails: 4.2
  • PostgreSQL: 9.6

Automatic Installation

You need to install VirtualBox and Vagrant. Then from the root directory of the project, execute

vagrant up

When finished, you need to log in to the virtual machine with the command

vagrant ssh

Finally you should start the application server

cd /vagrant
bin/rails s -b

Now you can access the web application at this URL


Manual Installation

Check out the script in bin/ - that's the same that Vagrant uses.

Test setup

Running bin/rake will run all the tests, that should always pass on a freshly downloaded copy a nolotiro's master.

More information

For obtaining geographical information we use Yahoo YQL.

For IP GeoLocation we use GeoLite2 City. The database is bundled with this repo in compressed format. To extract the database, run

bin/rake max_mind:extract

You can also, grab the latest version of the DB from MaxMind by running

bin/rake max_mind:update

For delayed tasks, we use Sidekiq, that uses Redis. For caching, we use Redis.

sudo apt-get install redis-server
bundle exec sidekiq

Development environment magic

For the emails we recommend using mailcatcher. This doesn't send external emails during development, and you can see them in a nice web interface. The SMTP port is already configured.

gem install mailcatcher
open http://localhost:1080

Happy hacking!


For the localization and translation interface we use LocaleApp.



Example URLs:

3erd Party

  • Core based on Ruby On Rails.
  • Yahoo YQL - This project is strong WOEID integration centered.
  • jQuery for Javascript.
  • GeoLite2 data API by MaxMind to auto detect user location.
  • Logo by Silvestre Herrera under GPL License.