Skip to content

Commit

Permalink
Makefile: build relay dash and cp to ./public/
Browse files Browse the repository at this point in the history
  • Loading branch information
bnewbold committed Jun 25, 2024
1 parent 9d20a6d commit b736fa2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,6 @@ sonar_cursor.json
out/
state.json
netsync-out/

# Relay dash output
/public/
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ run-dev-relay: .env ## Runs 'bigsky' Relay for local dev
build-relay-image: ## Builds 'bigsky' Relay docker image
docker build -t bigsky -f cmd/bigsky/Dockerfile .

.PHONY: build-relay-ui
build-relay-ui: ## Build Relay dash web app
cd ts/bgs-dash; yarn install --frozen-lockfile; yarn build
mkdir -p public
cp -r ts/bgs-dash/dist/* public/

.PHONY: run-relay-image
run-relay-image:
docker run -p 2470:2470 bigsky /bigsky --admin-key localdev
Expand Down

0 comments on commit b736fa2

Please sign in to comment.