22 lines
No EOL
533 B
Makefile
22 lines
No EOL
533 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:
|
|
podman build -t fb-server .
|
|
|
|
start-release: build-container
|
|
podman container rm -f frostbyte
|
|
podman run -d -p 8080:8080 --name frostbyte fb-server
|
|
|
|
clean:
|
|
podman container rm -f frostbyte
|
|
podman image rm -f fb-server
|
|
rm -rf client/dist
|
|
rm -rf client/node_modules
|
|
rm -rf server/public
|
|
rm -rf server/target
|