-
Notifications
You must be signed in to change notification settings - Fork 0
/
histo
279 lines (279 loc) · 7.69 KB
/
histo
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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
1 ls
2 yum install sudo
3 exit
4 yum search mod-wsgi
5 locate mod-wsgi
6 find . -name mod-wsgi
7 find / -name mod-wsgi*
8 sudo find / -name mod-wsgi*
9 sudo su
10 pwd
11 ll
12 rm -rf ninaval/
13 git clone [email protected]:savon_noir/ninaval.git
14 git clone https://[email protected]/savon_noir/ninaval.git
15 ll
16 mysql
17 sudo su
18 cd ninaval/src/NiNaval/
19 python manage.py syncdb
20 ll
21 pwd
22 cd ..
23 ll
24 ls -al
25 git fetch
26 git merge
27 git merge remote
28 git merge origin
29 ll
30 cd -
31 cd NiNaval/
32 ll
33 vim settings.py
34 vi settings.py
35 python manage.py syncdb
36 export LC_ALL=en_US.UTF-8
37 python manage.py syncdb
38 python manage.py syncdb --help
39 python manage.py runserver
40 ll
41 vim settings.py
42 vi settings.py
43 python manage.py runserver
44 history
45 sudo su
46 local
47 locale
48 cd /tmp/vagrant-puppet/modules-0/epel/
49 ll
50 cd ..
51 cat /etc/environment
52 man /etc/environment
53 locale-gen
54 cd
55 ll
56 cd mysite/
57 l
58 ll
59 python manage.py runserver
60 ll
61 ci mysite/settings.py
62 vi mysite/settings.py
63 python manage.py syncdb
64 python manage.py startapp polls
65 ll
66 fil db.sqlite
67 file db.sqlite
68 head db.sqlite
69 less db.sqlite
70 vi polls/models.py
71 l polls/
72 ll polls/
73 vi mysite/settings.py
74 python manage.py sql polls
75 python manage.py validate
76 python manage.py sqlcustom polls
77 python manage.py sql polls
78 python manage.py sqlclear polls
79 python manage.py sqlindexes polls
80 python manage.py sqlall polls
81 python manage.py syncdb
82 python manage.py shell
83 ll
84 vi polls/models.py
85 python manage.py shell
86 vi polls/models.py
87 python manage.py shell
88 ll
89 vi mysite/urls.py
90 python manage.py runserver
91 vi mysite/urls.py
92 python manage.py syncdb
93 python manage.py runserver
94 vi mysite/settings.py
95 python manage.py runserver
96 manage.py createsuperuser --username=mike
97 python manage.py createsuperuser --username=mike
98 python manage.py runserver
99 ll
100 cd polls/
101 ll
102 vi admin.py
103 cd ..
104 python manage.py runserver
105 vi polls/admin.py
106 python manage.py runserver
107 vi polls/admin.py
108 python manage.py runserver
109 vi polls/admin.py
110 python manage.py runserver
111 vi polls/admin.py
112 python manage.py runserver
113 vi polls/models.py
114 python manage.py runserver
115 vi polls/admin.py
116 python manage.py runserver
117 ll
118 ll mysite/
119 vi mysite/settings.py
120 ll
121 mkdir templates
122 ll
123 cd templates/
124 pwd
125 cd ..
126 vi mysite/settings.py
127 locate django/contrib/admin/templates/admin/base_site.html
128 find / -name django/contrib/admin/templates/admin/base_site.html
129 find / -name *django/contrib/admin/templates/admin/base_site.html
130 sudo find / -name *django/contrib/admin/templates/admin/base_site.html
131 which django-admin.py
132 pip
133 pip help
134 pip search . | egrep -B1 'INSTALLED|LATEST'
135 sudo find / -name site-packages
136 cp /usr/lib/python2.6/site-packages/django/contrib/admin/templates/admin/base_site.html ./templates/
137 ll
138 ll templates/
139 mkdir templates/admin
140 mv templates/base_site.html templates/admin/
141 vi templates/admin/base_site.html
142 python manage.py runserver
143 ll
144 vi templates/admin/base_site.html
145 python manage.py runserver
146 cp /usr/lib/python2.6/site-packages/django/contrib/admin/templates/admin/index.html templates/admin/index.html
147 vi templates/admin/index.html
148 python manage.py runserver
149 ll
150 ll mysite/urls.py
151 vi mysite/urls.py
152 python manage.py runserver
153 vi polls/views.py
154 python manage.py runserver
155 vi polls/views.py
156 vi mysite/urls.py
157 python manage.py runserver
158 vi polls/views.py
159 python manage.py runserver
160 vi polls/views.py
161 python manage.py runserver
162 vi polls/views.py
163 ll
164 cd templates/
165 ll
166 mkdir poll
167 mv poll/ polls
168 vi polls/index.html
169 cd ..
170 python manage.py runserver
171 vi polls/views.py
172 python manage.py runserver
173 ll
174 ll polls/
175 vi polls/views.py
176 vi templates/polls/detail.html
177 python manage.py runserver
178 vi polls/views.py
179 python manage.py runserver
180 vi polls/views.py
181 python manage.py runserver
182 vi templates/polls/detail.html
183 python manage.py runserver
184 ll
185 vi mysite/urls.py
186 python manage.py runserver
187 cp mysite/urls.py polls/
188 vi mysite/urls.py
189 cat polls/urls.py
190 vim polls/urls.py
191 vi polls/urls.py
192 python manage.py runserver
193 vi templates/polls/detail.html
194 python manage.py runserver
195 vi polls/views.py
196 python manage.py runserver
197 vi polls/views.py
198 python manage.py runserver
199 vi polls/views.py
200 vi templates/polls/results.html
201 python manage.py runserver
202 pwd
203 ll
204 cd ..
205 ll
206 cd mysite/
207 git init
208 git status
209 git add -A
210 git status
211 git commit -m "first commit in the middle of the part 4 of the django tutorial"
212 git remote add origin [email protected]:bmx0r/django-tuto.git
213 git push -u origin master
214 vi /home/vagrant/.ssh/id_rsa
215 ssh-add
216 ssh-add /home/vagrant/.ssh/id_rsa
217 chmod 700 /home/vagrant/.ssh/id_rsa
218 ssh-agent
219 SSH_AUTH_SOCK=/tmp/ssh-iAtfP22391/agent.22391; export SSH_AUTH_SOCK;
220 SSH_AGENT_PID=22392; export SSH_AGENT_PID;
221 echo Agent pid 22392;
222 ssh-add /home/vagrant/.ssh/id_rsa
223 git push -u origin master
224 git status
225 git log
226 git reset 94030b64242a577ffaf9438d2d896dea55742b9a
227 git status
228 git commit -m "erroooor"
229 ll
230 ls -al
231 git branch -D master
232 ll
233 rm -rf .git/
234 ll
235 git init
236 vi .gitignore
237 git status
238 vi .gitignore
239 git status
240 git commit -m "in the middle of part 4 of django's tuto"
241 git add -A
242 git commit -m "in the middle of part 4 of django's tuto"
243 git push -u origin master
244 git remote add origin [email protected]:bmx0r/django-tuto.git
245 git push -u origin master
246 git remote add origin [email protected]:bmx0r/django2-tuto.git
247 git remote remove
248 git remote remove origin
249 git remote set origin [email protected]:bmx0r/django2-tuto.git
250 git remote set-utl origin [email protected]:bmx0r/django2-tuto.git
251 vi .git/config
252 git push -u origin master
253 vi .git/config
254 git remote add origin [email protected]:bmx0r/django-tuto2.git
255 vi .git/config
256 git remote add origin [email protected]:bmx0r/django-tuto2.git
257 git stauts
258 git status
259 git push -u origin master
260 git brach
261 git branch
262 git branch -b tuto4
263 git branch tuto4
264 git branch
265 git checkout tuto4
266 ll
267 python manage.py runserver
268 vi polls/urls.py
269 python manage.py runserver
270 vi polls/views.py
271 python manage.py runserver
272 vi polls/views.py
273 python manage.py runserver
274 git status
275 git commit -a -m "end of tuto"
276 git commit -m "end of tuto"
277 git push -u origin master
278 history |less
279 history > histo