Merge pull request #1132 from suyua9/suyua9-prompts-docs-runtime-requirements

docs: align runtime requirements with current setup
This commit is contained in:
Fatih Kadir Akın
2026-04-07 14:06:29 +03:00
committed by GitHub
20 changed files with 129 additions and 7 deletions

View File

@@ -32,9 +32,9 @@ This guide explains how to deploy **prompts.chat** on your own private server fo
## Prerequisites
- **Node.js** 18+
- **Node.js** 24.x
- **PostgreSQL** database
- **npm** or **yarn**
- **npm**
## Environment Variables

View File

@@ -2263,5 +2263,12 @@
"submit": "إرسال",
"communityExamples": "أمثلة المجتمع",
"userExample": "مثال المستخدم"
},
"selfHosting": {
"prerequisites": {
"nodeJs": "Node.js 24.x",
"postgresql": "PostgreSQL database",
"npm": "npm"
}
}
}

View File

@@ -2277,5 +2277,12 @@
"submit": "Göndər",
"communityExamples": "İcma Nümunələri",
"userExample": "İstifadəçi nümunəsi"
},
"selfHosting": {
"prerequisites": {
"nodeJs": "Node.js 24.x",
"postgresql": "PostgreSQL database",
"npm": "npm"
}
}
}

View File

@@ -2277,5 +2277,12 @@
"submit": "Absenden",
"communityExamples": "Community-Beispiele",
"userExample": "Benutzerbeispiel"
},
"selfHosting": {
"prerequisites": {
"nodeJs": "Node.js 24.x",
"postgresql": "PostgreSQL database",
"npm": "npm"
}
}
}

View File

@@ -2268,5 +2268,12 @@
"submit": "Υποβολή",
"communityExamples": "Παραδείγματα Κοινότητας",
"userExample": "Παράδειγμα Χρήστη"
},
"selfHosting": {
"prerequisites": {
"nodeJs": "Node.js 24.x",
"postgresql": "PostgreSQL database",
"npm": "npm"
}
}
}

View File

@@ -2281,5 +2281,12 @@
"submit": "Submit",
"communityExamples": "Community Examples",
"userExample": "User example"
},
"selfHosting": {
"prerequisites": {
"nodeJs": "Node.js 24.x",
"postgresql": "PostgreSQL database",
"npm": "npm"
}
}
}

View File

@@ -2280,5 +2280,12 @@
"submit": "Enviar",
"communityExamples": "Ejemplos de la Comunidad",
"userExample": "Ejemplo de usuario"
},
"selfHosting": {
"prerequisites": {
"nodeJs": "Node.js 24.x",
"postgresql": "PostgreSQL database",
"npm": "npm"
}
}
}

View File

@@ -2261,5 +2261,12 @@
"submit": "ارسال",
"communityExamples": "مثال‌های جامعه",
"userExample": "مثال کاربر"
},
"selfHosting": {
"prerequisites": {
"nodeJs": "Node.js 24.x",
"postgresql": "PostgreSQL database",
"npm": "npm"
}
}
}

View File

@@ -2280,5 +2280,12 @@
"submit": "Soumettre",
"communityExamples": "Exemples de la Communauté",
"userExample": "Exemple utilisateur"
},
"selfHosting": {
"prerequisites": {
"nodeJs": "Node.js 24.x",
"postgresql": "PostgreSQL database",
"npm": "npm"
}
}
}

View File

@@ -2261,5 +2261,12 @@
"submit": "שלח",
"communityExamples": "דוגמאות קהילה",
"userExample": "דוגמת משתמש"
},
"selfHosting": {
"prerequisites": {
"nodeJs": "Node.js 24.x",
"postgresql": "PostgreSQL database",
"npm": "npm"
}
}
}

View File

@@ -2283,5 +2283,12 @@
"submit": "Invia",
"communityExamples": "Esempi della Community",
"userExample": "Esempio utente"
},
"selfHosting": {
"prerequisites": {
"nodeJs": "Node.js 24.x",
"postgresql": "PostgreSQL database",
"npm": "npm"
}
}
}

