Skip to content

A searchable games database with a game recommendation system

Notifications You must be signed in to change notification settings

EdmundDong/cse-412-group-project

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A searchable games database with a game recommendation system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 58.5%
  • HTML 24.3%
  • JavaScript 16.9%
  • Other 0.3%