Skip to content

docker-compose local startup #63

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
May 30, 2025
Merged

docker-compose local startup #63

merged 7 commits into from
May 30, 2025

Conversation

zees-dev
Copy link
Contributor

Description

This pull request introduces significant improvements to the local development workflow by replacing individual scripts with a unified Docker Compose setup, simplifying service management, and enhancing documentation for developers.
Key changes include the addition of a docker-compose.yml file, a new start-local-server.sh script, and updates to the README.md to reflect the new workflow.

Docker Compose Integration:

  • Added docker-compose.yml to manage the application stack, including PostgreSQL, backend server, and pgAdmin. This file defines services, networks, and volumes for streamlined setup.
  • Added scripts/pgadmin-servers.json to preconfigure pgAdmin for connecting to the local database.

Script Updates:

  • Replaced scripts/start_local_db.sh and the older scripts/start_local_server.sh with a new scripts/start-local-server.sh, which uses Docker Compose, includes logging utilities, and supports force rebuild and debug modes. [1] [2] [3]

Documentation Enhancements:

  • Updated README.md to reflect the new Docker Compose-based workflow, including instructions for starting services, accessing the backend and pgAdmin, and running components separately if needed. [1] [2]
  • Added npm run build as a required step for frontend setup in the README.md.

Copy link

vercel bot commented May 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
forc-pub ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 29, 2025 0:49am

@kayagokalp
Copy link
Member

Will test this shortly but looks good to me

@zees-dev zees-dev enabled auto-merge (squash) May 30, 2025 03:29
Copy link
Member

@JoshuaBatty JoshuaBatty left a comment

Choose a reason for hiding this comment

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

utACK

@zees-dev zees-dev merged commit 8756c46 into master May 30, 2025
11 checks passed
@zees-dev zees-dev deleted the upd/startup-scripts branch May 30, 2025 04: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.

3 participants