Every City Of The World
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
icons
lib
log
public
scripts
test
vendor/assets
.gitignore
.ruby-gemset
.ruby-version
.travis.yml
Dockerfile
Gemfile
Gemfile.lock
Procfile
README.rdoc
Rakefile
config.ru
docker-compose.yml
mydb.dump.zip

README.rdoc

EveryWirldCity.com Build Status

There are a lot of cities all over the world, which we don't know at all. That's why we have decided to create twitter account @everyworldcity. Following it you will have an opportunity to learn a new city every day - review photos, explore map, read interesting facts. Probably namely here you will be inspired to a new adventure. The Data Base has already 10530 cities and it is expanding dynamically. All descriptions and photos for twitter posts were found/gathered with Wikipedia API's help. Based on googleplace Rest API we prepare the most popular photos for each city. The map uses Google's Static Map API. Every day the new random city will be tweeted via Rake task and Twitter API.

Info:

  • The Ruby version 2.0.0

  • Rails version 4.1.1

  • Database is PostgreSQL 9.3.1

  • Requires ImageMagic on board.

Docker:

  • docker-compose up

  • docker-compose run web rake db:setup

Deployment:

  • get rails (and all related).

  • run bundle install to get all gems required for the correct work.

  • set up a scheduled task to run Rake task tweet.rake