Showing
2 changed files
with
58 additions
and
0 deletions
LICENSE.txt
0 → 100644
1 | +MIT License | ||
2 | + | ||
3 | +Copyright (c) 2020 전세계 | ||
4 | + | ||
5 | +Permission is hereby granted, free of charge, to any person obtaining a copy | ||
6 | +of this software and associated documentation files (the "Software"), to deal | ||
7 | +in the Software without restriction, including without limitation the rights | ||
8 | +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
9 | +copies of the Software, and to permit persons to whom the Software is | ||
10 | +furnished to do so, subject to the following conditions: | ||
11 | + | ||
12 | +The above copyright notice and this permission notice shall be included in all | ||
13 | +copies or substantial portions of the Software. | ||
14 | + | ||
15 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
16 | +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
17 | +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
18 | +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
19 | +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
20 | +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
21 | +SOFTWARE. | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
README.md
0 → 100644
1 | +# Faker Quiz | ||
2 | +## 프로젝트 소개 | ||
3 | +Faker Quiz는 프로게이머 Faker 선수의 기록을 퀴즈로 출제해주는 LINE 챗봇입니다. | ||
4 | + | ||
5 | +데이터 출처 : [롤 인벤 기록실](http://lol.inven.co.kr/dataninfo/proteam/progamer.php?code=135) | ||
6 | + | ||
7 | +## 설치 방법 | ||
8 | +1. Repository를 clone합니다. | ||
9 | + git clone http://khuhub.khu.ac.kr/2019102225/FakerQuiz.git | ||
10 | +2. FakerQuiz repo로 이동하여 [letsencrypt](https://letsencrypt.org/ko/)를 clone합니다. | ||
11 | + cd FakerQuiz/ | ||
12 | + git clone https://github.com/letsencrypt/letsencrypt | ||
13 | +3. SSL 인증서를 발급합니다. | ||
14 | + ./letsencrypt/letsencrypt-auto certonly | ||
15 | + //도메인을 올바르게 입력해주세요. | ||
16 | +4. 필요한 node module을 install합니다. | ||
17 | + npm install | ||
18 | + | ||
19 | +## 사용 방법 | ||
20 | +### 실행 방법 | ||
21 | +1. [LINE Developers](https://developers.line.biz/en/)에 접속하여 Messaging API channel을 생성합니다. | ||
22 | +2. Messaging API settings에서 Webhook URL을 설정하고 Use webhook을 enable합니다. | ||
23 | + https://*yourURL*:23023/hook | ||
24 | +3. Channel access token을 발급받습니다. | ||
25 | +4. `app.js`를 열어 `domain`과 `TOKEN`을 입력합니다. | ||
26 | +5. `app.js`를 실행하고 Webhook URL을 Verify합니다. | ||
27 | + node app.js | ||
28 | + //LINE Developers에서 Verify | ||
29 | +6. LINE 채널을 친구추가하고 작동을 확인합니다. | ||
30 | + | ||
31 | +### 다른 선수의 퀴즈 만들기 | ||
32 | +1. [롤 인벤 기록실](http://lol.inven.co.kr/dataninfo/match/playerList.php)에서 원하는 선수의 기록실 링크를 복사합니다. | ||
33 | +2. `app.js`에서 `url`을 복사한 링크로 교체합니다. | ||
34 | +3. 위의 실행 과정을 수행합니다. | ||
35 | + | ||
36 | +## 라이센스 | ||
37 | +MIT License에 따라 배포됩니다. 자세한 내용은 `LICENSE`를 확인하세요. | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or login to post a comment