A wafer-thin web application for running small conferences. Built using Django.
Licensed under the ISC License.
Available on readthedocs.org.
Wafer supports Django 3.2, Django 4.0 - 4.2 and Django 5.0 .
wafer can be installed either from pypi (
pip install wafer
) or from the github repository.If installing from github,
pip install -r requirements.txt
should install all the required python and django dependencies.Wafer uses npm to manage front-end dependencies
- Make sure you have a recent version of Node.js installed that
includes
npm
. - Run
npm install
to install all dependencies, which also copies them towafer/static/vendor
.
- Make sure you have a recent version of Node.js installed that
includes
Install the wafer applications
manage.py migrate
If you don't have one yet, create a superuser with
manage.py createsuperuser
.Examine the
settings.py
file and create alocalsettings.py
file overriding the defaults as required.STATIC_FILES
,WAFER_MENUS
,MARKITUP_FILTER
,WAFER_PAGE_MARKITUP_FILTER
,WAFER_TALKS_OPEN
,WAFER_REGISTRATION_OPEN
andWAFER_PUBLIC_ATTENDEE_LIST
will probably need to be overridden.If you add extensions to
MARKITUP_FILTER
orWAFER_PAGE_MARKITUP_FILTER
, be sure to install the appropriate python packages as well.Wafer uses the Django caching infrastructure in several places, so the cache table needs to be created using
manage.py createcachetable
.Create the default 'Page Editors', 'Talk Mentors' and other useful groups using
manage.py wafer_add_default_groups
.Log in and configure the Site:
- The domain will be used as the base for e-mails sent during registration.
- The name will be the conference's name.
Have a fun conference.
To run a local server for development and testing, use the standard Django
manage.py runserver
, after doing the installation.
For running the server in production, please see the Django documentation on the various possible approaches.
- Support for adding and editing sponsors via Django admin.
- Schedule can be created and updated via Django admin.
- Pages for static content, news and so forth can be handled via Django admin.
- Can be delegated to the 'Page Editors' group.
- Pages can be updated via the web interface.
- Talk submissions, review and acceptance.
- Generate a static version of the site for archival.
Translations for wafer are managed at weblate.org
wafer includes a small set of selenium tests to test various bits of javascript used in the site (mostly in the schedule editor).
To run the tests, you will need to install selenium - pip install selenium
and also run npm install
to install the required javascript dependencies.
The tests can be run using the selenium
tag, or using the individual browser
tags (currently firefox
and chrome
).