Software Freedom Conservancy's Website
Bradley M. Kuhn
2ba369aa5c
The expandable sections can be expanded either one-by-one, or with the “Expand All” button. Add a counter for each expandable section (which requires their div's to have 'id' attributes, lest they be counted in the '__global' section of expandables). The __global counter will work as advertised if you have no 'id' attributes on any of your 'expandable-section'-classed div's, but if you mix a __global without an id with ones that *do* have an id, it's likely this particular code won't work for that. Finally, add some documentation which is probably over-documenting for someone who knows Javascript and jQuery well, but it took me a while to figure out this code so I felt throwing some notes in there might be helpful. |
||
---|---|---|
apache2/sites-available | ||
systemd | ||
www | ||
.gitignore | ||
AGPLv3 | ||
ASPEN.md | ||
CC-By-SA-3.0 | ||
ISC_LICENSE | ||
README.md |
Contributing
The canonical location for this repository is on Conservancy’s 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 dogwood.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 python2.5-sqlite libapache2-mod-python
Django Setup
- Make sure the Python module 'djangopw', with the global variable 'djangoadmin_password' is somewhere importable in the default PYTHON_PATH.