Skip to content

YoApp/BarRecommendor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

  • Install pip package manager if you haven't yet:

      Linux: sudo apt-get install python-pip
      Mac: brew install python
    
  • Install virtualenv:

      sudo pip install virtualenv
    
  • Clone this repo:

      git clone [email protected]:YoApp/BarRecommendor.git
      cd BarRecommendor
    
  • Create a virtualenv, enter it and install dependencies:

      virtualenv env
      . env/bin/activate
      pip install -r requirements.txt
    
  • Get your Yelp keys and edit lines 30-33

  • Get your Yo API token and edit line 118

  • Run the Flask server to accept incoming requests on port 5000:

      python main.py
    

alt tag

  • Download and run ngrok to expose your local server to the interwebz:

      ./ngrok 5000
    

alt tag

  • Copy the URL ngrok creates (i.e http://1fe8e9f.ngrok.com)

  • Create your Yo API account and use the ngrok URL as the callback URL but with the path "yo" (like it's defined for flask):

alt tag

  • Yo your location (double tap) to the name you created (YOBARME in this example) and get a bar recommendation!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages