docs.pyserve.org/getting-started/installation.html
Илья Глазунов 1f25033d2d initial commit
2025-12-05 12:57:41 +03:00

80 lines
2.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Installation - pyserve</title>
<link rel="stylesheet" href="../style.css">
</head>
<body>
<div id="container">
<div id="header">
<h1>pyserve</h1>
<div class="tagline">python application orchestrator</div>
</div>
<div class="breadcrumb">
<a href="../index.html">pyserve</a> » <a href="/getting-started/">Getting Started</a> » Installation
</div>
<div id="content">
<h2>Installation</h2>
<h3>Requirements</h3>
<ul class="indent">
<li>Python 3.12 or higher</li>
<li>pip (Python package manager)</li>
</ul>
<h3>Install from Release (Recommended)</h3>
<p>Download the latest wheel file from <a href="https://github.com/ShiftyX1/PyServe/releases">GitHub Releases</a> and install it:</p>
<pre><span class="comment"># Download the wheel file from releases</span>
<span class="comment"># Example: pyserve-0.7.0-py3-none-any.whl</span>
pip install pyserve-0.7.0-py3-none-any.whl</pre>
<p>After installation, the <code>pyserve</code> command will be available in your terminal:</p>
<pre>pyserve --version</pre>
<h3>Install from Source</h3>
<p>For development or if you want the latest changes:</p>
<pre><span class="comment"># Clone the repository</span>
git clone https://github.com/ShiftyX1/PyServe.git
cd PyServe
<span class="comment"># Install with Poetry (recommended for development)</span>
make init
<span class="comment"># Or build and install the package</span>
make build
pip install dist/pyserve-*.whl</pre>
<h3>Verify Installation</h3>
<p>Check that pyserve is installed correctly:</p>
<pre>pyserve --version
<span class="comment"># Output: pyserve 0.7.0</span></pre>
<h3>Dependencies</h3>
<p>pyserve automatically installs the following dependencies:</p>
<ul class="indent">
<li><code>starlette</code> — ASGI framework</li>
<li><code>uvicorn</code> — ASGI server</li>
<li><code>pyyaml</code> — YAML configuration parsing</li>
<li><code>structlog</code> — Structured logging</li>
<li><code>httpx</code> — HTTP client for reverse proxy</li>
</ul>
<div class="note">
<strong>Next:</strong> Continue to <a href="quickstart.html">Quick Start</a> to run your first server.
</div>
</div>
<div id="footer">
<p>pyserve &copy; 2024-2025 | MIT License</p>
</div>
</div>
</body>
</html>