diff --git a/assign0.md b/assign0.md index 63e5da3344e17cac9a31ac7fec9f3f8415ae0a29..5e9bc9bc6f6feffc05321e0e1f9e5363b5e192d6 100644 --- a/assign0.md +++ b/assign0.md @@ -116,16 +116,17 @@ Q. Hyper-V error while running `vagrant up`. (Stderr: VBoxManage.exe: error: Not ### Apple Silicon (M1, M2...) Macs -You can use *Parallels* (not free) and set things up for yourself, or use postgres directly. You do not need to use vagrant and vmbox. With Homebrew: +You can use *Parallels* (not free) or **use postgres directly**, without vagrant and vmbox, via **Homebrew**: ``` - brew install postgresql + brew install postgresql@14 + brew services restart postgresql@14 ``` -At this point you have the DB, but the server itself may not be running (this has changed over the last few versions). Installing on a new machine, homebrew said: + +Before running `SQLTesting.py`, you also need to install `psycopg2`: ``` - To restart postgresql@14 after an upgrade: - brew services restart postgresql@14 + pip3 install psycopg2 ``` -This starts the server and tells the system to restart the server after reboots as well. + ### Submit