From 7d0488845735173a2496ddbad2747c2d62bc984c Mon Sep 17 00:00:00 2001 From: "Peter J. Keleher" <keleher@cs.umd.edu> Date: Sat, 9 Sep 2023 11:21:57 -0400 Subject: [PATCH] auto --- assign0.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/assign0.md b/assign0.md index 63e5da3..5e9bc9b 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 -- GitLab