-
Notifications
You must be signed in to change notification settings - Fork 5
sidviswanathan/Project-Eagle
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
======================================================= = GETTING STARTED ===================================== ======================================================= 1. Launch local server > script/server 2. In your browser, go to http://localhost:3000?course_id=1 (landing page for given course id) 3. In your browser go to http://localhost:3000/booking?course_id=2 (booking page) 3. Open mobile_controller.rb (Controller and views associated with booking tee time experience) 4. Open mobile.rb module (Important initialization code is here) 4. Visit m.playdeepcliff.com/booking to access production environment ======================================================= = BOOK A TEE TIME ===================================== ======================================================= MOBILE WEB: SMS BOOKING: ======================================================= = GOOGLE APP ENGINE CODE ============================== ======================================================= # Very critical cron job running on Google App Engine (Heroku does not support crons every minute) # Every minute, this cron called an endpoint in this code base which fetches available tee time data from Deep Cliff Golf Course # The cron hits the following URL -> http://www.presstee.com/server_communication/update_courses (passes in course id) # Code running on App Engine is in Python, main files are main.py, dc.py, and cron.yaml # class Pinger(IHandler): is the class method that pings the URL every minute # For more details, visit Google App Engine Wiki ======================================================= = MOBILE URL REDIRECTS ================================ ======================================================= # Deep Cliff Golf course has included some of it own mobile detection JS code and routed users to m.playdeepcliff.com # Mobile detection code found here: http://www.playdeepcliff.com/includes/mobile_detection.js # Mobile detection code is not detecting iPad, so iframe code needs to handle this use case # iframe code detects the device and routes user accordingly to the correct URL # iFrame snippet provided to golf course: <iframe style='width:0px;height:0px;border:0px;display:none' src="http://www.presstee.com/mobile/iframe?course_id=2"></iframe>
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published