For Facebook you need to setup a page and an app. You can follow the guide here.
python3 -m venv venv
. venv/bin/activate
pip install -U pip wheel
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver
Relevant settings:
FACEBOOK_PAGE_ID
FACEBOOK_APP_ID
FACEBOOK_APP_ACCESS_TOKEN
FACEBOOK_APP_VERIFICATION_TOKEN
GOOGLE_OAUTH2_CLIENT_ID
GOOGLE_OAUTH2_CLIENT_SECRET
GOOGLE_SPREADSHEET_ID
BASE_URL
ALLOWED_HOSTS
MANUSCRIPT_API_ALLOW_ANY
# Quiz styles
cd quiz/static/quiz
yarn
npm run styles
npm run watch
# From CSV-file
python manage.py sync_promises --check-file FILE
# From Google Spreadsheet (needs configuration)
python manage.py sync_promises --google
fab deploy # You need your SSH-key on the server first
Also see puppet/README.md