freebsd-ports/www/tt-rss/files/pkg-message.in
Thierry Thomas 4cf92ab11e Replace the option DBLOCAL by a flag in /etc/rc.conf.
PR:		208410
Submitted by:	john (at) johnanddalene.net
2016-04-14 19:19:36 +00:00

33 lines
1.5 KiB
Text

===============================================================================
Tiny Tiny RSS is now installed, but it requires some additional setup.
You now need to create the DB used by Tiny Tiny RSS as its back-end:
create a database and a user, and source the script
%%WWWDIR%%/schema/ttrss_schema_%%DB%%.sql .
Then, you need to edit the configuration file
%%WWWDIR%%/config.php
You also need to add appropriate configuration directives to your apache
configuration file (%%PREFIX%%/etc/apache(2)/httpd.conf).
E.g., you could copy %%DATADIR%%/httpd-tt-rss.conf
to %%LOCALBASE%%/etc/apache22/Includes/ if using apache22.
Then, you should be able to check <http://localhost/tt-rss/> and
<http://localhost/tt-rss/mobile/> with a browser.
(the first time, the user is "admin", with the password "password")
And to update your feeds, you have to enable the daemon ttrssd in
/etc/rc.conf and start %%PREFIX%%/etc/rc.d/ttrssd . You may also add an entry
for /var/log/ttrssd.log in your /etc/newsyslog.conf .
Note: set `ttrssd_local_db="NO"' if your database is on another server.
Important note: after an upgrade, you have to set SINGLE_USER_MODE to true
in your config.php; remember to modify after that if needed. And your
DB_USER must be granted to ALTER any tables of your DB_NAME. And don't
forget to empty the cache of your browser!
Please read <http://tt-rss.org/redmine/wiki/tt-rss/InstallationNotes> and
<http://tt-rss.org/redmine/wiki/tt-rss/UpdatingFeeds> for important points.
===============================================================================