summaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-02-05 10:43:19 -1000
committerPeter Stone <thepeterstone@gmail.com>2026-02-05 10:43:19 -1000
commit1eab4d59454fa5999675d51b99e77ac6580aba95 (patch)
tree6b653e39d33fd879f29f769cdf3bd3f6bfcd3f05 /deploy.sh
parent5ddb419137b814481a208d1dd0d18ac36ed554ea (diff)
Improve session handling, shopping UI, and cleanup
Session improvements: - Extend session lifetime to 7 days for mobile convenience - Add idle timeout to extend session on activity - Use standard cookie name for better compatibility Shopping model: - Add FlattenItemsForStore helper for extracting store items - Add StoreNames helper for store list - Improve shopping-tab.html with inline add forms Frontend: - Add WebSocket reconnection and agent approval UI to app.js - Simplify timeline calendar JS (move event positioning to CSS) - Update login page styling Deployment: - Remove unused git checkout step from deploy.sh - Update apache.conf WebSocket proxy settings Documentation: - Add Agent Context API feature spec to issues/ Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/deploy.sh b/deploy.sh
index 969d462..abd9cfc 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -42,17 +42,6 @@ systemctl stop ${SERVICE} || true
echo "Swapping binary..."
mv app.new app
-echo "Checking out latest code (backup)..."
-# We keep this for reference, but we deployed assets via rsync from local
-if [ -d "app-code" ]; then
- cd app-code
- GIT_WORK_TREE=${SITE_DIR}/checkout git checkout -f master 2>/dev/null || {
- mkdir -p ${SITE_DIR}/checkout
- GIT_WORK_TREE=${SITE_DIR}/checkout git checkout -f master
- }
- cd ${SITE_DIR}
-fi
-
echo "Setting permissions..."
chown -R www-data:www-data ${SITE_DIR}
find ${SITE_DIR} -type d -exec chmod 755 {} \;