Skip to content
Permalink
Browse files
fixes
  • Loading branch information
leesj4 committed Nov 23, 2021
1 parent 8d04f1b commit ca69487681a64207d1b6490a110bda1708888513
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
@@ -36,5 +36,5 @@ def app(): # creates and initialises a flask app

def create_db(app):
# checks if the database exists already, creating it if not
#if not path.exists("auction/" + DB_NAME): # determines if database.db is a path in the directory
db.create_all(app=app) # creates the database
if not path.exists("auction/" + DB_NAME): # determines if database.db is a path in the directory
db.create_all(app=app) # creates the database
BIN +0 Bytes (100%) auction/database.db
Binary file not shown.
BIN +616 KB (4600%) auction/static/images/2.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN -98.5 KB (12%) auction/static/images/3.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -1,2 +1,12 @@
install modules using pip3 if necessary

in the terminal:
. venv/bin/activate
FLASK_APP=main.py FLASK_ENV=development flask run --host=0.0.0.0
export FLASK_APP=main.py
flask run --host=0.0.0.0

go to:
https://mars-fortune-5000.codio-box.uk/

seller1@gmail.com, p455w0rd
seller2@gmail.com, p455w0rd

0 comments on commit ca69487

Please sign in to comment.