Refactor documentation for reverse proxy and routing guides
Deploy to Production / deploy (push) Successful in 5s
Deploy to Production / deploy (push) Successful in 5s
This commit is contained in:
+16
-16
@@ -26,7 +26,7 @@
|
||||
<p>pyserve provides a command-line interface for server management.</p>
|
||||
|
||||
<h3>Synopsis</h3>
|
||||
<pre>pyserve [OPTIONS]</pre>
|
||||
<pre><code class="language-bash">pyserve [OPTIONS]</code></pre>
|
||||
|
||||
<h3>Options</h3>
|
||||
|
||||
@@ -66,20 +66,20 @@
|
||||
<h3>Examples</h3>
|
||||
|
||||
<p><strong>Start with default configuration:</strong></p>
|
||||
<pre>pyserve</pre>
|
||||
<pre><code class="language-bash">pyserve</code></pre>
|
||||
|
||||
<p><strong>Start with custom config file:</strong></p>
|
||||
<pre>pyserve -c /path/to/config.yaml</pre>
|
||||
<pre><code class="language-bash">pyserve -c /path/to/config.yaml</code></pre>
|
||||
|
||||
<p><strong>Override host and port:</strong></p>
|
||||
<pre>pyserve --host 127.0.0.1 --port 9000</pre>
|
||||
<pre><code class="language-bash">pyserve --host 127.0.0.1 --port 9000</code></pre>
|
||||
|
||||
<p><strong>Enable debug mode:</strong></p>
|
||||
<pre>pyserve --debug</pre>
|
||||
<pre><code class="language-bash">pyserve --debug</code></pre>
|
||||
|
||||
<p><strong>Show version:</strong></p>
|
||||
<pre>pyserve --version
|
||||
<span class="comment"># Output: pyserve 0.7.0</span></pre>
|
||||
<pre><code class="language-bash">pyserve --version
|
||||
# Output: pyserve 0.7.0</code></pre>
|
||||
|
||||
<h3>Configuration Priority</h3>
|
||||
<p>Settings are applied in the following order (later overrides earlier):</p>
|
||||
@@ -125,15 +125,15 @@
|
||||
<h3>Development Commands (Makefile)</h3>
|
||||
<p>When working with the source repository, use make commands:</p>
|
||||
|
||||
<pre>make run <span class="comment"># Start in development mode</span>
|
||||
make run-prod <span class="comment"># Start in production mode</span>
|
||||
make test <span class="comment"># Run tests</span>
|
||||
make test-cov <span class="comment"># Tests with coverage</span>
|
||||
make lint <span class="comment"># Check code with linters</span>
|
||||
make format <span class="comment"># Format code</span>
|
||||
make build <span class="comment"># Build wheel package</span>
|
||||
make clean <span class="comment"># Clean temporary files</span>
|
||||
make help <span class="comment"># Show all commands</span></pre>
|
||||
<pre><code class="language-bash">make run # Start in development mode
|
||||
make run-prod # Start in production mode
|
||||
make test # Run tests
|
||||
make test-cov # Tests with coverage
|
||||
make lint # Check code with linters
|
||||
make format # Format code
|
||||
make build # Build wheel package
|
||||
make clean # Clean temporary files
|
||||
make help # Show all commands</code></pre>
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
|
||||
Reference in New Issue
Block a user