Skip to content

Update README.md#64

Merged
susrisha merged 1 commit into
developfrom
feature-local-setup
Jul 15, 2026
Merged

Update README.md#64
susrisha merged 1 commit into
developfrom
feature-local-setup

Conversation

@susrisha

@susrisha susrisha commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

Readme updated with steps to run local development

Summary

Updated README.md with detailed local development setup instructions, including:

  • Azure Container Registry authentication
  • Initial Docker Compose startup
  • Base OSM database migrations
  • workspaces-tasks-local database and PostGIS extension setup
  • Restarting services with docker compose down and up --build

Readme updated with steps to run local development
@coderabbitai

coderabbitai Bot commented Jul 15, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The README replaces the previous local setup checklist with detailed instructions for registry authentication, Compose startup, OSM migrations, workspace database creation, PostGIS enablement, and restarting the development stack.

Changes

Local development setup

Layer / File(s) Summary
Expanded local environment setup
README.md
Adds ordered commands for Azure container registry login, initial Compose startup, base OSM migrations, workspaces-tasks-local database and PostGIS setup, and restarting the Compose stack.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Possibly related PRs

Suggested reviewers: jeffmaki

Poem

A rabbit read the setup flow,
“Login, migrate, then databases grow!”
PostGIS hops into place,
Compose restarts with cheerful grace.
Local burrows now are ready to go!

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title is related, but it's too generic and only names the file without describing the README's local development setup changes. Use a concise title that describes the main change, such as updating the local development setup instructions in README.md.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@susrisha
susrisha merged commit f332c1d into develop Jul 15, 2026
2 of 3 checks passed

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@README.md`:
- Line 98: Remove the trailing space inside the inline code span containing the
docker login command, while preserving the command text and formatting.
- Around line 124-130: Update the README database setup commands so the first
psql session is terminated with the psql quit command \q, or split the database
creation and connection steps into separate psql invocations; remove the invalid
exit; SQL command while preserving the existing database and PostGIS setup
sequence.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: ad39b64f-ba83-4053-a9c6-57a1b606ef6e

📥 Commits

Reviewing files that changed from the base of the PR and between d9899f9 and 90ddfc5.

📒 Files selected for processing (1)
  • README.md

Comment thread README.md

Docker login command:

`docker login opensidewalksdev.azurecr.io -u opensidewalksdev `

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Remove the trailing space inside the code span.

This triggers markdownlint MD038.

-`docker login opensidewalksdev.azurecr.io -u opensidewalksdev `
+`docker login opensidewalksdev.azurecr.io -u opensidewalksdev`
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
`docker login opensidewalksdev.azurecr.io -u opensidewalksdev `
`docker login opensidewalksdev.azurecr.io -u opensidewalksdev`
🧰 Tools
🪛 markdownlint-cli2 (0.23.0)

[warning] 98-98: Spaces inside code span elements

(MD038, no-space-in-code)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@README.md` at line 98, Remove the trailing space inside the inline code span
containing the docker login command, while preserving the command text and
formatting.

Source: Linters/SAST tools

Comment thread README.md
Comment on lines +124 to +130
```shell
psql --username postgres
create database "workspaces-tasks-local";
exit;
psql --username postgres --dbname "workspaces-tasks-local";
create extension if not exists postgis;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

docker compose --file docker-compose.local.yml exec database \
  psql --username postgres --dbname workspaces-tasks-local \
  --command "SELECT current_database(), EXISTS (SELECT 1 FROM pg_extension WHERE extname = 'postgis');"

Repository: TaskarCenterAtUW/workspaces-backend

Length of output: 217


🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf '\nREADME excerpt around the claimed lines:\n'
sed -n '118,134p' README.md | cat -n

printf '\nSearch for psql/exit usage in README:\n'
rg -n 'psql|exit;|\\q|CREATE EXTENSION|CREATE DATABASE' README.md

printf '\nIf available, inspect psql help text locally:\n'
command -v psql >/dev/null 2>&1 && psql --help | sed -n '1,80p' || echo 'psql binary not available'

Repository: TaskarCenterAtUW/workspaces-backend

Length of output: 966


Use \q or separate psql commands here.
exit; is SQL, not a psql quit command, so this block does not leave the first session before the next command.

Proposed fix
-psql --username postgres
-create database "workspaces-tasks-local";
-exit;
-psql --username postgres --dbname "workspaces-tasks-local";
-create extension if not exists postgis;
+psql --username postgres --command 'CREATE DATABASE "workspaces-tasks-local";'
+psql --username postgres --dbname "workspaces-tasks-local" \
+  --command 'CREATE EXTENSION IF NOT EXISTS postgis;'
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
```shell
psql --username postgres
create database "workspaces-tasks-local";
exit;
psql --username postgres --dbname "workspaces-tasks-local";
create extension if not exists postgis;
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@README.md` around lines 124 - 130, Update the README database setup commands
so the first psql session is terminated with the psql quit command \q, or split
the database creation and connection steps into separate psql invocations;
remove the invalid exit; SQL command while preserving the existing database and
PostGIS setup sequence.

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.

3 participants