Showing
1 changed file
with
15 additions
and
13 deletions
1 | # Faker Quiz | 1 | # Faker Quiz |
2 | 2 | ||
3 | +[TOC] | ||
4 | + | ||
3 | ## 1. 프로젝트 소개 | 5 | ## 1. 프로젝트 소개 |
4 | Faker Quiz는 프로게이머 Faker 선수의 기록을 퀴즈로 출제해주는 LINE 챗봇입니다.<br><br> | 6 | Faker Quiz는 프로게이머 Faker 선수의 기록을 퀴즈로 출제해주는 LINE 챗봇입니다.<br><br> |
5 | 데이터 출처 : [롤 인벤 기록실](http://lol.inven.co.kr/dataninfo/proteam/progamer.php?code=135) | 7 | 데이터 출처 : [롤 인벤 기록실](http://lol.inven.co.kr/dataninfo/proteam/progamer.php?code=135) |
6 | 8 | ||
7 | ## 2. 설치 방법 | 9 | ## 2. 설치 방법 |
8 | -1.Repository를 clone합니다. | 10 | +**1.** Repository를 clone합니다. |
9 | 11 | ||
10 | ``` | 12 | ``` |
11 | $ git clone http://khuhub.khu.ac.kr/2019102225/FakerQuiz.git | 13 | $ git clone http://khuhub.khu.ac.kr/2019102225/FakerQuiz.git |
12 | ``` | 14 | ``` |
13 | 15 | ||
14 | -2.FakerQuiz repo로 이동하여 [letsencrypt](https://letsencrypt.org/ko/)를 clone합니다. | 16 | +**2.** FakerQuiz repo로 이동하여 [letsencrypt](https://letsencrypt.org/ko/)를 clone합니다. |
15 | 17 | ||
16 | ``` | 18 | ``` |
17 | $ cd FakerQuiz/ | 19 | $ cd FakerQuiz/ |
18 | $ git clone https://github.com/letsencrypt/letsencrypt | 20 | $ git clone https://github.com/letsencrypt/letsencrypt |
19 | ``` | 21 | ``` |
20 | 22 | ||
21 | -3.SSL 인증서를 발급합니다. | 23 | +**3.** SSL 인증서를 발급합니다. |
22 | 24 | ||
23 | ``` | 25 | ``` |
24 | $ ./letsencrypt/letsencrypt-auto certonly | 26 | $ ./letsencrypt/letsencrypt-auto certonly |
25 | ``` | 27 | ``` |
26 | 28 | ||
27 | -4.필요한 node module을 install합니다. | 29 | +**4.** 필요한 node module을 install합니다. |
28 | 30 | ||
29 | ``` | 31 | ``` |
30 | $ npm install | 32 | $ npm install |
... | @@ -32,27 +34,27 @@ $ npm install | ... | @@ -32,27 +34,27 @@ $ npm install |
32 | 34 | ||
33 | ## 3. 사용 방법 | 35 | ## 3. 사용 방법 |
34 | ### 3-1. 실행 방법 | 36 | ### 3-1. 실행 방법 |
35 | -1.[LINE Developers](https://developers.line.biz/en/)에 접속하여 Messaging API channel을 생성합니다. | 37 | +**1.** [LINE Developers](https://developers.line.biz/en/)에 접속하여 Messaging API channel을 생성합니다. |
36 | -2.Messaging API settings에서 Webhook URL을 설정하고 Use webhook을 enable합니다. | 38 | +**2.** Messaging API settings에서 Webhook URL을 설정하고 Use webhook을 enable합니다. |
37 | 39 | ||
38 | ``` | 40 | ``` |
39 | https://[yourURL]:23023/hook | 41 | https://[yourURL]:23023/hook |
40 | ``` | 42 | ``` |
41 | 43 | ||
42 | -3.Channel access token을 발급받습니다. | 44 | +**3.** Channel access token을 발급받습니다. |
43 | -4.`app.js`를 열어 `domain`과 `TOKEN`을 입력합니다. | 45 | +**4.** `app.js`를 열어 `domain`과 `TOKEN`을 입력합니다. |
44 | -5.`app.js`를 실행하고 Webhook URL을 Verify합니다. | 46 | +**5.** `app.js`를 실행하고 Webhook URL을 Verify합니다. |
45 | 47 | ||
46 | ``` | 48 | ``` |
47 | $ node app.js | 49 | $ node app.js |
48 | ``` | 50 | ``` |
49 | 51 | ||
50 | -6.LINE 채널을 친구추가하고 작동을 확인합니다. | 52 | +**6.** LINE 채널을 친구추가하고 작동을 확인합니다. |
51 | 53 | ||
52 | ### 3-2. 다른 선수의 퀴즈 만들기 | 54 | ### 3-2. 다른 선수의 퀴즈 만들기 |
53 | -1.[롤 인벤 기록실](http://lol.inven.co.kr/dataninfo/match/playerList.php)에서 원하는 선수의 기록실 링크를 복사합니다. | 55 | +**1.** [롤 인벤 기록실](http://lol.inven.co.kr/dataninfo/match/playerList.php)에서 원하는 선수의 기록실 링크를 복사합니다. |
54 | -2.`app.js`에서 `url`을 복사한 링크로 교체합니다. | 56 | +**2.** `app.js`에서 `url`을 복사한 링크로 교체합니다. |
55 | -3.[3-1](http://khuhub.khu.ac.kr/2019102225/FakerQuiz#3-1-%EC%8B%A4%ED%96%89-%EB%B0%A9%EB%B2%95)의 실행 과정을 수행합니다. | 57 | +**3.** [3-1](http://khuhub.khu.ac.kr/2019102225/FakerQuiz#3-1-%EC%8B%A4%ED%96%89-%EB%B0%A9%EB%B2%95)의 실행 과정을 수행합니다. |
56 | 58 | ||
57 | ## 4. 라이센스 | 59 | ## 4. 라이센스 |
58 | MIT License에 따라 배포됩니다. 자세한 내용은 `LICENSE`를 확인하세요.<br> | 60 | MIT License에 따라 배포됩니다. 자세한 내용은 `LICENSE`를 확인하세요.<br> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment