Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김대철
/
CafeRecommend
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
김대철
2021-06-08 16:29:07 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
200aa4041c4323cedb83d97805820fafc3665919
200aa404
1 parent
17fcd250
DOCS: 리드미 오타 수정
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
README.md
README.md
View file @
200aa40
...
...
@@ -54,23 +54,23 @@ https://www.caferecommend.tk:3000
2.
카카오 Developer 가입 후 애플리케이션 추가 후 Javascript API키 발급 (https://developers.kakao.com/)
3.
sql폴더에 정의된 테이블 생성문 MySQL에서 실행
4.
KHU-HUB repo clone
```
HTML
```
git clone http://khuhub.khu.ac.kr/2015104153/CafeRecommend
```
5.
디렉토리 이동 후 npm 패키지 설치
```
HTML
```
npm install
```
6.
발급받은 구글 로그인 ClientID를
`index.js`
지도 API키를
`map.ejs`
에 각각 넣기
```
HTML
```
var CLIENT_ID = "발급받은 ClientID"
```
```
HTML
```
<script type="text/javascript" src="//dapi.kakao.com/v2/maps/sdk.js?appkey=발급받은API키&libraries=services"></script>
```
7.
Session File Store 설정 (index.js)
```
HTML
```
session({
secret: "원하는 암호",
resave: false,
...
...
@@ -79,7 +79,7 @@ https://www.caferecommend.tk:3000
})
```
8.
MySQL connection 연결 설정 (index.js)
```
HTML
```
var connection = mysql.createConnection({
host: "IP주소 입력 (localhost 또는 AWS 서버 주소)",
user: "계정 입력",
...
...
@@ -88,11 +88,11 @@ https://www.caferecommend.tk:3000
});
```
9.
Freenom을 통해 발급받은 도메인을 /bin/www에 넣기
```
HTML
```
const domain = "도메인 입력";
```
10.
프로그램 실행
```
HTML
```
npm run start
```
...
...
Please
register
or
login
to post a comment