Skip to content

Kalimaha/surrounding-suburbs

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
bin
 
 
 
 
db
 
 
lib
 
 
log
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Surrounding Suburbs

This is a project for REA's 30th REAio. The main goal is to find all the listings in a suburb selected by the user and to include in the result listings from surrounding suburbs as well. For example, if the user enters "Torquay", the search engine will return listings for Torquay, as well as Jan Juc, Breamlea and so forth. Listings from the selected suburb must be on top of course. The core of this project is the search performed through PostGIS.

demo

Requirements

Setup

Let's start by building the containers:

docker-compose build

After this, start the application:

docker-compose up

Now, in a different tab, create the DB by running the script:

./bin/create_and_seed_gis_db.s

You will also need some test data, so seed the DB with:

docker-compose run web bundle exec rake db:seed

After this, visit http://localhost:3000/ to see the main (and only) page.

About

Proof of concept to find listings in surrounding suburbs with PostGIS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published