diff --git a/assign4.md b/assign4.md index 4df602362116a7f20b6e68d6cb2100110245dfa9..25567d590576459594e0d2752d435ff5c379c82f 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