mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-08-13 16:32:23 +00:00
Update Faq
This commit is contained in:
parent
652c45cecd
commit
8f3f57ce57
@ -6,7 +6,6 @@ import * as gfm from "remark-gfm"
|
||||
import dynamic from "next/dynamic"
|
||||
import React from "react"
|
||||
import parse from "html-react-parser"
|
||||
import Footer from "@/components/footer"
|
||||
|
||||
const CopyableCode = dynamic(() => import("@/components/CopyableCode"), { ssr: false })
|
||||
|
||||
@ -14,23 +13,23 @@ async function getCodeOfConductContent() {
|
||||
try {
|
||||
const codeOfConductPath = path.join(process.cwd(), "..", "CODE_OF_CONDUCT.md")
|
||||
|
||||
if (!fs.existsSync(codeOfConductPath)) {
|
||||
console.error("❌ Archivo CODE_OF_CONDUCT.md no encontrado.")
|
||||
return "<p class='text-red-600'>Error: No se encontró el archivo CODE_OF_CONDUCT.md</p>"
|
||||
}
|
||||
|
||||
const fileContents = fs.readFileSync(codeOfConductPath, "utf8")
|
||||
|
||||
const result = await remark()
|
||||
.use(gfm.default || gfm)
|
||||
.use(html)
|
||||
.process(fileContents)
|
||||
|
||||
return result.toString()
|
||||
} catch (error) {
|
||||
console.error("❌ Error al leer el archivo CODE_OF_CONDUCT.md", error)
|
||||
return "<p class='text-red-600'>Error: No se pudo cargar el contenido del Código de Conducta.</p>"
|
||||
if (!fs.existsSync(codeOfConductPath)) {
|
||||
console.error("CODE_OF_CONDUCT.md file not found.");
|
||||
return "<p class='text-red-600'>Error: CODE_OF_CONDUCT.md file not found.</p>";
|
||||
}
|
||||
|
||||
const fileContents = fs.readFileSync(codeOfConductPath, "utf8");
|
||||
|
||||
const result = await remark()
|
||||
.use(gfm.default || gfm)
|
||||
.use(html)
|
||||
.process(fileContents);
|
||||
|
||||
return result.toString();
|
||||
} catch (error) {
|
||||
console.error("Error reading the CODE_OF_CONDUCT.md file", error);
|
||||
return "<p class='text-red-600'>Error: Unable to load the Code of Conduct content.</p>";
|
||||
}
|
||||
}
|
||||
|
||||
function cleanInlineCode(content: string) {
|
||||
@ -61,10 +60,8 @@ export default async function CodeOfConductPage() {
|
||||
return (
|
||||
<div className="min-h-screen bg-white text-gray-900">
|
||||
<div className="container mx-auto px-4 py-16" style={{ maxWidth: "980px" }}>
|
||||
<h1 className="text-4xl font-bold mb-8">Code of Conduct</h1>
|
||||
<div className="prose max-w-none text-[16px]">{parsedContent}</div>
|
||||
</div>
|
||||
<Footer />
|
||||
</div>
|
||||
)
|
||||
}
|
@ -43,15 +43,19 @@ export default function FaqPage() {
|
||||
<h1 className="text-3xl font-bold">Frequently Asked Questions (FAQ)</h1>
|
||||
</div>
|
||||
|
||||
{/* 1️⃣ What is ProxMenux? */}
|
||||
{/* 1️⃣ What is ProxMenux? */}
|
||||
<h3 className="text-xl font-semibold mt-16 mb-4 flex items-center">
|
||||
<StepNumber number={1} />
|
||||
What is ProxMenux, and what is it used for?
|
||||
</h3>
|
||||
<p className="mb-4">
|
||||
<strong>ProxMenux</strong> is an interactive menu-driven tool designed to make <strong>Proxmox VE</strong> accessible to
|
||||
all users, regardless of their technical experience. It allows users to execute commands and manage Proxmox VE
|
||||
without requiring advanced Linux knowledge.
|
||||
<strong>ProxMenux</strong> is an interactive menu-driven tool designed to make <strong>Proxmox VE</strong> more accessible
|
||||
to all users, regardless of their technical experience. It simplifies command execution, allowing users to perform
|
||||
actions on their system without requiring advanced Linux knowledge.
|
||||
</p>
|
||||
<p className="mb-4">
|
||||
For less experienced users, <strong>ProxMenux</strong> provides an intuitive way to run commands through a structured
|
||||
menu interface, reducing the need for manual terminal input.
|
||||
</p>
|
||||
<p className="mb-4">
|
||||
Proxmox VE is widely used for:
|
||||
@ -84,73 +88,68 @@ export default function FaqPage() {
|
||||
</pre>
|
||||
|
||||
{/* 3️⃣ Compatibility */}
|
||||
<h3 className="text-xl font-semibold mt-16 mb-4 flex items-center">
|
||||
<StepNumber number={3} />
|
||||
Is ProxMenux compatible with all Proxmox versions?
|
||||
</h3>
|
||||
<h2 className="text-2xl font-semibold mt-8 mb-4">3️⃣ Is ProxMenux compatible with all Proxmox versions?</h2>
|
||||
<p className="mb-4">
|
||||
No, <strong>ProxMenux is only compatible with Proxmox VE 8 and later versions.</strong>
|
||||
</p>
|
||||
|
||||
{/* 4️⃣ Customization */}
|
||||
<h3 className="text-xl font-semibold mt-16 mb-4 flex items-center">
|
||||
<StepNumber number={4} />
|
||||
Can I customize ProxMenux?
|
||||
</h3>
|
||||
<h2 className="text-2xl font-semibold mt-8 mb-4">4️⃣ Can I customize ProxMenux?</h2>
|
||||
<p className="mb-4">
|
||||
The core scripts cannot be modified directly as they are hosted on GitHub, but you can personalize the
|
||||
<strong> console logo </strong> using the <strong> FastFetch </strong> tool in the Post-Install options.
|
||||
The core scripts cannot be modified directly as they are hosted on GitHub, but you can personalize
|
||||
the <strong>console logo</strong> using the <strong>FastFetch</strong> tool in the <strong>Post-Install options</strong>.
|
||||
</p>
|
||||
|
||||
{/* 5️⃣ Updates */}
|
||||
<h3 className="text-xl font-semibold mt-16 mb-4 flex items-center">
|
||||
<StepNumber number={5} />
|
||||
How do I update ProxMenux?
|
||||
</h3>
|
||||
<h2 className="text-2xl font-semibold mt-8 mb-4">5️⃣ How do I update ProxMenux?</h2>
|
||||
<p className="mb-4">
|
||||
When a new version is available, ProxMenux will automatically detect it upon launch and ask if you want to update.
|
||||
The update process will replace utility files and configurations.
|
||||
When a new version is available, ProxMenux will automatically detect it upon launch and ask
|
||||
if you want to update. The update process will replace utility files and configurations.
|
||||
</p>
|
||||
|
||||
{/* 6️⃣ Reporting Issues */}
|
||||
<h3 className="text-xl font-semibold mt-16 mb-4 flex items-center">
|
||||
<StepNumber number={6} />
|
||||
Where can I report issues?
|
||||
</h3>
|
||||
<h2 className="text-2xl font-semibold mt-8 mb-4">6️⃣ Where can I report issues?</h2>
|
||||
<p className="mb-4">
|
||||
If you encounter bugs or errors, report them in the{" "}
|
||||
<Link href="https://github.com/MacRimi/ProxMenux/issues" className="text-blue-500 hover:underline">
|
||||
Issues section
|
||||
</Link>.
|
||||
<Link href="https://github.com/MacRimi/ProxMenux/issues" className="text-blue-500 hover:underline">Issues section</Link>.
|
||||
</p>
|
||||
|
||||
{/* 7️⃣ Contributing */}
|
||||
<h3 className="text-xl font-semibold mt-16 mb-4 flex items-center">
|
||||
<StepNumber number={7} />
|
||||
Can I contribute to ProxMenux?
|
||||
</h3>
|
||||
<h2 className="text-2xl font-semibold mt-8 mb-4">7️⃣ Can I contribute to ProxMenux?</h2>
|
||||
<p className="mb-4">
|
||||
Yes! ProxMenux is an open-source project, and contributions are welcome.
|
||||
You can share ideas or discuss improvements in the{" "}
|
||||
<Link href="https://github.com/MacRimi/ProxMenux/discussions" className="text-blue-500 hover:underline">
|
||||
Discussions section
|
||||
</Link>.
|
||||
<Link href="https://github.com/MacRimi/ProxMenux/discussions" className="text-blue-500 hover:underline">Discussions section</Link>.
|
||||
Make sure to check the{" "}
|
||||
<Link href="https://github.com/MacRimi/ProxMenux/blob/main/CODE_OF_CONDUCT.md" className="text-blue-500 hover:underline">
|
||||
Code of Conduct & Best Practices
|
||||
</Link>.
|
||||
<Link href="https://github.com/MacRimi/ProxMenux/blob/main/CODE_OF_CONDUCT.md" className="text-blue-500 hover:underline">Code of Conduct & Best Practices</Link>.
|
||||
</p>
|
||||
|
||||
{/* 8️⃣ System Modifications */}
|
||||
<h3 className="text-xl font-semibold mt-16 mb-4 flex items-center">
|
||||
<StepNumber number={8} />
|
||||
Does ProxMenux modify critical system files?
|
||||
</h3>
|
||||
{/* 8️⃣ Modifying System Files */}
|
||||
<h2 className="text-2xl font-semibold mt-8 mb-4">8️⃣ Does ProxMenux modify critical system files?</h2>
|
||||
<p className="mb-4">
|
||||
No, <strong>ProxMenux does not modify critical Proxmox system files.</strong>
|
||||
It only installs dependencies and downloads its scripts into{" "}
|
||||
<code className="bg-gray-200 px-1 rounded">/usr/local/share/proxmenux/</code>.
|
||||
It installs dependencies (whiptail, curl, jq, Python3), sets up a virtual environment for translations, and downloads its scripts into
|
||||
<code className="bg-gray-200 px-1 rounded">/usr/local/share/proxmenux/ and the executable menu into /usr/local/bin/</code>.
|
||||
It does not interfere with Proxmox's core operations.
|
||||
</p>
|
||||
|
||||
{/* 9️⃣ Production Use */}
|
||||
<h2 className="text-2xl font-semibold mt-8 mb-4">9️⃣ Is it safe to use ProxMenux in production?</h2>
|
||||
<p className="mb-4">
|
||||
Yes, ProxMenux is <strong>safe for production</strong>.
|
||||
Since it does not modify core Proxmox files, it can be used in production environments.
|
||||
However, it is always recommended to test it in a controlled environment first.
|
||||
</p>
|
||||
|
||||
{/* 🔟 Uninstallation */}
|
||||
<h2 className="text-2xl font-semibold mt-8 mb-4">🔟 How do I uninstall ProxMenux?</h2>
|
||||
<p className="mb-4">
|
||||
You can uninstall ProxMenux from the **Settings menu** using the **Uninstall ProxMenux** option.
|
||||
Detailed steps can be found in the{" "}
|
||||
<Link href="https://macrimi.github.io/ProxMenux/docs/settings/uninstall-proxmenux" className="text-blue-500 hover:underline">
|
||||
Uninstall Guide
|
||||
</Link>.
|
||||
</p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
@ -52,12 +52,12 @@ export default function ExternalRepositoriesPage() {
|
||||
{/* Introduction */}
|
||||
<p className="mb-4">
|
||||
ProxMenux integrates with selected external repositories to provide alternative scripts for
|
||||
various functionalities. These scripts come from **trusted sources** and serve as additional
|
||||
various functionalities. These scripts come from <strong>trusted sources</strong> and serve as additional
|
||||
options in some menu sections.
|
||||
</p>
|
||||
<p className="mb-4">
|
||||
When an external script is available as an alternative, **ProxMenux will clearly indicate that it
|
||||
originates from an external repository and specify which one.**
|
||||
When an external script is available as an alternative, ProxMenux will clearly indicate that it
|
||||
originates from an external repository and specify which one.
|
||||
</p>
|
||||
|
||||
{/* 1️⃣ Example of External Repository */}
|
||||
@ -88,11 +88,11 @@ export default function ExternalRepositoriesPage() {
|
||||
{/* 3️⃣ Reporting Issues with External Scripts */}
|
||||
<SectionHeader number={3} title="Reporting Issues with External Scripts" />
|
||||
<p className="mb-4">
|
||||
If you encounter an issue with an external script, **please report it directly to the original
|
||||
repository** instead of opening an issue in the ProxMenux repository.
|
||||
If you encounter an issue with an external script, <strong>please report it directly to the original
|
||||
repository</strong> instead of opening an issue in the ProxMenux repository.
|
||||
</p>
|
||||
<p className="mb-4">
|
||||
**ProxMenux does not modify external scripts**; it simply provides a link to the original source.
|
||||
<strong>ProxMenux does not modify external scripts</strong>; it simply provides a link to the original source.
|
||||
Therefore, any problems related to functionality should be reported to the respective developers.
|
||||
</p>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user