View File

@@ -2265,5 +2265,12 @@
"submit": "送信",
"communityExamples": "コミュニティの例",
"userExample": "ユーザーの例"
},
"selfHosting": {
"prerequisites": {
"nodeJs": "Node.js 24.x",
"postgresql": "PostgreSQL database",
"npm": "npm"
}
}
}

View File

@@ -2265,5 +2265,12 @@
"submit": "제출",
"communityExamples": "커뮤니티 예제",
"userExample": "사용자 예제"
},
"selfHosting": {
"prerequisites": {
"nodeJs": "Node.js 24.x",
"postgresql": "PostgreSQL database",
"npm": "npm"
}
}
}

View File

@@ -2268,5 +2268,12 @@
"submit": "Versturen",
"communityExamples": "Community Voorbeelden",
"userExample": "Gebruikers Voorbeeld"
},
"selfHosting": {
"prerequisites": {
"nodeJs": "Node.js 24.x",
"postgresql": "PostgreSQL database",
"npm": "npm"
}
}
}

View File

@@ -2279,5 +2279,12 @@
"submit": "Enviar",
"communityExamples": "Exemplos da Comunidade",
"userExample": "Exemplo do usuário"
},
"selfHosting": {
"prerequisites": {
"nodeJs": "Node.js 24.x",
"postgresql": "PostgreSQL database",
"npm": "npm"
}
}
}

View File

@@ -2262,5 +2262,12 @@
"submit": "Отправить",
"communityExamples": "Примеры сообщества",
"userExample": "Пример пользователя"
},
"selfHosting": {
"prerequisites": {
"nodeJs": "Node.js 24.x",
"postgresql": "PostgreSQL database",
"npm": "npm"
}
}
}

View File

@@ -2276,5 +2276,12 @@
"submit": "Gönder",
"communityExamples": "Topluluk Örnekleri",
"userExample": "Kullanıcı örneği"
},
"selfHosting": {
"prerequisites": {
"nodeJs": "Node.js 24.x",
"postgresql": "PostgreSQL database",
"npm": "npm"
}
}
}

View File

@@ -2265,5 +2265,12 @@
"submit": "提交",
"communityExamples": "社区示例",
"userExample": "用户示例"
},
"selfHosting": {
"prerequisites": {
"nodeJs": "Node.js 24.x",
"postgresql": "PostgreSQL database",
"npm": "npm"
}
}
}

View File

@@ -2375,7 +2375,7 @@ import type {
## Requirements
- **Node.js** 18+
- **Node.js** 24.x
- **TypeScript** 5+ (optional, for type checking)
---

View File

@@ -1,5 +1,6 @@
import Link from "next/link";
import Image from "next/image";
import { getTranslations } from "next-intl/server";
import { Server, Database, Key, Palette, Globe, Settings, Cpu } from "lucide-react";
import DeepWikiIcon from "@/../public/deepwiki.svg";
import Context7Icon from "@/../public/context7.svg";
@@ -17,7 +18,9 @@ export const metadata = {
description: "Deploy your own prompts.chat instance with customizable branding, themes, and authentication",
};
export default function SelfHostingPage() {
export default async function SelfHostingPage() {
const t = await getTranslations("selfHosting");
return (
<div className="container max-w-4xl py-10">
<h1 className="text-2xl font-bold mb-2">Self-Hosting Guide</h1>
@@ -110,9 +113,9 @@ export default function SelfHostingPage() {
Prerequisites
</h3>
<ul className="list-disc list-inside text-muted-foreground space-y-1">
<li>Node.js 18+</li>
<li>PostgreSQL database</li>
<li>npm or yarn</li>
<li>{t("prerequisites.nodeJs")}</li>
<li>{t("prerequisites.postgresql")}</li>
<li>{t("prerequisites.npm")}</li>
</ul>
</div>