style: format entire codebase with prettier
This commit is contained in:
5
SETUP.md
5
SETUP.md
@@ -16,6 +16,7 @@ Visit `http://localhost:3000`
|
||||
Choose one:
|
||||
|
||||
**Local PostgreSQL:**
|
||||
|
||||
```bash
|
||||
sudo apt install postgresql
|
||||
sudo -u postgres createdb wishlist
|
||||
@@ -26,6 +27,7 @@ GRANT ALL PRIVILEGES ON DATABASE wishlist TO wishlistuser;
|
||||
```
|
||||
|
||||
**Docker PostgreSQL:**
|
||||
|
||||
```bash
|
||||
docker run --name wishlist-postgres \
|
||||
-e POSTGRES_DB=wishlist \
|
||||
@@ -57,15 +59,18 @@ Visit `http://localhost:5173`
|
||||
## Troubleshooting
|
||||
|
||||
**Connection errors:**
|
||||
|
||||
- Check PostgreSQL is running: `sudo systemctl status postgresql`
|
||||
- Test connection: `psql "postgresql://user:pass@localhost:5432/wishlist"`
|
||||
|
||||
**Port in use:**
|
||||
|
||||
```bash
|
||||
bun run dev -- --port 3000
|
||||
```
|
||||
|
||||
**Schema changes:**
|
||||
|
||||
```bash
|
||||
bun run db:push
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user