This commit is contained in:
Vivek Teega 2019-03-05 10:52:01 +00:00
parent 07e0e0091d
commit 1423ca01c1
4 changed files with 1122 additions and 2 deletions

3
\ Normal file
View File

@ -0,0 +1,3 @@
#!/usr/bin/python3
from app import app
app.run(debug=False, host='0.0.0.0', port=5000)

View File

@ -4,7 +4,7 @@ from app import app
from app.forms import SearchForm, BlankForm
import sqlite3
dblocation = '/home/vivek/Dev/RanchiMall/rmfzeTracking_testnet/tree.db'
dblocation = '/home/vivek/Documents/Ranchimall/flo-token-tracking/tree.db'
@app.route('/', methods=['GET', 'POST'])
def index():
@ -63,3 +63,8 @@ def transactions():
transactionHistoryTable = c.fetchall()
conn.close()
return render_template('transactions.html', transactionHistoryTable=transactionHistoryTable)
@app.route('/test')
def test():
return render_template('test.html')

1112
app/templates/test.html Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,3 @@
#!/usr/bin/python3
from app import app
app.run(debug=True)
app.run(debug=False, host='0.0.0.0', port=5000)