42 lines
1.4 KiB
Markdown
42 lines
1.4 KiB
Markdown
1. open shell prompt to a good spot for hydrusnetwork i.e. C:\hydrusnetwork
|
|
2. send command "git clone https://github.com/hydrusnetwork/hydrus"
|
|
3. send command "cd hydrus"
|
|
4. send command "python -m venv .venv"
|
|
|
|
---------------------------------------------------
|
|
5. Windows
|
|
1. send command ".\.venv\Scripts\Activate.ps1"
|
|
|
|
5. Linux
|
|
1. send command "source .venv/bin/activate"
|
|
|
|
--------------------------------------------------
|
|
your commandline should have (.venv) infront of it now
|
|
|
|
5. send command "pip install -r requirements.txt"
|
|
6. send command "python hydrus_client.py"
|
|
---------------------------------------------------
|
|
the gui application should be opened now
|
|
7.in the top menu click on services > manage services > double-click "client api"
|
|
8.check the boxes
|
|
X run the client api?
|
|
X allow non-local connections
|
|
X supports CORS headers
|
|
click apply
|
|
|
|
9.click on services > review services > click on "client api"
|
|
10. click "Add" > manually > change "new api permissions" to "medios"
|
|
11. click apply > click "copy api access key", click "open client api base url"
|
|
|
|
--------------------------------------------
|
|
edit the below and place in your config.conf
|
|
|
|
<figure>
|
|
<figcaption>config.conf</figcaption>
|
|
<pre><code class="language-powershell">[store=hydrusnetwork]
|
|
NAME="shortnamenospacesorsymbols"
|
|
API="apiaccesskeygoeshere"
|
|
URL="apibaseurlgoeshere"
|
|
</code></pre>
|
|
</figure>
|