Frontend/backend project structure
+ Base implementation of a differential synchronization based on Neil Fraser article/talk See https://www.youtube.com/watch?v=S2Hp_1jqpY8
This commit is contained in:
14
Makefile
14
Makefile
@ -1,10 +1,18 @@
|
||||
DOKKU_URL := dokku@dev.lookingfora.name:guesstimate
|
||||
|
||||
watch:
|
||||
npm run dev
|
||||
modd
|
||||
|
||||
build: clean
|
||||
npm run build
|
||||
install-deps:
|
||||
cd client && npm install
|
||||
|
||||
build: clean build-server build-client
|
||||
|
||||
build-client:
|
||||
cd client && npm run build
|
||||
|
||||
build-server:
|
||||
cd server && CGO_ENABLED=0 go build -mod=vendor -v -o bin/server ./cmd/server
|
||||
|
||||
clean:
|
||||
rm -rf dist
|
||||
|
Reference in New Issue
Block a user