text
stringlengths
0
3.02k
[3/9/2024 9:52 PM] g30
The dev one
[3/9/2024 9:52 PM] wildtang3nt
in terminal:
```
conda create --name open-webui-dev python=3.11
```
[3/9/2024 9:52 PM] wildtang3nt
yes, the root of that directory
[3/9/2024 9:53 PM] g30
Running this
[3/9/2024 9:53 PM] wildtang3nt
`conda activate open-webui-dev` after that
[3/9/2024 9:54 PM] g30
This sets up the virtual environment within Conda I assume?
[3/9/2024 9:55 PM] wildtang3nt
the first command did that, that need only be done once
[3/9/2024 9:55 PM] g30
Okay
[3/9/2024 9:55 PM] wildtang3nt
the activate command needs to be done whenever you open the terminal after closing it, if you want to run the dev environment for webui
[3/9/2024 9:55 PM] g30
okay
[3/9/2024 9:57 PM] wildtang3nt
as for nodejs... you could try the conda way, but you maybe better to just download it from nodesource directly
[3/9/2024 9:57 PM] wildtang3nt
npm already uses "virtual environments" by default
[3/9/2024 9:57 PM] g30
{Attachments}
https://cdn.discordapp.c…5f783a461639c21&
[3/9/2024 9:58 PM] wildtang3nt
I think you might have an older version if it is installed
[3/9/2024 9:58 PM] wildtang3nt
https://nodejs.org/dist/v20.11.1/node-v20.11.1-x64.msi
[3/9/2024 9:58 PM] g30
(open-webui-dev) X:\open-webui-dev>node -v
v18.15.0
[3/9/2024 9:58 PM] wildtang3nt
ya exactly
[3/9/2024 9:59 PM] wildtang3nt
if youve installed it, remove it
[3/9/2024 9:59 PM] g30
Seems I do need to upgrade. That is something I don't know how to do cleanly.
[3/9/2024 9:59 PM] wildtang3nt
get new one
[3/9/2024 9:59 PM] g30
Just uninstall, reinstall the new?
[3/9/2024 9:59 PM] wildtang3nt
yep
[3/9/2024 9:59 PM] g30
Oh.. okay.
[3/9/2024 9:59 PM] wildtang3nt