Skip to content

arjo129/CS2102Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS2102

This is supposed to be our cs2102 project. It has been tested on python 3.6. To run it you will need psycopg2, Jinja2 and flask.

pip3 install flask Jinja2 psycopg2 bcrypt

To connect to a database, one has to add a config.py in the same directory as app.py. Inside will be like so:

conn_string = "host='localhost' dbname='cs2102project' user='postgres' password='password'"

To run on Unix Bash (Linux, Mac, etc.):

$ FLASK_APP=app.py flask run

Otherwise using windows CMD:

> set FLASK_APP=app.py
> flask run

or Windows PowerShell:

> $env:FLASK_APP = "app.py"
> flask run

About

This is a repo for our CS2102 database course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •