-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
57 lines (26 loc) · 1.02 KB
/
setup.sh
File metadata and controls
57 lines (26 loc) · 1.02 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# GREEN='\033[0;32m'
# echo [$(date)]: "START"
# echo [$(date)]: "=========================="
# echo [$(date)]: "Creating a new Environment"
# conda create --prefix ./eth_env python==3.9 -y
# echo [$(date)]: "Environment created with name 'eth_env'"
# echo [$(date)]: "Activate the conda eth_env"
# echo [$(date)]: "---------- Environment Live ----------"
# echo [$(date)]: ""
# echo [$(date)]: "Installing required Libraries. Please wait ..."
# echo [$(date)]: ""
# pip install -r requirements.txt
# echo -e "${GREEN}\nLibraries Installed Successfully."
# echo [$(date)] "================================="
# echo [$(date)]: "END"
echo [$(date)]: 'START'
echo [$(date)]: 'Creating conda env with python 3.9'
conda create --prefix ./eth_env python=3.9 -y
echo [$(date)]: 'activate env'
source activate ./eth_env
echo [$(date)]: 'installing TA-LIB'
conda install -c conda-forge ta-lib -y
echo [$(date)]: 'installing requirements'
pip3 install -r requirements.txt
echo [$(date)]: 'Setup END'
#RUN : bash setup.sh