Toggle navigation
Toggle navigation
This project
Loading...
Sign in
임태민
/
Mapmory
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
홍지윤
2021-06-04 23:07:45 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9bcd6e0860e71c12988a465155cdc8ebd19cecd8
9bcd6e08
1 parent
ad628c69
Fix hidden information and Readme
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
4 deletions
README.md
index.js
views/partials/gmap.ejs
views/partials/showgmap.ejs
README.md
View file @
9bcd6e0
...
...
@@ -27,7 +27,20 @@
## ✏️ Quick Start (build, install, setup manual)
$ git clone http://khuhub.khu.ac.kr/2017101294/Mapmory.git
$ cd Mapmory
$ npm install
Input Mongo key and google map key
<img
src =
"https://user-images.githubusercontent.com/73929383/120812504-fd8c0180-c587-11eb-9258-e99adec55714.PNG"
width=
"550"
height =
"110"
>
<img
src =
"https://user-images.githubusercontent.com/73929383/120812932-696e6a00-c588-11eb-8a07-ce2b22ff09c0.PNG"
width=
"550"
height =
"100"
>
Input Port number
<img
src=
"https://user-images.githubusercontent.com/73929383/120813437-d7b32c80-c588-11eb-9d52-4ef570212d85.PNG"
width =
"550"
height =
"120"
>
$ node index.js
If it does not work well
...
...
index.js
View file @
9bcd6e0
...
...
@@ -69,7 +69,7 @@ app.use('/users', require('./routes/users'))
// Server
var
port
=
3000
;
var
port
=
"포트번호 입력"
;
app
.
listen
(
port
,
function
(){
console
.
log
(
'server on! http://
localhost
:'
+
port
);
console
.
log
(
'server on! http://
::
:'
+
port
);
});
...
...
views/partials/gmap.ejs
View file @
9bcd6e0
...
...
@@ -135,7 +135,7 @@
<!-- Async script executes immediately and must be after any DOM elements used in callback. -->
<script
src=
"https://maps.googleapis.com/maps/api/js?key=
googlekey
값을 입력하세요&callback=initMap&libraries=&v=weekly"
src=
"https://maps.googleapis.com/maps/api/js?key=
구글키
값을 입력하세요&callback=initMap&libraries=&v=weekly"
async
></script>
</body>
...
...
views/partials/showgmap.ejs
View file @
9bcd6e0
...
...
@@ -142,7 +142,7 @@
<!-- Async script executes immediately and must be after any DOM elements used in callback. -->
<script
src=
"https://maps.googleapis.com/maps/api/js?key=
googlekey
값을 입력하세요&callback=initMap&libraries=&v=weekly"
src=
"https://maps.googleapis.com/maps/api/js?key=
구글키
값을 입력하세요&callback=initMap&libraries=&v=weekly"
async
></script>
...
...
Please
register
or
login
to post a comment