mirror of
https://github.com/microsoft/autogen.git
synced 2025-07-03 07:04:16 +00:00

<!-- Thank you for your contribution! Please review https://microsoft.github.io/autogen/docs/Contribute before opening a pull request. --> <!-- Please add a reviewer to the assignee section when you create a PR. If you don't have the access to it, we will shortly find a reviewer and assign them to your PR. --> ## Why are these changes needed? <!-- Please give a short summary of the change and the problem this solves. --> - AGS contains image files which are required for local build /dev - These files are stored using git lfs which needs to be run before the files are downloaded - This PR adds a reminder to the AGS readme to run `git lfs checkout` after installing git lfs to download the image files ## Related issue number <!-- For example: "Closes #1234" --> Close #3418 ## Checks - [ ] I've included any doc changes needed for <https://microsoft.github.io/autogen/>. See <https://github.com/microsoft/autogen/blob/main/CONTRIBUTING.md> to build and test documentation locally. - [ ] I've added tests (if relevant) corresponding to the changes introduced in this PR. - [ ] I've made sure all auto checks have passed.
27 lines
773 B
Bash
27 lines
773 B
Bash
#!/bin/bash
|
|
|
|
# Create the node_modules directory in the frontend folder if it doesn't exist
|
|
# This ensures the directory exists before mounting
|
|
mkdir -p frontend/node_modules
|
|
|
|
# Change ownership of node_modules to vscode user
|
|
# This prevents permission issues when installing packages
|
|
sudo chown vscode frontend/node_modules
|
|
|
|
# Initialize git-lfs and fetch/checkout LFS files
|
|
git lfs install
|
|
git lfs fetch --all
|
|
git lfs checkout
|
|
|
|
|
|
pip install --upgrade pip gunicorn
|
|
|
|
# Install the AutoGen Studio project in editable mode (-e flag)
|
|
# This allows for development changes to be reflected immediately
|
|
pip install -e .
|
|
|
|
npm install -g gatsby-cli@latest
|
|
|
|
# Install yarn dependencies with cache to improve performance
|
|
cd frontend && \
|
|
yarn install --cache-folder /tmp/.yarn-cache |