docker-compose local startup #63
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 newstart-local-server.sh
script, and updates to theREADME.md
to reflect the new workflow.Docker Compose Integration:
docker-compose.yml
to manage the application stack, including PostgreSQL, backend server, and pgAdmin. This file defines services, networks, and volumes for streamlined setup.scripts/pgadmin-servers.json
to preconfigure pgAdmin for connecting to the local database.Script Updates:
scripts/start_local_db.sh
and the olderscripts/start_local_server.sh
with a newscripts/start-local-server.sh
, which uses Docker Compose, includes logging utilities, and supports force rebuild and debug modes. [1] [2] [3]Documentation Enhancements:
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]npm run build
as a required step for frontend setup in theREADME.md
.