text
stringlengths
0
3.02k
Andd still not working lol
[3/10/2024 12:45 AM] wildtang3nt
```
uvicorn main:app --port 8080 --host 0.0.0.0 --forwarded-allow-ips "*" --reload
```
[3/10/2024 12:47 AM] wildtang3nt
you could make a copy of your first bat and replace the last line with the above
[3/10/2024 12:47 AM] wildtang3nt
that will run the dev dev server, and then you can do the `npm run dev` in another terminal
[3/10/2024 12:50 AM] g30
`Error: Got unexpected extra arguments (config.py constants.py data dev.sh main.py requirements.txt start.sh start_windows.bat static utils __pycache__)`
[3/10/2024 12:51 AM] wildtang3nt
what
[3/10/2024 12:51 AM] g30
```
@echo off
CALL conda activate base
cd /d X:\open-webui-dev2\open-webui
git pull
CALL npm i
CALL npm run build
cd backend
CALL conda activate open-webui-dev
pip install -r requirements.txt
uvicorn main:app --port 8080 --host 0.0.0.0 --forwarded-allow-ips "*" --reload
```
Does this look correct?
[3/10/2024 12:51 AM] wildtang3nt
maybe try throwing a CALL in front of the uvicorn part?
[3/10/2024 12:51 AM] wildtang3nt
worked for npm lol
[3/10/2024 12:53 AM] wildtang3nt
just put it on your desktop somewhere, doesn't need to be in the backend, that can run from anywhere
[3/10/2024 12:53 AM] g30
I still got this error
[3/10/2024 12:53 AM] g30
{Attachments}
https://cdn.discordapp.com/attachments/1210732510250541067/1216262761328283719/message.txt?ex=67742fb7&is=6772de37&hm=35e711b00dc6a8c17fe373da16e8bc02cd75c77783241c1c8bbec8b1ecd00a6e&
[3/10/2024 12:54 AM] wildtang3nt
maybe we need to look at what start_windows.bat does and make a modified dev_windows.bat from it
[3/10/2024 12:56 AM] wildtang3nt
hmmm appears to me the only thing you'd need to change is adding `--reload` to the end of the very last line..
[3/10/2024 12:57 AM] g30
I see
[3/10/2024 12:58 AM] g30
Well cruds, same error.
[3/10/2024 12:58 AM] wildtang3nt
tell me the normal one aint broke too....
[3/10/2024 1:00 AM] g30
As in?
[3/10/2024 1:01 AM] wildtang3nt
the first bat file we made
[3/10/2024 1:01 AM] g30
oh it isnt
[3/10/2024 1:01 AM] wildtang3nt
one trick pony huh