feat: mycli/pgcli
This commit is contained in:
parent
0a703d3622
commit
045c636395
8
devel/my-pg-cli.sh
Normal file
8
devel/my-pg-cli.sh
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
DIR=$(dirname "$(readlink -f "$0")")
|
||||||
|
. "$DIR/../env.sh"
|
||||||
|
"$PDIR/devel/python.sh"
|
||||||
|
|
||||||
|
sudo pip install mycli
|
||||||
|
sudo pip install pgcli
|
|
@ -10,7 +10,8 @@ if in_china; then
|
||||||
# config pip mirror for CHINA
|
# config pip mirror for CHINA
|
||||||
echo "
|
echo "
|
||||||
[global]
|
[global]
|
||||||
index-url = https://mirrors.aliyun.com/pypi/simple
|
#index-url = https://mirrors.aliyun.com/pypi/simple
|
||||||
|
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
|
||||||
" | sed -r 's/^ *//' | sudo tee "/etc/pip.conf"
|
" | sed -r 's/^ *//' | sudo tee "/etc/pip.conf"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user