This was originally developed for Northumberland CVA but with some small modifications to the logo etc. it should be useable for other organisations.
To get an idea of what a live community directory using this project looks like visit: https://directory.northumberlandcva.org.uk
The following environment variables need to be set for the app to work.
VCC_API_KEY: VC Connect API key.
SECRET_KEY: Random string of bytes needed for CSRF protection.
You can use Python to generate random bytes for use as the
SECRET_KEY like so:
$ python >>> import os >>> os.urandom(24) b"\xee\xa8\xed\xc8t\xc1\x07f\x84'\x97-7\x08\xd0rd\x94\x0fz0U\x04\xde"
Take the byte string and set it as an environment variable with:
$ export SECRET_KEY="\xee\xa8\xed\xc8t\xc1\x07f\x84'\x97-7\x08\xd0rd\x94\x0fz0U\x04\xde"
VCConnect-Flask is released under the Apache License 2.0.