text
stringlengths
0
3.02k
[3/9/2024 4:49 PM] g30
Except it seems I need a dependency
[3/9/2024 4:50 PM] g30
`pip install -r requirements.txt -U`
[3/9/2024 4:50 PM] g30
duh
[3/9/2024 4:51 PM] herman_miller
this is my workflow for doing frontend:
$ git clone https://github.com/open-webui/open-webui.git
$ cd open-webui/
$ cp -RPp .env.example .env
$ cd backend
$ pip install -r requirements.txt -U
$ sh start.sh
open new terminal (in root of project where the package.json file is)
$ npm install
$ npm run dev
[3/9/2024 4:51 PM] wildtang3nt
yep, you can keep the backend server running, and as Danny pointed out the npm run dev command starts a local dev server for the frontend
[3/9/2024 4:54 PM] wildtang3nt
for you @G:30b you'd use the start_windows.bat script instead of sh start.sh, the rest should work
[3/9/2024 4:54 PM] g30
It ehh.. definitely looks like I need to get my Python sorted out first.
{Attachments}
https://cdn.discordapp.c…fad9a0c6ae121c2&
[3/9/2024 4:54 PM] wildtang3nt
what happened when you tried to pip install the depends?
[3/9/2024 4:54 PM] g30
Python thinks ComfyUI installation is my Python path for some reason or something. Idek.
[3/9/2024 4:55 PM] wildtang3nt
hmmm
[3/9/2024 4:55 PM] g30
It worked fine
[3/9/2024 4:55 PM] wildtang3nt
time to get Conda I think
[3/9/2024 4:56 PM] g30
I'd definitely want to at least *fix* Python so that on a clean installation, everything is fine. I'd just have to install dependencies for projects again, each in their own separate environment, or even through Conda in the long run. I don't know how to go about doing that though.
[3/9/2024 4:59 PM] wildtang3nt
tbh I think the general practice for most developers is to _not touch_ the system packages anyway
[3/9/2024 4:59 PM] wildtang3nt
Conda can manage a full virtual environment for each application, then you don't run into dependency hell, PATH issues, etc
[3/9/2024 5:57 PM] .isaac47
Hi, I want to run open WebUI on a standalone microservice. And I would like right my own endpoints for generate, thumbs up and down, etc.. How to achieve it please
[3/9/2024 9:21 PM] g30
@wildtangn:3t I'd like to maybe tackle the challenge of moving on to Conda. Could you maybe verify if this looks good for me to follow as a guide?
[3/9/2024 9:23 PM] wildtang3nt
looks pretty reasonable but I admit I only skimmed it
[3/9/2024 9:24 PM] wildtang3nt
didn't know conda also did node... that's handy
[3/9/2024 9:24 PM] g30
Well heck if Im gonna tackle problems, I *have* to make the switch.
[3/9/2024 9:25 PM] g30
that is, ditching Python completely? Is that possible?