Skip to content

Commit

Permalink
update bucket name, also notes
Browse files Browse the repository at this point in the history
  • Loading branch information
n8kim1 committed Feb 9, 2021
1 parent da0814d commit 9893903
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion backend/resumes/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
from dev_settings_sensitive import GOOGLE_APPLICATION_CREDENTIALS

# constants, please configure
GCLOUD_BUCKET_RESUMES = 'bc20-resumes'
# NOTE - Make sure to update GCLOUD_BUCKET_RESUMES!
GCLOUD_BUCKET_RESUMES = 'bc21-resumes'
USERS_ALL_PATH = os.path.join(FILE_PATH, 'users_all.csv')
USERS_TEAMS_PATH = os.path.join(FILE_PATH, 'users_teams.csv')
NUM_RETRIES = 5
Expand Down
3 changes: 2 additions & 1 deletion backend/resumes/notes.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
First, we need info about all of the users. See `sql.txt` for two scripts, that produce two files (users_all.csv, users_teams.csv). Run the scripts and save the csvs, according to the instructions in sql.txt.

Next, run the `download.py` script. For posterity, here's an outline of what it does:
Next, run the `download.py` script. **Make sure to update GCLOUD_BUCKET_RESUMES!**
For posterity, here's an outline of what it does:
pull all resumes (for all verified ones), preserve user ids
for each group of users (hs us, hs intl, college us, college intl, others that aren't devs):
in ascending scrim rank, find associated resume
Expand Down

0 comments on commit 9893903

Please sign in to comment.