Giter VIP home page Giter VIP logo

tigercrush-qa's Introduction

TigerCrush-QA

Copied from https://github.com/alanjding/TigerCrush, a collaborative project by me, Alan Ding, and Jerry Huang. This was meant to be a test instance, but it is no longer operational due to CAS expiry. The main project gathered over 1500 unique users among the Princeton students and was maintained for a 6-month period after initial release. There are no current plans to continue support for this application.

Description

The one and only Tinder-defying application specifically for Princeton students. Add your crushes and see if they crush on you back. Revive your hopes and live your dreams with the love of your life through TigerCrush!

This app is a revival of the old GoodCrush platform, the brainchild of Josh Weinstein '09. It retains very similar functionality, allowing students to indicate as many crushes as they wish, and contacting two matched students if and only if the first student put down the second as a crush and vice versa. Users will also be able to see the number of students crushing on them whom they did not indicate to be a crush of their own. No "missed connection" feature is planned, since we believe Tiger Confessions++ serves that purpose already. Princeton students must log on with Princeton's CAS (Central Authentication Service), so the platform is closed to Princeton students only.

Development

Features to be implemented in the next release:

  • Add a random delay before sending an email/displaying a match so that users can't tell who was the one to "choose first"
  • Add functionality for secret admirer messages: when you add a crush, you can also send a short message along to the person you're crushing on and the message will appear in the crushed on user's secret admirer message logs
  • Display total number of crushes reported
  • Auto-redirect to index if already logged in
  • Manually add name/year if not in the database
  • Add number of matches in usageStats script

Local PostgreSQL Setup:

In order to properly use a PostgreSQL database and therefore the application on your machine, you must have a local PostgreSQL server and a GUI of your choice for editing and accessing your databases interactively.

PostgreSQL Server


Postgres.app is the preferred piece of software whose sole purpose is to initialize and run a PostgreSQL server. Please navigate to this website and follow instructions for installing and setting up the application.

PostgreSQL GUI


While Postgres.app includes a command-line interface, it is not as visually pleasing as a full-feature GUI. We will use pgAdmin 4 to accomplish that goal. Please download the latest version of the application here.

After installation, open the application. You will be prompted to set a password when using PostgreSQL. Please set a password you can remember and select Remember Password. This way you will not have to re-enter the password every time you want to connect to a local database.

Make sure there is a server displayed on the left panel that is running on localhost. If not, right-click Servers, then select Create -> Server.... Under General, set the Name to be local. Under Connection, type localhost as the Host name/address. Finally, press Save.

(Optional) Remove all servers but one that you will be using by right-clicking each server under Servers(-) in the top-left corner of the page and the selecting Remove Server.

On the left panel, you will be able to see your server and all contained database. Right-click Databases(-) and select Create -> Database.... Under General, set the Database field to TigerCrush. Press Save.

Now you are all set up with the GUI!

Python


Please install a psycopg2 package which acts as a PosgreSQL connection port. On a MacOS system, you can do this using pip:

pip install psycopg2-binary

As the last step, navigate to your TigerCrush working directory. First, edit private.py according to the instructions in the file and run the db_create.py using the following:

python3 db_create.py

This will create the schema under your TigerCrush PostgreSQL database we made earlier.

Now you are all set to enjoy the power of PostgreSQL locally. Enjoy!

tigercrush-qa's People

Contributors

oleggolev avatar

Watchers

 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.