Blame view

scripts/start_frontend.sh 658 Bytes
115047ee   tangwang   为一个租户灌入测试数据;实例的启动...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  #!/bin/bash
  
  # Start Frontend Server
  
  set -e
  
  cd "$(dirname "$0")/.."
  source /home/tw/miniconda3/etc/profile.d/conda.sh
  conda activate searchengine
  
  GREEN='\033[0;32m'
  YELLOW='\033[1;33m'
  NC='\033[0m'
  
  echo -e "${GREEN}========================================${NC}"
  echo -e "${GREEN}Starting Frontend Server${NC}"
  echo -e "${GREEN}========================================${NC}"
  
2a76641e   tangwang   config
19
  PORT=6003
115047ee   tangwang   为一个租户灌入测试数据;实例的启动...
20
21
22
23
24
  
  echo -e "\n${YELLOW}Frontend will be available at:${NC}"
  echo -e "  ${GREEN}http://localhost:$PORT${NC}"
  echo ""
  echo -e "${YELLOW}Make sure the backend API is running at:${NC}"
2a76641e   tangwang   config
25
  echo -e "  ${GREEN}http://localhost:6002${NC}"
115047ee   tangwang   为一个租户灌入测试数据;实例的启动...
26
27
28
  echo ""
  
  python scripts/frontend_server.py