-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathLinux.sh
More file actions
39 lines (25 loc) · 905 Bytes
/
Linux.sh
File metadata and controls
39 lines (25 loc) · 905 Bytes
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
29
30
31
32
33
34
35
36
37
38
39
#!/bin/bash
echo OFF
echo .:::::::::::::::::::::::::::::::::::::::::::::::::
echo .::
echo .:: 接口测试
echo .::
echo .:: 作者: 李涛
echo .::
echo .:: 版本 V1.0.0
echo .::
echo .:: 时间 2018.11.10
echo .::
echo .:::::::::::::::::::::::::::::::::::::::::::::::::
echo .[ INFO ] 运行环境准备
# 从配置文件中安装环境依赖库i
if [ -f requirements.txt ];
then
pip install -r requirements.txt
fi
if [ ! -f requirements.txt ];
then
echo requirements.txt does not exist
fi
echo .[INFO] 运行脚本
python3 main.py