PocketAssistant
PocketAssistant is a cutting-edge calendar optimization tool that promotes health, wellness, and academic success for college students. PocketAssistant provides an easy-to-use daily interface for students to view and modify their calendar. Furthermore, PocketAssitant provides suggestions for activities benefitting cardiovascular health that fit seamlessly within the student's schedule. Students are also reminded of important events on their calendar to assist in accomplishing all of their daily activities.
Download and Installation
- Clone the repo:
git clone https://github.com/eecs394-spr15/PocketAssistant.git
- Install Supersonic following the steps at the following link https://academy.appgyver.com/installwizard
- Navigate to the directory containing PocketAssistant
- From the command line in this directory, update the dependencies:
steroids update
- From the command line, start the app:
steroids connect
- This will open a page in your browser with a scannable QR code.
- Download the Appgyver Scanner app on your ios device at https://itunes.apple.com/us/app/appgyver-scanner/id575076515?mt=8
- You can also launch this app on the iOS simulator. Steps for getting this set up can be found at http://docs.appgyver.com/tooling/cli/emulators/ios-simulator/
- Scan the QR code in your browser created in step 5
Setting up Cloud Deployment
Cloud deployment allows you to generate a publicly share-able QR code like the one generated in the above steps. This allows you to share your application with anyone using Appgyver.
- Select the 'Cloud' tab from the steroids connect page in your browser.
- Select 'Deploy to Cloud'
- Select 'Open Cloud Share Page'
- Scan the QR code provided at the resulting page
- This link is shareable with everyone!
Setting up Google API access
- Use this wizard to create or select a project in the Google Developers Console and automatically enable the API.
- In the sidebar on the left, select Consent screen. Select an EMAIL ADDRESS and enter a PRODUCT NAME if not already set and click the Save button.
- In the sidebar on the left, select Credentials and click Create new Client ID.
- Select the application type Web application.
- In the Authorized JavaScript Origins field enter the URL http://localhost.
- In the Redirect URIs field, enter the URL http://localhost.
- Create a new Public API Key by clicking "Create new Key" under the Public API access heading
- In IndexController.js change the value of the clientId variable to be your ClientID obtained in the previous steps.
- Change the value of the apiKey variable to be your Api Key obtained in the previous steps.
Known Bugs and Limitations
- PocketAssistant is currently compatible with iOS devices only
- After authenticating with google calendar on the initial app startup, you must restart the application.
- Suggestions are not context dependent, and are made in only 1 hour and 30 minute time blocks.
- You currently cannot log out of the Google account associated with the application without deleting the application altogether.