/Pi-JED

Global code 2019 final week project

Primary LanguagePython

Pi-JED

Contact Me

Email: jameaamo@gmail.com
Instagram: @dummycod3r
Twitter: @dummyCod3r_

Team members: Diana Blankson and Enoch Sarpong

Install

To start the flask server, type the following:

git clone gigit@github.com: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

Usage

To run the script type in 'python3 app.py'

Note

This code works on raspberry pi