-
Ruby 2.5.3
-
PostgreSQL > 9.4
Prepare a database:
rake db:create
rake db:migrate
To pull the properties out of the Trovit's feed run:
rake synchronize_properties:trovit
Run the server:
rails s
The app is dockerized so you can run it in a container:
docker-compose build
docker-compose up
and by default it will be available on your local machine at localhost:3000
.
There is also a cron set up to launch the script of updating the feed every 8 hours in there.
To deploy the app to production customize docker-compose.yml
.