Skip to content

Commit

Permalink
Linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
crespire committed Dec 9, 2024
1 parent 71fa4ae commit bb4d705
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion nodeJS/express/installing_postgresql.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,14 @@ If your terminal doesn't recognize `brew`, then you'll need to go and install ho
Installing PostgreSQL via Postgres.app is simple. Visit [Postgres.app](https://postgresapp.com/) and follow the instructions outlined. Importantly, you'll want to configure your `$PATH` so you can access the tooling that comes along with PostgreSQL.

You can run this command to update your path:
```bash

```bash
sudo mkdir -p /etc/paths.d &&
echo /Applications/Postgres.app/Contents/Versions/latest/bin | sudo tee /etc/paths.d/postgresapp
```

After you've run this command and restarted your terminal, you can run `which psql` and we would expect this output:

```bash
/Applications/Postgres.app/Contents/Versions/latest/bin/psql
```
Expand All @@ -196,6 +198,7 @@ psql
```

You should see the PostgreSQL prompt come up like this:

```bash
<your_user>=#
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,15 @@ If your terminal doesn't recognize `brew`, then you'll need to go and install ho
Installing PostgreSQL via Postgres.app is simple. Visit [Postgres.app](https://postgresapp.com/) and follow the instructions outlined. Importantly, you'll want to configure your `$PATH` so you can access the tooling that comes along with PostgreSQL.

You can run this command to update your path:
```bash

```bash
sudo mkdir -p /etc/paths.d &&
echo /Applications/Postgres.app/Contents/Versions/latest/bin | sudo tee /etc/paths.d/postgresapp
```

After you've run this command and restarted your terminal, you can run `which psql` and we would expect this output:
```bash

```bash
/Applications/Postgres.app/Contents/Versions/latest/bin/psql
```

Expand All @@ -220,6 +222,7 @@ psql
```

You should see the PostgreSQL prompt come up like this:

```bash
<your_user>=#
```
Expand Down

0 comments on commit bb4d705

Please sign in to comment.