1 Commits
v1.0.0 ... main

Author SHA1 Message Date
996aaaddfa v1.0.1: Fix seed sample images not being copied
- Add step in start.sh to copy seed files to data directory
- Ensures sample images display correctly on fresh install
2025-12-29 19:48:00 -06:00
2 changed files with 9 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
"author": "Andreas Dueren", "author": "Andreas Dueren",
"description": "AI-powered card note-taking application for capturing fleeting thoughts with RAG-enhanced search, markdown support, and self-hosted privacy.", "description": "AI-powered card note-taking application for capturing fleeting thoughts with RAG-enhanced search, markdown support, and self-hosted privacy.",
"tagline": "AI-powered note-taking", "tagline": "AI-powered note-taking",
"version": "1.0.0", "version": "1.0.1",
"healthCheckPath": "/", "healthCheckPath": "/",
"httpPort": 8000, "httpPort": 8000,
"addons": { "addons": {
@@ -24,5 +24,5 @@
"memoryLimit": 512000000, "memoryLimit": 512000000,
"minBoxVersion": "7.0.0", "minBoxVersion": "7.0.0",
"postInstallMessage": "Blinko has been installed successfully!\n\nVisit your Blinko instance to create your first account.\nThe first user to register will become the administrator.\n\nData is stored in /app/data and will be backed up automatically.", "postInstallMessage": "Blinko has been installed successfully!\n\nVisit your Blinko instance to create your first account.\nThe first user to register will become the administrator.\n\nData is stored in /app/data and will be backed up automatically.",
"changelog": "1.0.0: Initial Cloudron package for Blinko" "changelog": "1.0.1: Fix seed sample images not being copied to data directory"
} }

View File

@@ -57,6 +57,13 @@ cd /app/code
echo "=> Checking database seed..." echo "=> Checking database seed..."
node /app/code/dist/seed.js 2>/dev/null || true node /app/code/dist/seed.js 2>/dev/null || true
# Copy seed files (sample images) if not already present
if [[ -d /app/code/prisma/seedfiles ]] && [[ ! -f /app/data/.blinko/files/pic01.png ]]; then
echo "=> Copying sample files..."
cp /app/code/prisma/seedfiles/* /app/data/.blinko/files/ 2>/dev/null || true
chown -R cloudron:cloudron /app/data/.blinko/files/
fi
# Configure NGINX # Configure NGINX
cp /app/code/nginx.conf /run/nginx.conf cp /app/code/nginx.conf /run/nginx.conf