Skip to content

cs334s24/zip-system

Repository files navigation

zip-system

Requirements before use

This file serves as a way to recursively download folders from AWS S3. It utilizes the sh library.

First and foremost, you must download the AWS CLI here: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html

After you clone the repo you will have to create a virtual environment and install the necessary requirements

pip install -r requirements.txt

Finally, before you run any of the corresponding programs you will need to configure your AWS credentials locally before using this: AWS Configure The necessary information can be found via 1Password.

Using sendEmail.py

This file serves as a way to send emails

In order for it to work you must complete the following:

  1. Create a spare Gmail account
  2. Add 2-Step Verification to the account
    1. Go to the account settings for the email account
    2. On the left-hand side go to the Security tab
    3. 2-Step Verification will be under the "How to sign into Google" section within the Security tab
  3. Go to THIS link and create an App Password
    1. If it says "The setting you are looking for is not available for your account." repeat step 2
    2. Enter whatever name you want for the App Password
    3. Hit the "create" button
    4. A pop-up with a generated password will appear. Copy the password and save it somewhere
  4. Go to the projects folder and create a .env file (if there is not one already)
    1. Within the .env file make sure it contains the following
      EMAIL=ENTER_YOUR_EMAIL_HERE
      PASSWORD=ENTER_YOUR_APP_PASSWORD_HERE_(MAKE SURE THERE ARE NO SPACES WITHIN THE PASSWORD!)
      

Using app.py (locally)

This file serves as the main file for the project.

Before running it make sure you have the necessary requirements

pip install -r requirements.txt

To run it either use Visual Studio or enter the following command in a terminal that is running WITHIN THE ROOT of the project:

python3 app.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors