GithubHelp home page GithubHelp logo

nichochar / housepoints Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 7.92 MB

A tiny google appengine app that allows to do harry potter like house points counting

Python 38.12% CSS 44.13% HTML 17.75%

housepoints's Introduction

HP House Points App

This is a small application that allows admins to add/remove points to 4 harry potter houses (Gryffindor, Slything, Ravenclaw and Hufflepuff). It is built using python3 + flask (web framework) + google appengine (runtime) + firestore (database).

Deployment:

This is only possible if you are an owner of the google project (only myself at this point). You'll need to have installed the gcloud command line tool.

$ gcloud app deploy

Local development

If you want to run the server locally, all you need is python3 and pip. Please make sure to not forget export FLASK_ENV=development when running the development server, if not you will talk to the remote database.

  1. Create a python virtualenv with the right dependencies (pip install virtualenv if you don't have virtualenv)
  2. pip install the requirements
  3. run the local server

Commands

$ virtualenv venv                                # create a virtualenv called "venv"
$ source venv/bin/activate                       # activate it
$ pip install -r requirements.txt                # install the requirements in it
$ export FLASK_ENV=development && python main.py # run the server in it

housepoints's People

Contributors

nichochar avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.