Skip to content

docs(dev): add local PostgreSQL setup examples#322

Closed
ArshSSandhu wants to merge 1 commit into
mieweb:mainfrom
ArshSSandhu:docs/local-postgres-setup
Closed

docs(dev): add local PostgreSQL setup examples#322
ArshSSandhu wants to merge 1 commit into
mieweb:mainfrom
ArshSSandhu:docs/local-postgres-setup

Conversation

@ArshSSandhu
Copy link
Copy Markdown

Summary

This PR clarifies the local Docker Compose setup for new contributors by adding example PostgreSQL .env values and common troubleshooting notes.

Why

While setting up the project locally, Docker Compose can fail if required PostgreSQL environment variables, such as POSTGRES_PASSWORD, are left blank after copying example.env to .env.

This update makes the local development setup easier to follow, especially for contributors setting up the project for the first time.

Changes

  • Added example local PostgreSQL .env values for Docker-based development
  • Clarified that SQLite and MySQL/MariaDB variables can remain blank when using PostgreSQL
  • Added troubleshooting notes for missing POSTGRES_PASSWORD
  • Added Windows Docker Desktop troubleshooting for the dockerDesktopLinuxEngine error

Testing

  • Copied example.env to .env
  • Added local PostgreSQL values
  • Ran docker compose up -d
  • Verified Docker Desktop was running before retrying Docker Compose
  • Previewed the Markdown documentation locally

@runleveldev
Copy link
Copy Markdown
Collaborator

The local development workflow will be changing with the merge of #316. Please refer to that for the best experience.

@runleveldev
Copy link
Copy Markdown
Collaborator

#316 has been merged which obseletes this.

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