Giter VIP home page Giter VIP logo

nolotiro.org's Introduction

nolotiro.org

Build Status Dependency Status

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

  • Ruby: 2.4
  • Rails: 5.1
  • 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 0.0.0.0

Now you can access the web application at this URL

http://localhost:3000

Manual Installation

Check out the script in bin/bootstrap.sh - 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 geographic 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
mailcatcher
open http://localhost:1080

Happy hacking!

i18n

For the localization and translation interface we use [LocaleApp].

API

v1

Example URLs:

https://beta.nolotiro.org/api/v1/woeid/list
https://beta.nolotiro.org/api/v1/woeid/766273/give
https://beta.nolotiro.org/api/v1/woeid/766273/give?page=2
https://beta.nolotiro.org/api/v1/ad/153735

3rd 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.

nolotiro.org's People

Contributors

andreslucena avatar deivid-rodriguez avatar fpdl avatar dependabot[bot] avatar jipipayo avatar

Stargazers

ToJin avatar

Watchers

James Cloos avatar Imgbot 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.