You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

post-create-command.sh 773 B

PoC AGS dev container (#5026) * Add tiktoken as a dependency in pyproject.toml Signed-off-by: Johan Forngren <johan.forngren@decerno.se> Update uv.lock with tiktoken dependency from fbfdc9f652384b70f7461c90ada13f87e83677e0 Signed-off-by: Johan Forngren <johan.forngren@decerno.se> * Updating autogen-ext dependencies per https://github.com/microsoft/autogen/pull/5008#issuecomment-2585383877 Signed-off-by: Johan Forngren <johan.forngren@decerno.se> * PoC dev container Signed-off-by: Johan Forngren <johan.forngren@decerno.se> * Enhance devcontainer setup with post-create script for dependency installation and improved performance. Removed partial hot reload setup, as it required bigger changes to the project. Improved documentation, and fixed markdown lint issues. Signed-off-by: Johan Forngren <johan.forngren@decerno.se> * Update installation documentation for AutoGen Studio, clarifying installation methods and improving formatting. Adjusted notes for Windows users and corrected minor grammatical issues. Signed-off-by: Johan Forngren <johan.forngren@decerno.se> * Fixing typos. Restructuring text to avoid consecutive markdown quote blocks separated only by a blank line to avoid MD028 - Blank line inside blockquote. Signed-off-by: Johan Forngren <johan.forngren@decerno.se> * Include dev containers tutorial Signed-off-by: Johan Forngren <johan.forngren@decerno.se> * Update dev container installation instructions Signed-off-by: Johan Forngren <johan.forngren@decerno.se> --------- Signed-off-by: Johan Forngren <johan.forngren@decerno.se> Co-authored-by: Victor Dibia <victordibia@microsoft.com>
1 year ago
PoC AGS dev container (#5026) * Add tiktoken as a dependency in pyproject.toml Signed-off-by: Johan Forngren <johan.forngren@decerno.se> Update uv.lock with tiktoken dependency from fbfdc9f652384b70f7461c90ada13f87e83677e0 Signed-off-by: Johan Forngren <johan.forngren@decerno.se> * Updating autogen-ext dependencies per https://github.com/microsoft/autogen/pull/5008#issuecomment-2585383877 Signed-off-by: Johan Forngren <johan.forngren@decerno.se> * PoC dev container Signed-off-by: Johan Forngren <johan.forngren@decerno.se> * Enhance devcontainer setup with post-create script for dependency installation and improved performance. Removed partial hot reload setup, as it required bigger changes to the project. Improved documentation, and fixed markdown lint issues. Signed-off-by: Johan Forngren <johan.forngren@decerno.se> * Update installation documentation for AutoGen Studio, clarifying installation methods and improving formatting. Adjusted notes for Windows users and corrected minor grammatical issues. Signed-off-by: Johan Forngren <johan.forngren@decerno.se> * Fixing typos. Restructuring text to avoid consecutive markdown quote blocks separated only by a blank line to avoid MD028 - Blank line inside blockquote. Signed-off-by: Johan Forngren <johan.forngren@decerno.se> * Include dev containers tutorial Signed-off-by: Johan Forngren <johan.forngren@decerno.se> * Update dev container installation instructions Signed-off-by: Johan Forngren <johan.forngren@decerno.se> --------- Signed-off-by: Johan Forngren <johan.forngren@decerno.se> Co-authored-by: Victor Dibia <victordibia@microsoft.com>
1 year ago
123456789101112131415161718192021222324252627
  1. #!/bin/bash
  2. # Create the node_modules directory in the frontend folder if it doesn't exist
  3. # This ensures the directory exists before mounting
  4. mkdir -p frontend/node_modules
  5. # Change ownership of node_modules to vscode user
  6. # This prevents permission issues when installing packages
  7. sudo chown vscode frontend/node_modules
  8. # Initialize git-lfs and fetch/checkout LFS files
  9. git lfs install
  10. git lfs fetch --all
  11. git lfs checkout
  12. pip install --upgrade pip gunicorn
  13. # Install the AutoGen Studio project in editable mode (-e flag)
  14. # This allows for development changes to be reflected immediately
  15. pip install -e .
  16. npm install -g gatsby-cli@latest
  17. # Install yarn dependencies with cache to improve performance
  18. cd frontend && \
  19. yarn install --cache-folder /tmp/.yarn-cache