Code Monkey home page Code Monkey logo

cse-412-group-project's Introduction

Game DB

A searchable games database with a game recommendation system. Built with PostgreSQL and Flask.

Setup Instructions

Install venv with:

pip install virtualenv

Run the following commands in the project directory:

virtualenv venv
source venv/bin/activate

Now that you are in your virtual environment run the following command to install the dependencies:

pip install -r requirements.txt

With postgres installed and with a running postgresql database, run the following set of commands:

createdb gamedb
psql gamedb < gamedbdump.sql

After your tables are setup, create a .env file under app/ with the following code:

DATABASE=gamedb
HOST=<optional depending on postgres config, local database host>
PORT=<optional depending on postgres config, local database port>
PASS=<optional depending on postgres config, local database password>

Run the command flask run while in the project root directory to start the server. The server should now be visible at http://localhost:5000/.

When you are done with working on the project and want to exit the virtual environment, deactive venv by running:

deactivate

cse-412-group-project's People

Contributors

edmunddong avatar rickyhhsu avatar michaudcordell avatar rickyhsu0101 avatar

Watchers

James Cloos 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.