Setting up Apache for WSGI on FreeBSD
2020-02-02
This post is meant as notes for me. Do not expect the wittiness that you’re used to.
The goals is to have my home server collect and store the data generated by the home automation system. In addition to the collecting it I want it to be able to “analyze” the data. In other words I want a pretty graph. The data is stored in a PostgreSQL instance. The analysis interface will be web-based. I haven’t quite decided on the exact stack, but I want it to be Python based. Right now leaning heavily towards Werkzeug.
Install Apache HTTPD
pkg install apache24-2.4.41
Install mod_wsgi
pkg install ap24-py37-mod_wsgi-4.6.5
Install Werkzeug
pkg install py37-werkzeug-0.16.0
Install Jinja2
pkg install py37-jinja2-time-0.2.0 py37-Jinja2-doc-2.10.1
Install psycopg2
pkg install py37-psycopg2-2.8.4