Skip to content

Commit

Permalink
Webapp: Install dependencies before starting server
Browse files Browse the repository at this point in the history
  • Loading branch information
ad-si committed Nov 4, 2024
1 parent 02448be commit be5113b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
12 changes: 11 additions & 1 deletion tasklite-webapp/makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
node_modules: package.json package-lock.json
if test ! -d $@; then npm install; fi


.PHONY: start
start:
start: node_modules
NODE_OPTIONS=--openssl-legacy-provider \
npx elm-app start --no-debug --no-browser


.PHONY: clean
clean:
-rm -rf elm-stuff
-rm -rf node_modules
5 changes: 4 additions & 1 deletion tasklite-webapp/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit be5113b

Please sign in to comment.