21 lines
No EOL
512 B
Makefile
21 lines
No EOL
512 B
Makefile
dev:
|
|
cd client && npm run dev
|
|
|
|
build-client:
|
|
cd client && npm install
|
|
cd client && npm run build
|
|
|
|
# npm run build places the build in the server/public directory
|
|
build-container: build-client
|
|
cd server && podman build -t server .
|
|
|
|
start-release: build-container
|
|
podman run -d -p 8080:8080 --name frostbyte server
|
|
|
|
clean:
|
|
podman container rm -f frostbyte
|
|
podman image rm -f server
|
|
rm -rf client/dist
|
|
rm -rf client/node_modules
|
|
rm -rf server/public
|
|
rm -rf server/target
|