Logo

Green Habits


Built for HACKRU

rieee banner

How to install

Follow these steps to set up the environment and run the application.

  1. If you are not an author, fork the repository here.
  2. Clone the repository.
    git clone https://github.com/pedropa140/RutgersIEEE2024.git
  1. Create the python virtual environment.
virtual env 
  • OR
python -m venv env
  1. Activate the Virtual Environment (Not necessary for vscode).
  • On Windows.
env\Scripts\activate
  • On macOS and Linux.
source env/bin/activate
  1. Install Dependencies
  • Make sure your pip version is up-to-date:
pip install --upgrade pip
pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib
pip install -r requirements.txt
  1. Run the app
cd flask
python -m flask run
  1. Run the Discord App
  • Create application for Discord bot in Developer Options for Discord. Create permissions and add Discord token to .env file.
  • To run app, on a new terminal:
python bot.py

Technologies

  • Flask
  • Python
  • Google Calendar API
  • Worker AI by Cloudflare
  • Bootstrap
  • JavaScript
  • SQL
  • Spline