Roster: Daniel Gelfand (PM), Ahnaf Hasan (Dealing with User Input), Mohammad Jamil (D3) and Jabir Chowdhury (Databases)
Our project is a money manager application to get your finances on track. Use our tools to input your goals such as a dream car or vacation. Using your financial information such as income, balance, and daily expenditures, we suggest what can be cut out to get you to your goal faster than ever!
- Clone the repo
- ssh -
git@github.com:DanielGelfand/3Brown1White.git
- https -
https://github.com/DanielGelfand/3Brown1White.git
- ssh -
$ cd 3Brown1White
- Move to root of repo
pip install -r requirements.txt
- Install the requirements for the project
$ . location_of_venv/venv_name/bin/activate
- Activate your virtual environment
$ python3 app.py
- Start the website
- Open up your browser and type 127.0.0.1:5000
- Load app in browser and enjoy
- SSH into your droplet with
ssh <user>@<ip address>
- Move to the www directory:
cd /var/www
- Add write permissions. This is to ensure that nothing goes wrong.
chgrp -R www-data ./
chmod -R g+w ./
- Clone the repo
git clone https://github.com/DanielGelfand/3Brown1White.git GreenBags
- Move .wsgi file outside of the repo folder to
/var/www/GreenBags/
- Move into the project repo, rename app.py to init.py and install the requirement from requirements.txt
cd GreenBags
mv app.py __init__.py
pip3 install -r requirements.txt
- Move to sites-available directory with
cd ~/../../etc/apache2/sites-available/
- Move config file to /etc/apache2/sites-available/
- Change the server name in the GreenBags.conf file to the ip adress of your droplet
- Run
a2ensite GreenBags
- Restart the server with
sudo service apache2 restart
- Go to your droplet's ip address on your browser
- Pixabay - Create an AirVisual account and generate a key from your dashboard.
- # here
- Copy and paste given key into the value corresponding to "Pixabay" of data/keys.json
-
datetime
- Allows for retrieval of current dates and times.
- Include
import datetime
on the top of your python file to use the datetime module
-
sankey
- Allows for visualization of income flow
- Download js file
- Include script tag in your html file
<script src=path/to/sankey.js></script>