115047ee
tangwang
为一个租户灌入测试数据;实例的启动...
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/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}"
PORT=8080
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}"
echo -e " ${GREEN}http://localhost:8000${NC}"
echo ""
python scripts/frontend_server.py
|