Skip to content

Commit

Permalink
Add command necessary to build web UI, and update docker build to poi…
Browse files Browse the repository at this point in the history
…nt to Dockerfile (#417)

Ran into a few problems when trying to run the service locally. Adding
the relevant command that was needed in order to get the local version
running.
  • Loading branch information
TheSentinel454 authored Feb 5, 2025
1 parent 6f7afcd commit 50a0f73
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,21 @@ $ gradle clean shadowJar

## Run the Service

### Run the Misk-Web Build
In order to ensure the web UI is built and able to be served by the service, run the following command:

```
$ npm install -g @misk/cli && miskweb ci-build -e
```

### From the command line

```
$ java -jar service/build/libs/service.jar
```

### From IntelliJ
Right-click on `BackfilaDevelopmentService.kt` and select `Run`
Right-click on `BackfilaDevelopmentService.kt` and select `Run`

### From Docker

Expand All @@ -39,7 +46,7 @@ $ java -jar service/build/libs/service.jar
Build a Docker image of backfila:

```
$ docker build -t backfila-0.0.1 service
$ docker build -t backfila-0.0.1
```

#### Running locally
Expand Down

0 comments on commit 50a0f73

Please sign in to comment.