Skip to content

Commit

Permalink
Closes #60
Browse files Browse the repository at this point in the history
Introduce and document a Makefile for ease of application launch
  • Loading branch information
mtracewicz committed Sep 27, 2024
1 parent c5ddb62 commit 390d44d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
dev:
docker compose --profile hot-reload up --build --watch

no-reload:
docker compose --profile without-hot-reload up --build

.PHONY: dev no-reload
.DEFAULT_GOAL := dev
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,16 @@ Directory `scripts` contains some helpful scripts which automate some parts of w

## Development

The application is started using the following command:
The application is started using the following command (with hot-reload feature):
```bash
make
```
or with the hot-reload feature:
```bash
make no-reload
```

If you want to run the application manually you can use the following command:
```bash
docker compose --profile hot-reload up --build --watch
```
Expand Down

0 comments on commit 390d44d

Please sign in to comment.