Skip to content
A new urop website!
JavaScript Python CSS HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
db
secrets
static
.gitignore
README.md
requirements.txt
run.py
scrape.py

README.md

urop.guide

Stella Yang, Yang Yan, Alisa Ono, Angela Cai

https://urop.guide is a different view of the UROP website for MIT students! Please email us at urop-guide@mit.edu with any feedback, questions, or concerns.

Secrets

Secrets (like are $BACKEND_PASSWORD) stored in https://drive.google.com/drive/u/0/folders/149GgVNchNeuyryeI1-OTSWYGok_D3r1J. Only collaborators have access to this link.

The secrets folder is also to contain one Python file named __init__.py. It should follow the following format:

SMTP_SERVER_USERNAME = ""
SMTP_SERVER_PASSWORD = ""

The first string should be your Kerberos. The latter should be your Kerberos password. Only the collaborators on this repository will be able to authenticate using their credentials.

Running the server

Run the server with:

pip install -r requirements.txt
python run.py

The server will periodically scrape the official UROP postings site at https://urop.mit.edu/jobs-board. The default interval is 15 minutes. The server will run on :61000 by default.

Deployment

https://urop.guide has its DNS pointed to an AWS EC2 instance (run by Yang), which is shared with other websites like https://gilgamesh.cc and https://mus.icu. Ports 80 and 443 run a tunneled HTTP multiplexer. Thus, to point https://urop.guide to the local server at :61000, run:

ssh -p 2222 -R urop.guide:80:127.0.0.1:61000 gilgamesh.cc

It may be wise to use a more persistent tunnel like autossh.

To perform server maintenance, log in to the server with

ssh urop_guide@gilgamesh.cc

The SSH port is password-authenticated. The password is available as the secret $BACKEND_PASSWORD. The server is running on a tmux session called urop-website. The tunnel is running on a tmux session called urop_guide.

You can’t perform that action at this time.