-
Notifications
You must be signed in to change notification settings - Fork 0
/
requirements.txt
executable file
·57 lines (33 loc) · 1.39 KB
/
requirements.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
REQUIRED COMPONENTS:
1). Google Maps API Key
A Google account is required for a Google Maps API Key.
Using your Google account, you can obtain a Google Maps API Key as follows:
Visit https://code.google.com/apis/console and log in with your Google Account.
Click the Services link from the left-hand menu.
Activate the Google Maps API v3 service.
Click the API Access link from the left-hand menu.
2). Yelp client id and client secret.
These can be obtained by registering with Yelp as a developer at:
https://www.yelp.com/developers
3). Python 2.7.x which can be downloaded from here:
https://www.python.org/downloads/
4). Flask - the Python micro-framework, which can be downloaded here:
http://flask.pocoo.org/
SETUP INSTRUCTIONS:
Replace the contents of the credentials file with the corresponding Google Maps
API Key and Yelp client credentials.
The full path of the credentials file is:
./static/assets/docs/credentials
Replace the Google and Yelp credentials in this file (the parts between angle
brackets):
{
"GOOGLE_MAPS_API_KEY":<GOOGLE_MAPS_API_KEY>
, "YELP_CLIENT_ID":<YELP_CLIENT_ID>
, "YELP_CLIENT_SECRET":<YELP_CLIENT_SECRET>
}
Save the file when done editing.
RUNNING THE APPLICATION:
The application may be launched from the command line as follows:
```
python app.py
```