Skip to content
This repository has been archived by the owner on Aug 9, 2020. It is now read-only.
/ flappypotato Public archive

Source code for a web-game dubbed Flappy Potato created during our tenure at CSSI NYC 2018 using Python to handle and route REST requests.

License

Notifications You must be signed in to change notification settings

gurvinder/flappypotato

Repository files navigation

Google Computer Science Summer Institute(CSSI) Final Project: Flappy Potato

License Python 2.7 Jinja2 Webapp2 NDB

This project was completed during our tenure at CSSI NYC 2018. This project has been/will be updated for various reasons including but not limited to feature additions, bug fixes, etc...

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. These instructions will also help you deploy your code to app engine. See prerequisites & notes on how to deploy the project on a live system.

Prerequisites

  • Install Python - You must have Python 2.7 installed on your local system. This project has not been tested on any version after Python 2.7.
  • Install Google Cloud SDK
    • Download the Google Cloud SDK
    • Navigate to the extracted folder and add Cloud SDK tools to your path: ./google-cloud-sdk/install.sh
    • Run gcloud init to initialize the Cloud SDK: ./google-cloud-sdk/bin/gcloud init
      • Optional: Install the Extra Libraries component for Python, which includes the graphy and Django libraries: gcloud components install app-engine-python-extras
    • Update: If you already have the Google Cloud SDK installed, you can run the following command to update the SDK to the latest version: gcloud components update

Deployment

  • Open your text editor or IDE of choice
  • Testing and Debugging
    • Local Development Server - run the dev_appserver.py configuration-file.yaml command from within the root directory of your application where your configuration file(s) are located.
    • Deploying to App Engine - run the gcloud app deploy configuration-file.yaml command from within the root directory of your application where your configuration file(s) are located.

Built With

  • Jinja2 - Template engine used to display data sent from backend.
  • Webapp2 - Lightweight Python web framework.
  • NDB - Google Datastore NDB Client Library used for storing names & scores.

License

This project is licensed under the MIT License - see the LICENSE file for more details.


a project by Jonathan Edwards, Sandra Ibrahim, and Gurvinder Singh