forked from devCorpsOrg/uddipan-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bash_history
163 lines (163 loc) · 2.65 KB
/
.bash_history
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
clear
ls
git -v
clear
git clone https://github.com/devCorpsOrg/uddipan-project.git
clear
ls
clear
ls
cd uddipan-project/uddipan/uddipan-project/
ls
git status
git pull
clear
ls
apt install node
apt install nodejs
node -v
apt install npm
pm2 status
pm2 update
clear
apt update
clear
ls
cd uddipan-project/uddipan/uddipan-project/
ls
python3 main_linux.py
pip install -r requirements.txt
apt install python3-pip
clear
python3 main_linux.py
pip install selenium
python3 main_linux.py
pip install webdriver_manager
python3 main_linux.py
pip install -r requirements.txt
python3 main_linux.py
clear
cd uddipan-project/uddipan/uddipan-project/
cd scrapper/
clear
ls
python3 dbconn.py
clear
ccd uddipan-project/uddipan/uddipan-project/
lear
clear
cd uddipan-project/uddipan/uddipan-project/
clear
ls
clear
git pull https://github.com/devCorpsOrg/uddipan-project.git
git pull main
git init
git pull https://github.com/devCorpsOrg/uddipan-project.git
ccd uddipan-project/uddipan/uddipan-project/
cd uddipan-project/uddipan/uddipan-project/
ls
cd ..
ls
cd ..
ls
cd ..
ld
ls
cd scraper-server/
ls
cd uddipan/uddipan-project/
ls
python3 wsgi.py
pip install flask
python3 wsgi.py
pip install flask_mysqldb
cat main.py
clear
nano main.py
python3 wsgi.py
pip install flask-mysqldb
python3 wsgi.py
apt-get install python3.6-dev libmysqlclient-dev
clear
ls
cd scraper-server/
cd uddipan/uddipan-project/
ls
python3 wsgi.py
pip install flask_mysqldb
pip install mysqlclient
apt-get install mysql-server
apt-get install libmysqlclient-dev
pip install flask_mysqldb
python3 wsgi.py
pip install loguru
python3 wsgi.py
pip install apscheduler
python3 wsgi.p
python3 wsgi.py
pip install mysql-connector-python
python3 wsgi.py
pip install flask
python3 wsgi.py
nano main
nano main.py
python3 wsgi.py
python3 main_linux.py
apt install chromium-chromedriver
cp /usr/lib/chromium-browser/chromedriver /usr/bin
python3 main_linux.py
clear
pm2 start main_linux.py --name scrapper --interpreter python3 --restart-delay=100000
pm2 stop scrapper
python3 wsgi.py
top
ls
cat main
nano main.py
clear
python3 wsgi.py
cleear
clear
l
cd scrapper/
python3 dbconn.py
cat dbconn.py
clear
python3 dbconn.py
nano dbconn.py
clear
cd ..
pm2 start wsgi.py --name apiServer2 --interpreter python3
pm2 save
pm2 moonit
pm2 monit
clear
pm2 srapper stop
pm2 stop scrapper
cat main_linux.py
ccleear
clearclearc
cleear
clear
cat main.py
nano main.py
pm2 start wsgi.py apiServer2
pm2 start apiServer2
pm2 start scrapper
pm2 stop scrapper
pm2 start scrapper
clear
pm2 monit
clear
pm2 stop scrapper
cd uddipan-project/uddipan/uddipan-project/
ls
clear
ls
pm2 status
pm2 monit
pm2 status
service mysql status
pm2 status
service mysql restart