Skip to content

Commit

Permalink
add run-server recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
alpancs committed Sep 20, 2024
1 parent ad6c9f8 commit 687e9b8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ vue_version := "3.4.21"
bulma_version := "0.9.4"
fontawesome_version := "6.5.1"

default: build-quranize-wasm get-vue get-bulma get-fontawesome
build-web-app: build-quranize-wasm get-vue get-bulma get-fontawesome

build-quranize-wasm:
cd web-app && wasm-pack build \
Expand All @@ -23,3 +23,10 @@ get-fontawesome:
unzip fontawesome-free-{{fontawesome_version}}-web.zip
rm -rf fontawesome-free-{{fontawesome_version}}-web.zip web-app/web-app/styles/fontawesome
mv fontawesome-free-{{fontawesome_version}}-web web-app/web-app/styles/fontawesome

run-server:
static-web-server \
--root=web-app/web-app \
--port=5000 \
--cache-control-headers=false \
--log-level=info

0 comments on commit 687e9b8

Please sign in to comment.