mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-25 06:21:58 +00:00
perf: 添加requirements
This commit is contained in:
parent
6459c20516
commit
baee71e4b8
9
requirements/lfs_requirements.sh
Normal file
9
requirements/lfs_requirements.sh
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
|
||||||
|
PROJECT_DIR=$(dirname "$BASE_DIR")
|
||||||
|
|
||||||
|
|
||||||
|
echo "下载 IP 数据库"
|
||||||
|
ip_db_path="${PROJECT_DIR}/apps/common/utils/geoip/GeoLite2-City.mmdb"
|
||||||
|
wget "https://download.jumpserver.org/files/GeoLite2-City.mmdb" -O "${ip_db_path}"
|
Loading…
Reference in New Issue
Block a user