-
Notifications
You must be signed in to change notification settings - Fork 0
Update build instructions in README #174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Changes from all commits
ae79a13
9877c0f
24514e1
9ba814c
a400b82
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -67,31 +67,14 @@ cd WebUI | |
| npm install | ||
| ``` | ||
|
|
||
| ### Prepare Python Environment | ||
| ### Prepare Development Environment | ||
|
|
||
| 1. Install Miniforge to manage your Conda environment: https://github.com/conda-forge/miniforge | ||
|
|
||
| 2. Create a Conda environment with Python 3.11 and libuv: | ||
| ``` | ||
| conda create -n cp311_libuv python=3.11 libuv -y | ||
| ``` | ||
|
|
||
| 3. Locate the path to your newly created Conda environment: | ||
| ``` | ||
| conda env list | findstr cp311_libuv | ||
| ``` | ||
|
|
||
| 4. In the `WebUI` directory, execute the `fetch-build-resources` script, replacing `<path_to_cp311_libuv_conda_env>` with the actual path you copied in the previous step: | ||
| ``` | ||
| npm run fetch-build-resources -- --conda_env_dir=<path_to_cp311_libuv_conda_env> | ||
| ``` | ||
|
|
||
| 5. Run the `prepare-build` script: | ||
| 1. In the `WebUI` directory, run the `fetch-build-resources` script to download required build resources: | ||
| ``` | ||
| npm run prepare-build | ||
| npm run fetch-build-resources | ||
| ``` | ||
|
|
||
| You should now have a basic Python environment located at `build-envs\online\prototype-python-env`. | ||
| This will download `uv` (Python package manager) and other required tools to the `build/resources/` directory. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @copilot
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed in commit 24514e1. The There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Iirc there is some entry in the .gitignore, which should no longer be needed now.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed in commit a400b82. Removed the obsolete |
||
|
|
||
| ### Launch the application | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you check for other places where conda and the likes are mentioned?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in commit 9ba814c. Removed conda references from AGENTS.md and WebUI/build/README.md. All documentation now reflects the simplified uv-based workflow.