Add frontend

This commit is contained in:
pratik
2025-10-23 08:10:15 -05:00
parent 23dacdd0c2
commit c35cd7092a
28 changed files with 2243 additions and 4 deletions

View File

@@ -1,13 +1,24 @@
#!/bin/bash
#############################################################################
# CF Deployer - Simple Chunked Upload Deployment Script
# CF Deployer - Simple Chunked Upload Deployment Script (Through Java proxy)
#
# This script deploys a Java application to Cloud Foundry using chunked
# uploads to bypass nginx size restrictions and async deployment to avoid
# timeout issues.
#
# This is a simplified version without cert/key/header authentication.
# USE THIS SCRIPT WHEN:
# - You deploy through a Java proxy that adds certificates/headers
# - The proxy reads request body as @RequestBody String
# - You need to send chunks as Base64-encoded text
#
# For direct nginx deployments with cert/key, use: deploy-chunked.sh
# For detailed documentation, see: DEPLOYMENT_SCRIPTS.md
#
# TECHNICAL NOTES:
# - Chunks are Base64-encoded to prevent corruption in the Java proxy
# - Query parameters are sent in URL (not form fields)
# - Uses Spring Boot endpoint: POST /upload/chunk (Content-Type: text/plain)
#
# Usage:
# ./deploy-chunked-simple.sh