This is an application that scrapes apartment offers from websites of Wohnungsbaugesellschaften and Wohnungsgenossenschaften in Berlin and sends notifications about them.
- Install Ruby - use version from
.ruby-version
file - Install PostgreSQL
bundle install
rails db:setup
rails console
to test that it runs
You need to create your own Telegram bot to run the test suite. Follow the
instructions here
and here
so you have TELEGRAM_TOKEN
and TELEGRAM_CHAT_ID
.
After that you can run:
TELEGRAM_TOKEN=your_token TELEGRAM_CHAT_ID=your_chat_id rails spec
The application is deployed to Heroku. The deployment happens automatically
after each push to the main
branch.