Blame view

scripts/install_server_deps.sh 418 Bytes
bb3c5ef8   tangwang   灌入数据流程跑通
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  #!/bin/bash
  
  echo "Installing server security dependencies..."
  
  # Check if we're in a conda environment
  if [ -z "$CONDA_DEFAULT_ENV" ]; then
      echo "Warning: No conda environment detected. Installing with pip..."
      pip install slowapi>=0.1.9 anyio>=3.7.0
  else
      echo "Installing in conda environment: $CONDA_DEFAULT_ENV"
      pip install slowapi>=0.1.9 anyio>=3.7.0
  fi
  
  echo "Dependencies installed successfully!"