A Django app where you can create, view and register events.
Feature:
- Integration with Google Calendar
- Filter events by time and location
- Email notification (TODO)
- Google Map API Key
- Google OAuth2 client secret
- Permission to access Google Calendar.
- Additional libraries to make sure GeoDjango can access geographic data from database.
Also this app must be served in https. (Required by Google Map)
DEBUG
: Enables debug mode. Default is false.
GOOGLE_MAP_API_KEY
GOOGLE_OAUTH_SECRET
-
DATABASE_URL
: The url to your database. Defaults to an in-disk spatialite db if it's empty. This app uses dj-database-url to make configuration more flexible. See here for the exact URL schema. -
SECRET_KEY
: Secret key to your database. Can't be empty unlessDEBUG
evaluates to true, in which case it use a default key for debugging.
You may want to use environment variable to specify the correct path to the libraries required by GeoDjango:
GEOS_LIBRARY_PATH
GDAL_LIBRARY_PATH
SPATIALITE_LIBRARY_PATH
This is useful on non-glibc systems, e.g. Alpine, because
Python needs glibc to find the correct library path.
(GeoDjango manuals says Python uses objdump
to find libraries,
but my experiment on Alpine Linux shows that installing objdump
does not help.)