Skip to content

Commit 5a5cfda

Browse files
uri-99MauroToscano
andauthored
feat: add run_explorer_without_docker_db make target (#1346)
Co-authored-by: MauroFab <[email protected]>
1 parent 913c0ba commit 5a5cfda

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,13 @@ build_all_ffi_linux: ## Build all FFIs for Linux
694694
@echo "All Linux FFIs built successfully."
695695

696696
__EXPLORER__:
697+
698+
run_explorer_without_docker_db: explorer_ecto_setup_db
699+
@cd explorer/ && \
700+
pnpm install --prefix assets && \
701+
mix setup && \
702+
./start.sh
703+
697704
run_explorer: explorer_run_db explorer_ecto_setup_db
698705
@cd explorer/ && \
699706
pnpm install --prefix assets && \

docs/3_guides/6_setup_aligned.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,13 @@ to run it using the following documentation:
527527

528528
### DB Setup
529529

530+
> [!NOTE]
531+
> If you want to run the DB separately, without docker,
532+
> you can set it up and start the explorer with the following command:
533+
> ```bash
534+
> make run_explorer_without_docker_db
535+
> ```
536+
530537
To set up the explorer, an installation of the DB is necessary.
531538
532539
First, you'll need to install docker if you don't have it already.
@@ -562,6 +569,13 @@ make explorer_ecto_setup_db
562569
make run_explorer
563570
```
564571

572+
> [!NOTE]
573+
> If you want to run the DB separately, without docker,
574+
> you can set it up and start the explorer with the following command:
575+
```bash
576+
make run_explorer_without_docker_db
577+
```
578+
565579
</details>
566580

567581
To clear the DB, you can run:

0 commit comments

Comments
 (0)