mirror of https://github.com/jumpserver/jumpserver
perf: 修改脚步
parent
d9663036f8
commit
4276ddc2cc
|
@ -3,7 +3,9 @@ BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
|
||||||
PROJECT_DIR=$(dirname "$BASE_DIR")
|
PROJECT_DIR=$(dirname "$BASE_DIR")
|
||||||
|
|
||||||
echo "1. 安装依赖"
|
echo "1. 安装依赖"
|
||||||
brew install libtiff libjpeg webp little-cms2 openssl gettext git git-lfs mysql libxml2 libxmlsec1 pkg-config postgresql freetds openssl
|
brew install libtiff libjpeg webp little-cms2 openssl gettext git \
|
||||||
|
git-lfs mysql libxml2 libxmlsec1 pkg-config postgresql freetds openssl \
|
||||||
|
libffi
|
||||||
|
|
||||||
echo "2. 下载 IP 数据库"
|
echo "2. 下载 IP 数据库"
|
||||||
ip_db_path="${PROJECT_DIR}/apps/common/utils/geoip/GeoLite2-City.mmdb"
|
ip_db_path="${PROJECT_DIR}/apps/common/utils/geoip/GeoLite2-City.mmdb"
|
||||||
|
@ -11,3 +13,10 @@ wget "https://download.jumpserver.org/files/GeoLite2-City.mmdb" -O "${ip_db_path
|
||||||
|
|
||||||
echo "3. 安装依赖的插件"
|
echo "3. 安装依赖的插件"
|
||||||
git lfs install
|
git lfs install
|
||||||
|
|
||||||
|
if ! uname -a | grep 'ARM64' &> /dev/null;then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "4. For Apple processor"
|
||||||
|
LDFLAGS="-L$(brew --prefix freetds)/lib -L$(brew --prefix openssl@1.1)/lib" CFLAGS="-I$(brew --prefix freetds)/include" pip install $(grep 'pymssql' requirements.txt)
|
||||||
|
|
|
@ -4,7 +4,7 @@ asn1crypto==0.24.0
|
||||||
bcrypt==3.1.4
|
bcrypt==3.1.4
|
||||||
billiard==3.6.4.0
|
billiard==3.6.4.0
|
||||||
certifi==2018.1.18
|
certifi==2018.1.18
|
||||||
cffi==1.13.2
|
cffi==1.15.1
|
||||||
chardet==3.0.4
|
chardet==3.0.4
|
||||||
configparser==3.5.0
|
configparser==3.5.0
|
||||||
decorator==4.1.2
|
decorator==4.1.2
|
||||||
|
@ -23,7 +23,7 @@ paramiko==2.11.0
|
||||||
passlib==1.7.4
|
passlib==1.7.4
|
||||||
pyasn1==0.4.8
|
pyasn1==0.4.8
|
||||||
pycparser==2.21
|
pycparser==2.21
|
||||||
cryptography==36.0.1
|
cryptography==37.0.4
|
||||||
pycryptodome==3.15.0
|
pycryptodome==3.15.0
|
||||||
pycryptodomex==3.15.0
|
pycryptodomex==3.15.0
|
||||||
gmssl==3.2.1
|
gmssl==3.2.1
|
||||||
|
@ -130,7 +130,7 @@ mysqlclient==2.1.0
|
||||||
PyMySQL==1.0.2
|
PyMySQL==1.0.2
|
||||||
oracledb==1.0.1
|
oracledb==1.0.1
|
||||||
psycopg2-binary==2.9.1
|
psycopg2-binary==2.9.1
|
||||||
pymssql==2.1.5
|
pymssql==2.2.5
|
||||||
django-mysql==3.9.0
|
django-mysql==3.9.0
|
||||||
django-redis==5.2.0
|
django-redis==5.2.0
|
||||||
python-redis-lock==3.7.0
|
python-redis-lock==3.7.0
|
||||||
|
@ -141,4 +141,3 @@ ForgeryPy3==0.3.1
|
||||||
django-debug-toolbar==3.5
|
django-debug-toolbar==3.5
|
||||||
Pympler==1.0.1
|
Pympler==1.0.1
|
||||||
IPy==1.1
|
IPy==1.1
|
||||||
IPy==1.1
|
|
||||||
|
|
Loading…
Reference in New Issue