- Git
- NodeJS
- Python 3 incl. header files
- Apache 2.4 incl. header files
git clone --recurse-submodules https://github.com/p3k/rss-box.git
cd rss-box
npm install
# This installs both, server (Python) and client (NodeJS) dependencies
npm install
💡 The script creates a virtual environment and installs the Python dependencies there.
npm start
# In another terminal (alternatively, enter the URL in your browser, manually)
xdg-open http://localhost:8000
npm run build
# The built files are located in the `dist` directory
// src/local.js
export const urls = {
// The base URL of the installation
app: "https://host.domain.tld/rss-box-viewer",
// The JSON proxy for retrieving feeds
proxy: "https://host.domain.tld/json-services/roxy",
// The referrer counter
referrers: "https://host.domain.tld/json-services/ferris?group=rss-box",
// The feed to be displayed by default when opening the base URL
feed: "https://host.domain.tld/default-feed.xml"
};
# Replace with actual path!
LoadModule wsgi_module "/path/to/virtual-environment/lib/python3…/site-packages/mod_wsgi/server/mod_wsgi-py3….so"
WSGIRestrictEmbedded On
WSGISocketPrefix /var/run/apache2/wsgi
WSGIDaemonProcess services python-home=/path/to/virtual-environment python-path=/path/to/rss-box/services
WSGIScriptAlias /services /path/to/rss-box/services/wsgi.py process-group=services
<Location /services>
WSGIApplicationGroup %{GLOBAL}
Require all granted
</Location>
Please refer to the mod_wsgi User Guide for details.