-
Notifications
You must be signed in to change notification settings - Fork 7
/
README
71 lines (46 loc) · 1.21 KB
/
README
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
Ugh!
test cases depends my site, http://image.backgammonbase.com
To be fixed.
How to start:
=============
1) create dir usr under dir which contains Makefile.
2) prepare app.yaml under usr/ with "application" and "version' , change it as you want
--(quote)--
application: <place your app id here>
version: 1
--(end of quote)--
3) build.
% make app
4) deploy or test, what ever you want.
How to run locally:
===================
1) invoke dev_appserver with...
% make start_dev_server
How to deploy:
==============
1) make install.
% make install
authetication on google account will occur.
How to run test:
================
1) start stub server.
% make start_stubd
it blocks. I recommend to open another terminal.
2) evoke test.
% make test
How to collect info from existing sites:
========================================
1) specify sites and there entry points by editing crawl.yaml in usr/
something like:
- name: www.google.com
url:
- http://www.google.com/
- http://www.google.co.jp/
- name: www.yahoo.com
url:
- http://www.yahoo.com/
2) invoke crawler. it may teke long time. :P
% make crawl
3) then, let it guess web site structure.
% make guess
4) you will have "guess.yaml" in usr.