--- /dev/null
+# Various files
+/hooks/post-update
+/server/db/vchess.sqlite
+/server/config/parameters.js
+/client/dist/
+/client/src/parameters.js
+
+# Dependency directories#
+node_modules/
+
+# Log files
+npm-debug.log*
+
+# Temp files
+*.swp
+*~
+
+# Optional npm cache directory
+.npm/
+
+# Optional eslint cache
+.eslintcache/
+
+# dotenv environment variables file
+.env
+.env.local
+.env.*.local
+++ /dev/null
-.DS_Store
-node_modules
-/dist
-/src/parameters.js
-
-# local env files
-.env.local
-.env.*.local
-
-# Log files
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-# Editor directories and files
-.idea
-.vscode
-*.suo
-*.ntvs*
-*.njsproj
-*.sln
-*.sw*
-
-# next.js build output
-.next
--- /dev/null
+#!/bin/sh
+ssh user@server -t 'cd /path/to/vchess/client && git pull && npm run build'
+++ /dev/null
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-# Runtime data
-pids
-*.pid
-*.seed
-*.pid.lock
-
-# Temp files
-*.swp
-*~
-
-# Various files
-/db/vchess.sqlite
-/config/parameters.js
-/static/
-
-# Compiled binary addons (https://nodejs.org/api/addons.html)
-build/Release
-
-# Dependency directories
-node_modules/
-
-# Optional npm cache directory
-.npm
-
-# Optional eslint cache
-.eslintcache
-
-# Output of 'npm pack'
-*.tgz
-
-# Yarn Integrity file
-.yarn-integrity
-
-# dotenv environment variables file
-.env