The 360Giving Registry lists files that use the 360Giving Standard. The list of files is maintained by 360Giving, and this repo contains the source code for the website that obtains the listing from 360Giving (via the Salesforce API) and presents it as a website. The live website is updated once a day from this repo, unless manually triggered.
To download all the files listed in the registy, the 360Giving datagetter tool is available.
$ python3 -m venv .ve
$ source .ve/bin/activate
$ pip install -r requirements_dev.txt
Export the following environment variables:
export SALESFORCE_CONSUMER_KEY=
export SALESFORCE_CONSUMER_SECRET=
export SALESFORCE_DOMAIN=
Development server
$ DJANGO_SETTINGS_MODULE=settings.settings_dev ./registry/manage.py runserver
$ ./registry/manage.py test tests
$ pip install pip-tools
$ pip-compile requirements.in
$ pip-compile requirements_dev.in
The 360Giving design system is used for styling this project.
To compile the theme, check out the submodule then:
cd 360-ds
npm install
npm run compile-sass
cp ./build/360-ds/css/main.css ../registry/ui/static/css/
For more information on the design system see the 360-ds project