diff --git a/README.md b/README.md index 701dba9..745053b 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,21 @@ For getting started with Docker, see the [Docker documentation](https://github.c Run on a clean Ubuntu/Debian server with internet access: +#### Debian: +```bash +apt update -y +apt upgrade -y +apt install curl -y +``` + +#### Ubuntu: +```bash +apt-get update -y +apt-get upgrade -y +apt install curl -y +``` + +#### Script ```bash curl -fsSL -o setup.sh https://raw.githubusercontent.com/9technologygroup/patchmon.net/main/setup.sh && chmod +x setup.sh && bash setup.sh ``` diff --git a/frontend/package.json b/frontend/package.json index 4db7994..75dca38 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -26,7 +26,7 @@ "react-chartjs-2": "^5.2.0", "react-dom": "^18.3.1", "react-icons": "^5.5.0", - "react-router-dom": "^6.31.0" + "react-router-dom": "^6.30.1" }, "devDependencies": { "@eslint/js": "^9.17.0", @@ -39,7 +39,7 @@ "eslint-plugin-react-hooks": "^5.1.0", "eslint-plugin-react-refresh": "^0.4.16", "globals": "^15.14.0", - "postcss": "^8.5.1", + "postcss": "^8.5.6", "tailwindcss": "^3.4.17", "vite": "^7.1.5" }, diff --git a/setup.sh b/setup.sh index 858f97e..d724096 100644 --- a/setup.sh +++ b/setup.sh @@ -722,7 +722,7 @@ install_dependencies() { export NPM_CONFIG_CACHE=$APP_DIR/.npm export NPM_CONFIG_PREFIX=$APP_DIR/.npm-global export NPM_CONFIG_TMP=$APP_DIR/.npm/tmp - npm install --production --no-audit --no-fund --no-save + npm install --omit=dev --no-audit --no-fund --no-save "; then print_error "Failed to install root dependencies" return 1 @@ -737,7 +737,7 @@ install_dependencies() { export NPM_CONFIG_CACHE=$APP_DIR/.npm export NPM_CONFIG_PREFIX=$APP_DIR/.npm-global export NPM_CONFIG_TMP=$APP_DIR/.npm/tmp - npm install --production --no-audit --no-fund --no-save + npm install --omit=dev --no-audit --no-fund --no-save "; then print_error "Failed to install backend dependencies" return 1