Steps to import data into mongodb (mongolab)
-
Update DB setting in config.py
-
Pull restaurant data from delivery using the following command: python import_restaurants_delivery.py
-
Pull menu data from delivery using the following command: python import_restaurant_menus_delivery.py
-
Pull restaurant data from eatstreet using the following command: python import_restaurants_eatstreet.py
-
Pull menu data from eatstreet using the following command: python import_restaurant_menus_eatstreet.py
-
Add GeoSphere index to restaurant collection using the following command: python create_indexes.py