Skip to content

Async api calling#53

Open
vinibiso wants to merge 2 commits into
sahildua2305:masterfrom
vinibiso:async_api_calling
Open

Async api calling#53
vinibiso wants to merge 2 commits into
sahildua2305:masterfrom
vinibiso:async_api_calling

Conversation

@vinibiso

@vinibiso vinibiso commented Aug 29, 2017

Copy link
Copy Markdown

#8

This will be a little tricky to test however, so bear with me.

First install the new dependencies on requirments.txt
The install the broker on your mac with homebrew install redis

To run:
1 - On one tab run redis server
2 - Run the django server with your HE_CLIENT_SECRET
3 - On another in the virtual env run celery -A hackIDE worker --app=hackIDE_project.celery:app -l info to run the celery worker

makes api calls assync through celery with redis as a broker
change settings to allow localhost run thus being able to get HE_CLIENT_SECRET
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant