projects:hackhub
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:hackhub [2020/04/19 13:06] – hibby | projects:hackhub [2022/09/07 13:29] (current) – hibby | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Hackhub ====== | ====== Hackhub ====== | ||
- | Hackhub is our member database. | + | Hackhub is our member database |
- | Hackhub lives at [[https:// | + | It is very closely integrated with [[projects:57_north_id|57North ID]] and both need to be running. |
+ | Hackhub code is hosted at [[https:// | ||
===== Hibby' | ===== Hibby' | ||
Line 16: | Line 17: | ||
* Flask | * Flask | ||
* Apache2 | * Apache2 | ||
+ | * libapache2-mod-wsgi | ||
* sqlite3 | * sqlite3 | ||
* slapd | * slapd | ||
Line 25: | Line 27: | ||
- Install Debian Stable | - Install Debian Stable | ||
- | - '' | + | - '' |
- | - '' | + | |
- | - '' | + | - Migrate hackhub DB - ''/ |
+ | - '' | ||
+ | | ||
+ | - '' | ||
+ | | ||
+ | | ||
+ | - '' | ||
+ | - Configure [[projects: | ||
+ | |||
+ | |||
+ | ===== LDAP ===== | ||
==== Exporting LDAP ==== | ==== Exporting LDAP ==== | ||
Line 59: | Line 71: | ||
- '' | - '' | ||
- | {{tag>project | + | ====== Apache ====== |
+ | ===== Modules ===== | ||
+ | - '' | ||
+ | - '' | ||
+ | |||
+ | ===== Hackhub site file ===== | ||
+ | ==== Cleartext ==== | ||
+ | < | ||
+ | < | ||
+ | ServerName hub.57north.org.uk | ||
+ | ServerAdmin ctte-private@57north.co | ||
+ | RewriteEngine on | ||
+ | RewriteRule ^ https:// | ||
+ | </ | ||
+ | |||
+ | # vim: syntax=apache ts=4 sw=4 sts=4 sr noet | ||
+ | </ | ||
+ | ==== SSL ==== | ||
+ | < | ||
+ | < | ||
+ | WSGIPythonPath / | ||
+ | < | ||
+ | ServerName hub.57north.org.uk | ||
+ | ServerAdmin ctte-private@57north.co | ||
+ | SSLCertificateFile / | ||
+ | SSLCertificateKeyFile / | ||
+ | Include / | ||
+ | |||
+ | WSGIDaemonProcess hackhub user=hackhub group=hackhub threads=2 | ||
+ | WSGIScriptAlias / / | ||
+ | DocumentRoot / | ||
+ | |||
+ | RewriteEngine On | ||
+ | RewriteRule ^/$ https:// | ||
+ | |||
+ | < | ||
+ | WSGIProcessGroup hackhub | ||
+ | WSGIApplicationGroup %{GLOBAL} | ||
+ | Require all granted | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | |||
+ | # vim: syntax=apache ts=4 sw=4 sts=4 sr noet | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | {{tag> |
projects/hackhub.1587301575.txt.gz · Last modified: 2020/07/07 20:48 (external edit)