From 6bc5af4adf794fd9b87fd20e034523f87efa950c Mon Sep 17 00:00:00 2001 From: "Peter J. Keleher" <keleher@cs.umd.edu> Date: Mon, 2 Oct 2023 14:35:37 -0400 Subject: [PATCH] auto --- assign4.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/assign4.md b/assign4.md index 4df6023..25567d5 100644 --- a/assign4.md +++ b/assign4.md @@ -166,6 +166,22 @@ already been defined (but not populated). In other words, clear out the table an within class definitions (or ensure that proper indentation is maintained by adding spaces). +## Native mac / non-vagrant instrutions +On an apple-silicon mac you must: +- ensure python3/pip3 are installed +- `sudo pip3 install psycopg2` +- `sudo pip3 install peewee` +- ensure that the DB connections in the `test*.py` files are using a local name rather than vagrant, i.e.: +``` +conn = psycopg2.connect("dbname=flightsskewed user=keleher") +``` +instead of: +``` +conn = psycopg2.connect("dbname=flightsskewed user=vagrant password=vagrant") +``` +Password for the local name should be the empty password. + + ## Submit Instructions Submit `psy.py` and `orm.py` files by compressing (zip: on a mac select them both and right-click "select") them to an archive with two -- GitLab