Skip to content

vivekscl/CS2102-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS2102-Project

AY2018/2019 Sem 1 - CS2102 Project This is based on topic C, Stuff Sharing.

Installing dependencies

pip install -r requirements.txt.

Setting up postgresql

  1. Setup postgresql from the official documentation under chapter 16/17.
  2. Setup your .pgpass file for secure storage of password and port as explained here or this SO post for Linux/Mac.
  3. Create a file called conn.txt which contains the connection string for the psycopg2 library to connect to a postgresql server. This file will contain the parameters for the connection string. For example, host='localhost' dbname='mydbname' user='myusername'.

Running the app

  1. Fork and then clone the repo.
  2. Install the dependencies.
  3. Setup the database configurations for postgresql.
  4. The required configurations have been set in .flaskenv so run the app using flask run. The app will be hosted on http://127.0.0.1:5000/ by default.

About

AY2018/2019 Sem 1 - CS2102 Project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •