Showing
1 changed file
with
113 additions
and
100 deletions
1 | -<!-- | ||
2 | -*** Thanks for checking out the Best-README-Template. If you have a suggestion | ||
3 | -*** that would make this better, please fork the repo and create a pull request | ||
4 | -*** or simply open an issue with the tag "enhancement". | ||
5 | -*** Thanks again! Now go create something AMAZING! :D | ||
6 | ---> | ||
7 | 1 | ||
2 | +![MIT License][license-shield] | ||
8 | 3 | ||
9 | 4 | ||
10 | -<!-- PROJECT SHIELDS --> | ||
11 | -<!-- | ||
12 | -*** I'm using markdown "reference style" links for readability. | ||
13 | -*** Reference links are enclosed in brackets [ ] instead of parentheses ( ). | ||
14 | -*** See the bottom of this document for the declaration of the reference variables | ||
15 | -*** for contributors-url, forks-url, etc. This is an optional, concise syntax you may use. | ||
16 | -*** https://www.markdownguide.org/basic-syntax/#reference-style-links | ||
17 | ---> | ||
18 | -[![MIT License][license-shield]][license-url] | ||
19 | 5 | ||
6 | +# <center>개발자 채용 정보 챗봇</center> | ||
20 | 7 | ||
8 | + | ||
21 | 9 | ||
10 | +<!-- TABLE OF CONTENTS --> | ||
11 | +### 목차 | ||
12 | +1. 프로젝트에 대하여 | ||
13 | + - 사용한 프레임워크 | ||
14 | +2. 시작하기 전에 | ||
15 | + - 설치 전에 | ||
16 | + - 설치 | ||
17 | + - 리눅스 VM에서 오류 발생시 | ||
18 | +3. 사용법 | ||
19 | + - 챗봇 친구 추가 | ||
20 | + - 사용방법 | ||
21 | +4. 프로젝트 기여하는 방법 | ||
22 | +5. 라이센스 | ||
23 | +6. 연락처 | ||
22 | 24 | ||
23 | 25 | ||
24 | -<!-- TABLE OF CONTENTS --> | ||
25 | -<details open="open"> | ||
26 | - <summary>Table of Contents</summary> | ||
27 | - <ol> | ||
28 | - <li> | ||
29 | - <a href="#about-the-project">About The Project</a> | ||
30 | - <ul> | ||
31 | - <li><a href="#built-with">Built With</a></li> | ||
32 | - </ul> | ||
33 | - </li> | ||
34 | - <li> | ||
35 | - <a href="#getting-started">Getting Started</a> | ||
36 | - <ul> | ||
37 | - <li><a href="#prerequisites">Prerequisites</a></li> | ||
38 | - <li><a href="#installation">Installation</a></li> | ||
39 | - </ul> | ||
40 | - </li> | ||
41 | - <li><a href="#usage">Usage</a></li> | ||
42 | - <li><a href="#roadmap">Roadmap</a></li> | ||
43 | - <li><a href="#contributing">Contributing</a></li> | ||
44 | - <li><a href="#license">License</a></li> | ||
45 | - <li><a href="#contact">Contact</a></li> | ||
46 | - <li><a href="#acknowledgements">Acknowledgements</a></li> | ||
47 | - </ol> | ||
48 | -</details> | ||
49 | 26 | ||
50 | 27 | ||
51 | 28 | ||
52 | <!-- ABOUT THE PROJECT --> | 29 | <!-- ABOUT THE PROJECT --> |
53 | -## About The Project | 30 | +## <center>프로젝트에 대하여</center> |
31 | + | ||
32 | +------------- | ||
54 | 33 | ||
55 | 이 프로젝트는 개발자 채용정보를 알려주는 챗봇입니다. 현재 채용정보는 [네이버 채용](https://recruit.navercorp.com/naver/job/list/developer), [카카오 채용](https://careers.kakao.com/jobs), [프로그래머스 개발자 채용](https://programmers.co.kr/job) 등 다양한 홈페이지에 분산되어 있습니다. 분산되어 있는 정보를 하나로 묶어서 확인하는 것이 프로젝트의 목표입니다. 채용정보는 [네이버 채용](https://recruit.navercorp.com/naver/job/list/developer), [카카오 채용](https://careers.kakao.com/jobs), [프로그래머스 개발자 채용](https://programmers.co.kr/job) 에서 데이터를 가져와서 저장하고, 챗봇의 형태로 회사, 직군태그, 모집명을 통해 조회할 수 있습니다. | 34 | 이 프로젝트는 개발자 채용정보를 알려주는 챗봇입니다. 현재 채용정보는 [네이버 채용](https://recruit.navercorp.com/naver/job/list/developer), [카카오 채용](https://careers.kakao.com/jobs), [프로그래머스 개발자 채용](https://programmers.co.kr/job) 등 다양한 홈페이지에 분산되어 있습니다. 분산되어 있는 정보를 하나로 묶어서 확인하는 것이 프로젝트의 목표입니다. 채용정보는 [네이버 채용](https://recruit.navercorp.com/naver/job/list/developer), [카카오 채용](https://careers.kakao.com/jobs), [프로그래머스 개발자 채용](https://programmers.co.kr/job) 에서 데이터를 가져와서 저장하고, 챗봇의 형태로 회사, 직군태그, 모집명을 통해 조회할 수 있습니다. |
56 | 35 | ||
... | @@ -61,7 +40,7 @@ | ... | @@ -61,7 +40,7 @@ |
61 | - 채팅 앱 | 40 | - 채팅 앱 |
62 | - [라인](https://line.me/ko/) | 41 | - [라인](https://line.me/ko/) |
63 | 42 | ||
64 | -### Built With | 43 | +### 사용한 프레임워크 |
65 | 44 | ||
66 | * [express](https://getbootstrap.com) | 45 | * [express](https://getbootstrap.com) |
67 | 46 | ||
... | @@ -69,110 +48,144 @@ | ... | @@ -69,110 +48,144 @@ |
69 | 48 | ||
70 | <!-- GETTING STARTED --> | 49 | <!-- GETTING STARTED --> |
71 | 50 | ||
72 | -## Getting Started | 51 | +## <center>시작하기 전에</center> |
73 | 52 | ||
74 | -This is an example of how you may give instructions on setting up your project locally. | 53 | +-------------------- |
75 | -To get a local copy up and running follow these simple example steps. | ||
76 | 54 | ||
77 | -### Prerequisites | 55 | +### 설치 전에 |
78 | 56 | ||
79 | * npm | 57 | * npm |
80 | - ```sh | 58 | + ``` |
81 | - npm install | 59 | + npm install npm@latest -g |
82 | ``` | 60 | ``` |
83 | 61 | ||
84 | -### Installation | 62 | +### 설치 |
85 | 63 | ||
86 | -1. Get a free API Key at [Line Developers](https://developers.line.biz/en/) | 64 | +1. [Line Developers](https://developers.line.biz/en/)에서 TOKEN키를 받아옵니다. |
87 | -2. Clone the repo | 65 | +2. 레포지토리를 클론합니다. |
88 | - ```sh | 66 | + ``` |
89 | git clone http://khuhub.khu.ac.kr/2017103961/Recruitment_Information_chatbot | 67 | git clone http://khuhub.khu.ac.kr/2017103961/Recruitment_Information_chatbot |
90 | ``` | 68 | ``` |
91 | -3. Install NPM packages | 69 | +3. NPM package들을 설치합니다. |
92 | - ```sh | 70 | + ``` |
93 | npm install | 71 | npm install |
94 | ``` | 72 | ``` |
95 | -4. Enter your API in `config.js` | 73 | +4. config.js 파일을 프로젝트 디렉토리에 생성하고 아래 코드를 입력합니다. domain 과 TOKEN에는 본인의 도메인과 토큰을 입력합니다. |
96 | - ```JS | 74 | + ```javascript |
97 | - const API_KEY = 'ENTER YOUR API'; | 75 | + const domain = "ENTER YOUR DOMAIN" |
76 | + const TOKEN = "ENTER YOUR TOKEN" | ||
77 | + module.exports={domain : domain,TOKEN : TOKEN} | ||
78 | + ``` | ||
79 | +5. datas 디렉토리를 프로젝트 디렉토리에 생성합니다. | ||
80 | + | ||
81 | +### 리눅스 VM에서 오류 발생시 | ||
82 | + | ||
83 | +이 프로젝트에서 사용하고 있는 puppeteer은 실제 GUI 환경의 브라우저(Chromium)를 구동해서 웹페이이제 접속하고 클릭을 수행하는 패키지이다. | ||
84 | + | ||
85 | +따라서 AWS를 통해 프로젝트를 실행하려고 하면 오류가 발생할수 있다. | ||
86 | + | ||
87 | +puppeteer에서 오류가 발생하면 다음과 같이 하면된다. | ||
88 | +#### 해결책 1 | ||
89 | + | ||
90 | +1. puppeteer, puppeteer-core 설치 | ||
91 | + ``` | ||
92 | + sudo npm install puppeteer | ||
93 | + sudo npm install puppeteer-core | ||
94 | + ``` | ||
95 | +#### 해결책 2 | ||
96 | + | ||
97 | +해결책 1로 해결이 안된 경우는 puppeteer 구동에 필요한 것들이 충분히 설치되지 않아서 일 수 도 있습니다. | ||
98 | + | ||
99 | +1. 필요 라이브러리 설치, OS에 맞는 라이브러리를 설치 (아래 예시 코드는 Ubuntu 18.04.5 LTS 기반) | ||
98 | ``` | 100 | ``` |
101 | + sudo apt-get install gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget libgbm1 | ||
102 | + ``` | ||
103 | +#### [출처 및 더 자세한 정보](https://curryyou.tistory.com/222) | ||
99 | 104 | ||
100 | 105 | ||
101 | 106 | ||
102 | <!-- USAGE EXAMPLES --> | 107 | <!-- USAGE EXAMPLES --> |
103 | -## Usage | ||
104 | 108 | ||
105 | -추가 예정 | ||
106 | 109 | ||
107 | 110 | ||
111 | +## <center>사용법</center> | ||
112 | +-------------- | ||
113 | + | ||
114 | +### 챗봇 친구추가 | ||
115 | + | ||
116 | +1. line 친구 찾기로 이동합니다. | ||
117 | +2. 아이디 @810mftdd 입력합니다. | ||
118 | +3. 개발자 채용정보 챗봇을 친구 추가합니다. | ||
119 | + | ||
120 | + | ||
121 | + | ||
122 | +### 사용방법 | ||
108 | 123 | ||
109 | -<!-- ROADMAP --> | 124 | +1. 키워드 입력 |
110 | -## Roadmap | ||
111 | 125 | ||
112 | -추가예정 | 126 | +3. 챗봇이 보내는 회사명으로 검색하기, 태그로 검색하기, 제목으로 검색하기 중 원하는 기능을 선택합니다. |
113 | 127 | ||
128 | + 1. 회사명으로 검색하기를 선택한 경우 키워드를 포함한 회사명을 갖고 있는 채용정보를 출력합니다. | ||
129 | + 2. 태그로 검색하기를 선택한 경우 채용정보의 태그로 키워드를 포함하고있는 채용정보를 출력합니다. | ||
130 | + 3. 제목으로 검색하기를 선택한 경우 키워드를 포함한 제목을 가지고 있는 채용정보를 출력합니다. | ||
131 | + | ||
132 | +3. 채용정보 출력 (최대 4개) | ||
114 | 133 | ||
134 | +4. 채용정보가 더 존재한다면 다음보기 버튼이 노출되며, 다음보기 버튼을 누르면 이어서 채용정보를 출력합니다. | ||
135 | + | ||
136 | +5. 다른 키워드로 검색을 하고 싶다면, 새로운 키워드를 입력하고 사용 방법 2번 부터 다시 진행합니다. | ||
137 | + | ||
138 | +키워드 입력 | ||
139 | +{: width="25%" height="25%"} | ||
140 | +선택지 | ||
141 | +{: width="25%" height="25%"} | ||
142 | +결과 | ||
143 | +{: width="25%" height="25%"} | ||
144 | +결과가 없을 때 | ||
145 | +{: width="25%" height="25%"} | ||
146 | + | ||
147 | + | ||
115 | 148 | ||
116 | <!-- CONTRIBUTING --> | 149 | <!-- CONTRIBUTING --> |
117 | -## Contributing | ||
118 | 150 | ||
119 | -Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**. | 151 | +## <center>프로젝트에 기여하는 방법</center> |
120 | 152 | ||
121 | -1. Fork the Project | 153 | +------------------- |
122 | -2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`) | ||
123 | -3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`) | ||
124 | -4. Push to the Branch (`git push origin feature/AmazingFeature`) | ||
125 | -5. Open a Pull Request | ||
126 | 154 | ||
155 | +1. 프로젝트를 Fork 합니다. | ||
156 | +2. 사용할 Feature Bracnh를 생성합니다.(`git checkout -b feature/AmazingFeature`) | ||
157 | +3. 변경사항을 Commit 합니다. (`git commit -m 'Add some AmazingFeature'`) | ||
158 | +4. Branch로 Push 합니다. (`git push origin feature/AmazingFeature`) | ||
159 | +5. Pull Request를 보냅니다. | ||
160 | + | ||
127 | 161 | ||
128 | 162 | ||
129 | <!-- LICENSE --> | 163 | <!-- LICENSE --> |
130 | -## License | ||
131 | 164 | ||
132 | -Distributed under the MIT License. See `LICENSE` for more information. | 165 | +## <center>라이센스</center> |
166 | +--------------------- | ||
167 | +MIT License. | ||
133 | 168 | ||
134 | 169 | ||
135 | 170 | ||
136 | <!-- CONTACT --> | 171 | <!-- CONTACT --> |
137 | -## Contact | ||
138 | 172 | ||
139 | -kimdaeseon@khu.ac.kr | 173 | +## <center>연락처</center> |
140 | 174 | ||
141 | -Project Link: [http://khuhub.khu.ac.kr/2017103961/Recruitment_Information_chatbot](http://khuhub.khu.ac.kr/2017103961/Recruitment_Information_chatbot) | 175 | +------------------------ |
176 | + | ||
177 | +kimdaeseon@khu.ac.kr | ||
178 | + | ||
179 | +Project Link: [http://khuhub.khu.ac.kr/2017103961/Recruitment_Information_chatbot](http://khuhub.khu.ac.kr/2017103961/Recruitment_Information_chatbot) | ||
142 | 180 | ||
143 | 181 | ||
144 | 182 | ||
145 | -<!-- ACKNOWLEDGEMENTS --> | ||
146 | 183 | ||
147 | -## Acknowledgements | ||
148 | -* [GitHub Emoji Cheat Sheet](https://www.webpagefx.com/tools/emoji-cheat-sheet) | ||
149 | -* [Img Shields](https://shields.io) | ||
150 | -* [Choose an Open Source License](https://choosealicense.com) | ||
151 | -* [GitHub Pages](https://pages.github.com) | ||
152 | -* [Animate.css](https://daneden.github.io/animate.css) | ||
153 | -* [Loaders.css](https://connoratherton.com/loaders) | ||
154 | -* [Slick Carousel](https://kenwheeler.github.io/slick) | ||
155 | -* [Smooth Scroll](https://github.com/cferdinandi/smooth-scroll) | ||
156 | -* [Sticky Kit](http://leafo.net/sticky-kit) | ||
157 | -* [JVectorMap](http://jvectormap.com) | ||
158 | -* [Font Awesome](https://fontawesome.com) | ||
159 | 184 | ||
160 | 185 | ||
161 | 186 | ||
162 | 187 | ||
163 | 188 | ||
164 | -<!-- MARKDOWN LINKS & IMAGES --> | ||
165 | <!-- https://www.markdownguide.org/basic-syntax/#reference-style-links --> | 189 | <!-- https://www.markdownguide.org/basic-syntax/#reference-style-links --> |
166 | -[contributors-shield]: https://img.shields.io/github/contributors/othneildrew/Best-README-Template.svg?style=for-the-badge | 190 | + |
167 | -[contributors-url]: https://github.com/othneildrew/Best-README-Template/graphs/contributors | ||
168 | -[forks-shield]: https://img.shields.io/github/forks/othneildrew/Best-README-Template.svg?style=for-the-badge | ||
169 | -[forks-url]: https://github.com/othneildrew/Best-README-Template/network/members | ||
170 | -[stars-shield]: https://img.shields.io/github/stars/othneildrew/Best-README-Template.svg?style=for-the-badge | ||
171 | -[stars-url]: https://github.com/othneildrew/Best-README-Template/stargazers | ||
172 | -[issues-shield]: https://img.shields.io/github/issues/othneildrew/Best-README-Template.svg?style=for-the-badge | ||
173 | -[issues-url]: https://github.com/othneildrew/Best-README-Template/issues | ||
174 | [license-shield]: https://img.shields.io/github/license/othneildrew/Best-README-Template.svg?style=for-the-badge | 191 | [license-shield]: https://img.shields.io/github/license/othneildrew/Best-README-Template.svg?style=for-the-badge |
175 | -[license-url]: https://github.com/othneildrew/Best-README-Template/blob/master/LICENSE.txt | ||
176 | -[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=555 | ||
177 | -[linkedin-url]: https://linkedin.com/in/othneildrew | ||
178 | -[product-screenshot]: images/screenshot.png | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment