Install Python header files and MariaDB
sudo apt-get install python-dev
sudo apt-get install mariadb-server
sudo apt-get install libmysqlclient-dev
sudo /usr/bin/mysql_secure_installation
sudo mysql -u root -p -h localhost --execute "CREATE DATABASE checkin"
sudo mysql -u root -p -h localhost checkin < db/database.sql
sudo mysql -u root -p -h localhost --execute "GRANT ALL PRIVILEGES ON checkin.* TO 'checkin'@'localhost' IDENTIFIED BY 'checkinpass'"
sudo apt-get install python-virtualenv
virtualenv venv
source venv/bin/activate
pip install Flask
pip install flask-mysqldb
pip install flask-login