oss-slu / shelter_volunteers

MIT License
3 stars 4 forks source link

Configure Docker to Sync with Front-end Changes (#121) fixed #127

Closed tnhi26990 closed 1 month ago

tnhi26990 commented 1 month ago

Fixes #121

What was changed?

I modified the docker-compose.yml file to see the changes if we wrote new code.

Why was it changed?

We wanted to run the application using one command, and if we made any changes, we saw the changes on the website as well.

How was it changed?

I changed the docker-compose.yml file to include the watch attribute for the front-end component. If there is any change in the package.json file, it will rebuild the application. If the changes happen under the client_app folder, it will sync all the changes and reflect them on the website. It worked fine on both Visual Studio Code and IntelliJ.

Screenshots that show the changes (if applicable):

Screenshot 2024-09-28 at 12 03 04 AM Screenshot 2024-09-28 at 12 16 48 AM