Add documentation management and reorganize scaffold docs

- Add wild-setup-docs command to copy documentation to cloud projects
- Move node setup guide from scaffold to main docs/guides/
- Add app workflow guide to main docs/guides/
- Update cluster installation scripts to use standard env initialization
This commit is contained in:
2025-07-06 03:19:12 -07:00
parent 58097f7831
commit 364c8c3da8
6 changed files with 131 additions and 10 deletions

View File

@@ -2,13 +2,15 @@
set -e
set -o pipefail
if [ -z "${WC_HOME}" ]; then
echo "Please source the wildcloud environment first. (e.g., \`source ./env.sh\`)"
# Initialize Wild-Cloud environment
if [ -z "${WC_ROOT}" ]; then
print "WC_ROOT is not set."
exit 1
else
source "${WC_ROOT}/scripts/common.sh"
init_wild_env
fi
source "${WC_ROOT}/bin/wild-common.sh"
CLUSTER_SETUP_DIR="${WC_HOME}/setup/cluster"
COREDNS_DIR="${CLUSTER_SETUP_DIR}/coredns"