Email: [email protected]
Instagram: @dummycod3r
Twitter: @dummyCod3r_
Team members: Diana Blankson and Enoch Sarpong
To start the flask server, type the following:
git clone [email protected]:Amo95/Pi-JED.git
cd ~/Pi-JED
pip3 install -r requirements.txt
apt-get install sqlite3
Then create a database by typing from terminal, <'sqlite3 databasename'>. From the sqlite3 session, type create table and exit
On terminal type 'python3' to enter into python's interactive session and type following
from app import db
db.create_all()
exit() or Ctrl ^D
To run the script type in 'python3 app.py'
This code works on raspberry pi