Files
landing_page/run.sh
T
Bastian Hofmann 0abdaee413 Hugo and dependency updates (#2310)
* Adds a run script to easily serve the page locally
* Updates the Hugo version
* Updates deprecated fields
* Add version checks in the run and build scripts
* Update JS dependencies to fix CVEs
2026-05-07 15:49:20 +02:00

10 lines
505 B
Bash
Executable File

#!/bin/bash
REQUIRED_HUGO_VERSION="0.160.1"
INSTALLED_HUGO_VERSION=$(hugo version | grep -oE 'v[0-9]+\.[0-9]+\.[0-9]+' | head -1 | tr -d 'v')
if [ "${INSTALLED_HUGO_VERSION}" != "${REQUIRED_HUGO_VERSION}" ]; then
echo "Warning: Hugo version ${REQUIRED_HUGO_VERSION} is required, but found ${INSTALLED_HUGO_VERSION}."
echo "It is recommended to install the correct Hugo version. See https://gohugo.io/installation/ for installation instructions."
fi
cd qdrant-landing && npm install && hugo serve