Skip to content

Conversation

@pia-roettcher
Copy link
Contributor

Main guide and postgres guide for Windows and Linux Ubuntu

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds comprehensive installation guides for PostgreSQL database across multiple operating systems (macOS, Windows, and Linux Ubuntu). The changes improve the documentation by providing platform-specific instructions using tabbed interfaces, making it easier for users on different systems to follow the appropriate setup steps.

Key Changes

  • Added Windows and Linux (Ubuntu) installation guides to the PostgreSQL database documentation
  • Introduced platform-specific tabs for database creation commands in the installation guide
  • Updated SQL commands to use uppercase convention (CREATE DATABASE instead of create database)

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 10 comments.

File Description
content/docs/documentation/installing-postgresql-database.mdx Added Windows and Linux Ubuntu installation sections with step-by-step guides for PostgreSQL 15, including installer instructions, verification steps, and database creation commands
content/docs/documentation/get-started/installation.mdx Added platform-specific tabs for database creation commands, updated prerequisite links, added npm run prisma:generate command, and modified curl command for Windows compatibility

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

curl -X 'GET' \
'http://localhost:3001/api/v1/health/' \
-H 'accept: application/json'
curl.exe -X GET "http://localhost:3001/api/v1/health/" -H "accept: application/json"
Copy link

Copilot AI Nov 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The curl command has been changed to curl.exe, which is Windows-specific. This section is within the "Manual Setup" tab which is not platform-specific. Consider using platform-specific tabs for this command, or providing both Unix and Windows versions, similar to how the PostgreSQL setup commands are handled (lines 119-150).

Copilot uses AI. Check for mistakes.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is windows specific, but we are using unix by default. Add tabs if you want to have windows commands here.

@enjojoy
Copy link
Collaborator

enjojoy commented Nov 28, 2025

Can this be one code block?

image

Copy link
Collaborator

@enjojoy enjojoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but a couple things are not clear to me, please explain or fix

Run the following commands to configure the database schema:

```bash
npm run prisma:generate
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need to generate? It worked before without it?

```bash
npm run build && npm start
npm run build
npm start
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is because windows can't work with && but all of them can work with several lines

curl -X 'GET' \
'http://localhost:3001/api/v1/health/' \
-H 'accept: application/json'
curl.exe -X GET "http://localhost:3001/api/v1/health/" -H "accept: application/json"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is windows specific, but we are using unix by default. Add tabs if you want to have windows commands here.

@pia-roettcher pia-roettcher force-pushed the add_installation_guids branch 2 times, most recently from 82d4a46 to 092164b Compare December 9, 2025 09:48
@pia-roettcher pia-roettcher force-pushed the add_installation_guids branch from 092164b to 1c206cd Compare December 9, 2025 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants