Toggle navigation
Toggle navigation
This project
Loading...
Sign in
전세계
/
FakerQuiz
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Ubuntu
2020-06-18 06:58:21 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9827a3fff6d11db31f1e762cac75e797191aa38c
9827a3ff
1 parent
e5ee66c1
파일: README.md 코드 강조 수정
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
10 deletions
README.md
README.md
View file @
9827a3f
# Faker Quiz
## 프로젝트 소개
Faker Quiz는 프로게이머 Faker 선수의 기록을 퀴즈로 출제해주는 LINE 챗봇입니다.
데이터 출처 :
[
롤 인벤 기록실
](
http://lol.inven.co.kr/dataninfo/proteam/progamer.php?code=135
)
## 설치 방법
1.
Repository를 clone합니다.
git clone http://khuhub.khu.ac.kr/2019102225/FakerQuiz.git
```
git clone http://khuhub.khu.ac.kr/2019102225/FakerQuiz.git
```
2.
FakerQuiz repo로 이동하여
[
letsencrypt
](
https://letsencrypt.org/ko/
)
를 clone합니다.
cd FakerQuiz/
git clone https://github.com/letsencrypt/letsencrypt
```
cd FakerQuiz/
git clone https://github.com/letsencrypt/letsencrypt
```
3.
SSL 인증서를 발급합니다.
./letsencrypt/letsencrypt-auto certonly
//도메인을 올바르게 입력해주세요.
```
./letsencrypt/letsencrypt-auto certonly
//도메인을 올바르게 입력해주세요.
```
4.
필요한 node module을 install합니다.
npm install
```
npm install
```
## 사용 방법
### 실행 방법
1.
[
LINE Developers
](
https://developers.line.biz/en/
)
에 접속하여 Messaging API channel을 생성합니다.
2.
Messaging API settings에서 Webhook URL을 설정하고 Use webhook을 enable합니다.
https://
*yourURL*
:23023/hook
```
https://[yourURL]:23023/hook
```
3.
Channel access token을 발급받습니다.
4.
`app.js`
를 열어
`domain`
과
`TOKEN`
을 입력합니다.
5.
`app.js`
를 실행하고 Webhook URL을 Verify합니다.
node app.js
//LINE Developers에서 Verify
```
node app.js
//LINE Developers에서 Verify
```
6.
LINE 채널을 친구추가하고 작동을 확인합니다.
### 다른 선수의 퀴즈 만들기
...
...
Please
register
or
login
to post a comment