INTRODUCTIONThis is a Blood donation IVR project. It understands the user's location and asks him to select the blood group he wants to donate and then reponds him with a list of places nearby where there is a need for his queried blood group. The project fetches posts from facebook and twitter blood donation pages.
Deploy it on a Server
python manage.py makemigrations
python manage.py migrate
Enter the relevant data in kookoo_hack/kookoo_hack/settings_server.py
FACEBOOK_ACCESS_TOKEN={'dev_name':'','app_id':'',
'short_lived_access_token':''}
TWITTER_ACCESS_TOKEN={'consumer_key':'','consumer_secret':'',
'access_token':'','access_token_secret':''}
Change
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "kookoo_hack.settings")
to
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "kookoo_hack.settings_server")
in kookoo_hack/manage.py
To run
sudo bash setup_server.sh
Then,
bash run.sh