Spaces:
Runtime error
Runtime error
Download docs/setup.html from welcometoFightclub/datacollection_server: direct link, hf CLI and curl.
- Browser
- Download file 2.02 kB
-
https://huggingface.co/spaces/welcometoFightclub/datacollection_server/resolve/main/docs/setup.html
- Command line
-
hf download hf://spaces/welcometoFightclub/datacollection_server/docs/setup.html
-
curl -L -o setup.html https://huggingface.co/spaces/welcometoFightclub/datacollection_server/resolve/main/docs/setup.html
2.02 kB
| <html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>Local setup | PDF Extractor Docs</title><link rel="stylesheet" href="guide.css"></head><body><a class="skip-link" href="#content">Skip to content</a><header class="topbar"><a class="brand" href="index.html">PDF Extractor <span>Docs</span></a><button class="menu-button" type="button" aria-expanded="false" aria-controls="navigation">Menu</button><button class="theme-button" type="button">Theme</button></header><div class="layout"><nav id="navigation" class="navigation" aria-label="Documentation"><a href="index.html">Overview</a><a href="architecture.html">Architecture</a><a href="low-level-design.html">Low-level design</a><a href="dependencies.html">External dependencies</a><a href="api.html">API contract</a><a href="operations.html">Operations and limits</a><a href="setup.html">Local setup</a></nav><main id="content"><p class="eyebrow">Start the application</p><h1>Local setup</h1><section><h2>Requirements</h2><ul><li>Python 3.11 or later.</li><li>The <code>uv</code> command.</li><li>A LlamaCloud API key for live extraction.</li></ul></section><section><h2>Steps</h2><ol><li>Open a PowerShell terminal in the project directory.</li><li>Copy <code>.env.example</code> to <code>.env</code>.</li><li>Set <code>LLAMA_CLOUD_API_KEY</code> in <code>.env</code>.</li><li>Run <code>uv sync</code>.</li><li>Run <code>uv run first</code>.</li><li>Open <code>http://127.0.0.1:8000</code>.</li></ol></section><section><h2>Useful commands</h2><pre><code>uv sync<br>uv run first<br>uv run python -m compileall -q src</code></pre><button class="copy-button" type="button" data-copy="uv run first">Copy run command</button></section><section><h2>Local data</h2><p>The application creates <code>data/extractor.db</code> when it starts. This file contains local job records and extracted JSON. Keep this file private.</p></section></main></div><script src="guide.js"></script></body></html> | |