This cookbook installs Tiny Tiny RSS (aka tt-rss), an open-source web-based reader for RSS and Atom feeds. This cookbook configures tt-rss to run on Apache, PHP, and MySQL.
If you have an existing apache site:
- Include only the
default
recipe in your chef run-list. - Set
node['tt-rss']['install_dir']
to a location inside your web-root (for example/var/www/tt-rss/
). - Set
node['tt-rss']['url']
to match (for examplehttp://my-site.com/tt-rss/
)
- Navigate to url set in
node['tt-rss']['url']
and log in withadmin/password
If you want this cookbook to create a new apache site config and enable it:
- Include to both the
default
andapache-site
recipes in your chef run-list. - Set
node['tt-rss']['server_name']
to the DNS name of your web-server.
- Navigate to url set in
node['tt-rss']['url']
and log in withadmin/password
. - Go to preferences and change your password immediately.
node['tt-rss']['database']['name']
- Name of the mysql database. Default istt-rss
node['tt-rss']['database']['user']
- Name of the mysql user for the database. Default istt-rss
node['tt-rss']['database']['password']
- Password for the database user. Default istt-rss
node['tt-rss']['download-url']
- Location of the Tiny Tiny RSS package. Default is https://github.com/gothfox/Tiny-Tiny-RSS/archive/1.10.tar.gznode['tt-rss']['url']
- URL of the web site. Defaulthttp://localhost
node['tt-rss']['server_name']
- Name of the server, used in apache site configuration. Defaultlocalhost
node['tt-rss']['server_aliases']
- Array of additional names to which the server responds, if your server only responds to a single name, this should have one entry which is the same as server_name. Used in apache site configuration. Defaultlocalhost
node['tt-rss']['install_dir']
- Installation directory. Default/opt/tt-rss
node['tt-rss']['log_destination']
- Tiny Tiny RSS log destination configuration. Valid values aresql
to log in the database (can be read using Preferences -> System),syslog
to log to the system log, or blank string which uses PHP logging. Defaultsql
node['tt-rss']['update_feeds']['cron']
- If true, the cookbook installs a cron job to update feeds in /etc/cron.d/ttrss-update. Defaulttrue
node['tt-rss']['install_dir']['cron_expression']
- The cron expression that determines how frequently to update feeds. Default17 */4 * * * (every 4 hours at 17min after the hour)
This cookbook is likely to run on any relatively recent debian-like, but it's tested on the following platforms:
- Ubuntu 12.04 Precise Precise Pangolin
- Ubuntu 14.04 Trusty Tahr (Apache 2.4 requires apache2 cookbook >= 2.0.0)
- Debian 7 Wheezy
- apt
- apache2 (>= 2.0.0 for Apache 2.4 support)
- php >= 1.1.8
- mysql
- database
This cookbook uses semantic versioning as defined at http://chef-community.github.io/cvp/
Feedback, documentation improvements, bug reports, and code contributions are welcome. To hack on the cookbook:
- Install the gems needed for development and testing:
bundle install
- Manually run ruby syntax checks:
bundle exec rubocop
- Manually run foodcritic lint checks:
bundle exec foodcritic .
- Manually run chefspec unit tests:
bundle exec rspec
(there are many expected resource-clone warnings) - Manually run test-kitchen integration tests for your desired platform:
- List test-kitchen platforms:
bundle exec kitchen list
- Create, converge, and verify your chose platform:
bundle exec kitchen verify default-ubuntu-1204
- List test-kitchen platforms:
- Use guard to automatically run all tests whenever you save a file:
bundle exec guard
This cookbook was originally written by @wtreur and maintainership was transferred to @mikelococo in January of 2014.
- The updated github page is https://github.com/mikelococo/tt-rss
- The updated clone url is https://github.com/mikelococo/tt-rss.git