GithubHelp home page GithubHelp logo

3brown1white's Introduction

3Brown1White

Roster: Daniel Gelfand (PM), Ahnaf Hasan (Dealing with User Input), Mohammad Jamil (D3) and Jabir Chowdhury (Databases)

Overview

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!

Launch Instructions

Install and run on localhost

  1. Clone the repo
    • ssh - [email protected]:DanielGelfand/3Brown1White.git
    • https - https://github.com/DanielGelfand/3Brown1White.git
  2. $ cd 3Brown1White
    • Move to root of repo
  3. pip install -r requirements.txt
    • Install the requirements for the project
  4. $ . location_of_venv/venv_name/bin/activate
    • Activate your virtual environment
  5. $ python3 app.py
    • Start the website
  6. Open up your browser and type 127.0.0.1:5000
    • Load app in browser and enjoy

Install and run on Apache2

  1. SSH into your droplet with ssh <user>@<ip address>
  2. Move to the www directory: cd /var/www
  3. Add write permissions. This is to ensure that nothing goes wrong.

chgrp -R www-data ./
chmod -R g+w ./

  1. Clone the repo git clone https://github.com/DanielGelfand/3Brown1White.git GreenBags
  2. Move .wsgi file outside of the repo folder to /var/www/GreenBags/
  3. 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
  4. Move to sites-available directory with cd ~/../../etc/apache2/sites-available/
  5. Move config file to /etc/apache2/sites-available/
  6. Change the server name in the GreenBags.conf file to the ip adress of your droplet
  7. Run a2ensite GreenBags
  8. Restart the server with sudo service apache2 restart
  9. Go to your droplet's ip address on your browser

How To Procure API Keys?

  • Pixabay - Create an AirVisual account and generate a key from your dashboard.
    • Sign up here
    • Copy and paste given key into the value corresponding to "Pixabay" of data/keys.json

Required modules and plugins

  • 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>

3brown1white's People

Contributors

danielgelfand avatar pgreatness avatar mojamil avatar

Stargazers

 avatar  avatar

Watchers

James Cloos avatar topher mykolyk avatar  avatar  avatar  avatar

3brown1white's Issues

readme missing muuch

eg:

Launch instructions
Use appropriate formatting to denote commands, etc.
Include at least these 2 flavors of install guide, named as shown:
"Install and run on localhost"
"Install and run on Apache2"
Clear instructions on where to save API key files and what to name them (see API section)

Launch Code Review

  • Step 2 should say either cd /var/www or ../../var/www. Simply var/www will not work.
  • Step 4 the user should be changing the server name in the conf file, not the wsgi file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.