Simple Rails app to manage and serve XML phone books for Yealink VoIP phones.
This is just a plain simple Ruby on Rails app. So, the general setup steps are as follows:
- Checkout the code to a directory
- Having Ruby and
bundler
installed, runbundle install
- Setup a database:
rails db:create
andrails db:migrate
- Start Rails:
rails server
You can run this app with a simple Docker container (with a SQLite3 DB and Puma as the webserver).
Build the image by using
docker build -t yealink .
Alternatively, you can use my prebuilt image from Docker Hub:
docker pull zumbrunnen/yealink-phone-book
docker run -v /path/to/production.sqlite3:/yealink/db/production.sqlite3 yealink