mirror of
https://github.com/DeBrosOfficial/orama.git
synced 2026-05-01 05:04:13 +00:00
feat(website): add deployment script and SEO enhancements
- add deploy.sh for rsync-based remote deployment - add SEO/Open Graph/Twitter meta tags and og-image - ignore remote.conf and update pnpm build deps
This commit is contained in:
parent
169be97026
commit
81083402a1
1
.gitignore
vendored
1
.gitignore
vendored
@ -65,6 +65,7 @@ go.work
|
||||
*.db
|
||||
|
||||
# === Website ===
|
||||
website/remote.conf
|
||||
website/node_modules/
|
||||
website/dist/
|
||||
website/invest-api/invest-api
|
||||
|
||||
23
website/deploy.sh
Executable file
23
website/deploy.sh
Executable file
@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
CONF="$SCRIPT_DIR/remote.conf"
|
||||
|
||||
if [ ! -f "$CONF" ]; then
|
||||
echo "Error: remote.conf not found. Create it with REMOTE_USER, REMOTE_HOST, REMOTE_PASS, REMOTE_PATH."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
source "$CONF"
|
||||
|
||||
echo "Building website..."
|
||||
cd "$SCRIPT_DIR"
|
||||
pnpm build
|
||||
|
||||
echo "Deploying to $REMOTE_USER@$REMOTE_HOST:$REMOTE_PATH..."
|
||||
sshpass -p "$REMOTE_PASS" rsync -avz --delete \
|
||||
dist/ \
|
||||
"$REMOTE_USER@$REMOTE_HOST:$REMOTE_PATH/"
|
||||
|
||||
echo "Done. Live at https://$DOMAIN"
|
||||
@ -5,6 +5,26 @@
|
||||
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Orama — Decentralized Cloud Infrastructure</title>
|
||||
|
||||
<!-- SEO Meta -->
|
||||
<meta name="description" content="Orama is a decentralized cloud infrastructure platform. Deploy apps, store data, and scale globally with distributed SQL, IPFS storage, and serverless WASM execution." />
|
||||
<meta name="keywords" content="orama, decentralized, cloud, infrastructure, IPFS, distributed, database, serverless, web3" />
|
||||
<meta name="author" content="DeBros" />
|
||||
|
||||
<!-- Open Graph -->
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:title" content="Orama — Decentralized Cloud Infrastructure" />
|
||||
<meta property="og:description" content="Deploy apps, store data, and scale globally with distributed SQL, IPFS storage, and serverless WASM execution." />
|
||||
<meta property="og:image" content="https://iofo4ifs.orama.network/og-image.png" />
|
||||
<meta property="og:url" content="https://iofo4ifs.orama.network" />
|
||||
<meta property="og:site_name" content="Orama Network" />
|
||||
|
||||
<!-- Twitter Card -->
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="twitter:title" content="Orama — Decentralized Cloud Infrastructure" />
|
||||
<meta name="twitter:description" content="Deploy apps, store data, and scale globally with distributed SQL, IPFS storage, and serverless WASM execution." />
|
||||
<meta name="twitter:image" content="https://iofo4ifs.orama.network/og-image.png" />
|
||||
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@300;400;500;600;700&display=swap" rel="stylesheet" />
|
||||
|
||||
@ -1,2 +1,9 @@
|
||||
onlyBuiltDependencies:
|
||||
- '@stellar/stellar-sdk'
|
||||
- blake-hash
|
||||
- bufferutil
|
||||
- esbuild
|
||||
- protobufjs
|
||||
- tiny-secp256k1
|
||||
- usb
|
||||
- utf-8-validate
|
||||
|
||||
BIN
website/public/og-image.png
Normal file
BIN
website/public/og-image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 MiB |
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user