Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,18 @@ This application requires a PostgreSQL database. You can run it locally using Do
1. Start PostgreSQL:

```bash
docker-compose up -d
docker compose up -d
```

2. Create a `.env` file in the root directory with the following:
2. Create a `.env` file in the root directory. If the repository includes an environment template, copy whichever template file exists:

```bash
cp .env.example .env
# or, in some setups:
cp env.example .env
```

Or create it manually with:

```
DATABASE_URL=postgresql://shopstr:shopstr@localhost:5432/shopstr
Expand All @@ -102,19 +110,19 @@ This application requires a PostgreSQL database. You can run it locally using Do
4. To stop the database:

```bash
docker-compose down
docker compose down
```

5. To remove all data and start fresh:
```bash
docker-compose down -v
docker compose down -v
```

The application will be available at `http://localhost:3000`
The application will be available at `http://localhost:5000`

### 4. Verify Installation

- Open your browser to `http://localhost:3000`
- Open your browser to `http://localhost:5000`
- Check that the application loads without errors
- Check the browser console for any warnings or errors

Expand Down