Trinity Tutor
A webapp2 Application using Python3, hosted on Google App Engine cloud service.
This website is used for students to find and become tutors at Trinity College.
by: Yisheng Cai - Trinity College, CT
Peter Reheis - Trinity College, CT
Steven Yee - Trinity College, CT
Public Domain: http://trinity-tutor.appspot.com
Functionality: This blog allows any user to register for accounts, post blogs, and adding comments after each post.
Version 1: May 1, 2015
Version 2: May 19, 2015
Version 3: June 18, 2015
run the local host
dev_appserver.py --enable_sendmail=yes app.yaml
update trinity-tutor.appspot.com
appcfg.py -A trinity-tutor update .
Google App Engine Launcher Run instructions:
- To install Google App Engine SDK for Python, use the link below to start: https://cloud.google.com/appengine/downloads#Google_App_Engine_SDK_for_Python
- For Mac-OS, there is a launcher application you could use to easily test and deploy our web app.
- After installing Google App Engine Launcher, you can run it.
- To add project, click “+” sign at left bottom corner.
- Download Trinity Tutor from Github.
- Choose Application Directory at .../TrinityTutor, and click Create.
- You can now run the webapp locally with “RUN” button on the top bar.
- Redirect to localhost:11001 to start navigating your own Trinity Tutor.
Deployment instructions:
- To deploy the website on Internet, you need to log into your google account at: https://console.developers.google.com/project
- Create a project with anyname.
- Copy Project ID and paste it into first line of app.yaml (eg. Application: project_id)
- Then click deploy button on Google App Engine Launcher
- Redirect to http://project_id.appspot.com to start navigating Trinity Tutor.
Terminal Run instructions:
- First you must have Google App Engine installed.
- cd into the Trinity Tutor folder.
- Execute the following command: dev_appserver.py --enable_sendmail=yes app.yaml This will run Trinity Tutor on localhost:8000 The administrative server will run on localhost:8080
- If sendmail is not working properly, the confirmation emails will not be sent out and you will not be able to validate your account. If the email is sent, please ignore the confirmation link as it is configured to work for the deployed site which can be found at http://trinity-tutor.appspot.com . Proceed to Step 4.
- However, you can “manually” validate your account after you register it by visiting localhost:8080. Select the user account from Datastore Viewer by listing User Entities. Copy the hashed email of the user account to your clipboard. Then enter localhost:8080/confirmation/ + the hashed email you just copied. Click on the button to verify the user account. This will verify the user account and give it full access to Trinity Tutor.