A backend service to help BrightID users find their friends
(It's better to use a virtual env)
# install the dependencies
pip install -r requirements.txt
# run migrations and setup database
python manage.py migrate
# run the project
python manage.py runserver
Also, read the load initial data section
Use guides like this one to setup this Django
project on your server. You can rename secret-sample.py
to secret.py
to add your production configurations
after running migrations, you can load initial social media variations to database
# running python shell for Django
python manage.py shell
from initial_data.initial_social_media import *
upsert_initial_social_media_variations()
use this guide
after runnning the command python manage.py runserver
you can go to http://127.0.0.1:8000/api/docs/swagger/
to see the api documentation