Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
trangiabach authored Oct 1, 2023
1 parent bb18544 commit 1d8f803
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ Navigate to `/backend`. Then,

0. (Initial setup)
- a. `pipenv install --dev`
NOTE:
NOTE: <br />
1. You might have to install openssl with Homebrew (`brew install openssl`) and set the following environment variable for the linker.
`export LDFLAGS="-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib"`.<br>
If you run into `ERROR: Couldn't install package: psycopg2`, see [this](https://stackoverflow.com/questions/56796426/pipenv-consistently-failing-to-install-pyscopg2/57044429#57044429) post. If your problem is on M1, try the top 2 solutions [here](https://stackoverflow.com/questions/66888087/cannot-install-psycopg2-with-pip3-on-m1-mac).
`export LDFLAGS="-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib"`.<br />
If you run into `ERROR: Couldn't install package: psycopg2`, see [this](https://stackoverflow.com/questions/56796426/pipenv-consistently-failing-to-install-pyscopg2/57044429#57044429) post. If your problem is on M1, try the top 2 solutions [here](https://stackoverflow.com/questions/66888087/cannot-install-psycopg2-with-pip3-on-m1-mac). <br />
2. You might have to install postgresql via `brew install postgresql`. If you run into the error `psql: FATAL: role "postgres" does not exist`, you also need to run:
```
createuser -s postgres
Expand Down

0 comments on commit 1d8f803

Please sign in to comment.