Skip to content
This repository was archived by the owner on Jun 17, 2025. It is now read-only.

princeton-eats/princetoneats

Repository files navigation

Princeton Eats

Welcome to Princeton Eats.

Run the setup.sh script which will set up a virtual environment with the necessary requirements, and save a random APP_SECRET_KEY for CAS authentication. Then, refer to Yusuf's email to find the DATABASE_URL and export it as an environment variable with this name.

Then, to run the app on localhost:8000 run the following:

python src/princetoneats/app.py

To perform unit-tests do the following:

  1. Modify src/princetoneats/app.py lines 7-9 to read
import princetoneats.scrapedining as scrapedining
import princetoneats.auth as auth
import princetoneats.database as database

This is required for pytest to work. Then, run pytest in the terminal to run unit-tests.

Importantly, you have to change these lines back to their original state in order to run the app.

-- Created by Yusuf, Adham, Ndongo, Achilles, Akuei

About

COS333 Group Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5