Splitwise Clone
A CLI app that simulates the features of the mobile app 'Splitwise'
Contributors
- Adolfo, John Kenneth
- Ramos, Quim Zyrell
- Santos, Jimwell
- Salazar, Ian
Dependencies
- pip
- pipenv
- mysql-python-connector
- python-dotenv
Pre-requisites
- Must have
mariadb
ormysql
installed on your local machine - Create the tables and seed the database by using the SQL query dumps provided
- Create a copy of the .env.copy file to ".env" file, then populate the fields
MYSQL_HOST
,MYSQL_USER
, andMYSQL_PASSWORD
How to run
- You must have python3 and pipenv installed
- After that, open up your terminal. Make sure you're in the directory with the source code (you should've
cd'd
to the source code by now) - Install the libraries needed by running
pipenv install
orpython3 -m pipenv install
- After installing the packages, open up a new shell environment with the installed libraries by running
pipenv shell
orpython3 -m pipenv shell
- Lastly, run the cli by running
python3 cli.py