Software Freedom Conservancy's Website
Find a file
Ben Sturmfels 05323a307d
Add support for Debian Bullseye
Added `on_delete` attributes, updated ForceCanonicalHostnameMiddleware for
compatibility and added Dockerfile for Bullseye.
2023-09-12 10:59:45 +10:00
apache2/sites-available Created source links. 2010-10-03 22:28:24 -04:00
systemd systemd: Replace cron infrastructure. 2019-11-23 18:20:09 -05:00
www Add support for Debian Bullseye 2023-09-12 10:59:45 +10:00
.gitignore ignore wsgi password files. 2015-11-30 19:19:47 -08:00
AGPLv3 License texts 2010-09-26 18:53:20 -04:00
ASPEN.md added ASPEN.md document 2015-02-27 12:12:12 -06:00
CC-By-SA-3.0 Added CC-By-SA-3.0 license 2010-10-03 21:59:53 -04:00
Dockerfile-debian-bullseye Add support for Debian Bullseye 2023-09-12 10:59:45 +10:00
Dockerfile-debian-buster Add Debian Buster dockerfile 2023-09-07 23:27:33 +10:00
Dockerfile-debian-stretch Add support for Debian Bullseye 2023-09-12 10:59:45 +10:00
ISC_LICENSE License texts 2010-09-26 18:53:20 -04:00
randomfile smile.amazon.com deprecated 2023-01-20 10:06:30 -08:00
README.md Remove use of python3-future 2023-09-07 22:59:23 +10:00
requirements.txt Remove use of python3-future 2023-09-07 22:59:23 +10:00

Software Freedom Conservancy website

Contributing

The canonical location for this repository is on Conservancys Kallithea instance. Copies of this repository elsewhere, such as Github, are for backup purposes only..

License

The software included herein, such as the Python source files, are generally licensed AGPLv3-or-later. The Javascript is a hodgepodge of licensing, but all of it is compatible with AGPLv3-or-later. See the notices at the top of each Javascript file for licensing details.

The content and text (such as the HTML files) is currently CC-BY-SA-3.0.

Server configuration

conservancy's webserver runs on a machine called aspen.sfconservancy.org, which is a standard Debian installation.

The following packages are installed to make Django and Apache work on a squeeze install:

$ aptitude install python-django apache2 sqlite3 python3-sqlite libapache2-mod-wsgi-py3

Django setup

  1. Make sure the Python module 'djangopw', with the global variable 'djangoadmin_password' is somewhere importable in the default PYTHON_PATH.

Local development

python3 -m pip install -r requirements.txt
cd www
python manage.py runserver

Deploying

Changes pushed to the https://k.sfconservancy.org/website repository are automatically deployed to the production website by the conservancy-www-update SystemD timer. See systemd/conservancy-www-update.timer for details.