Showing
2 changed files
with
24 additions
and
16 deletions
1 | # Do-gether | 1 | # Do-gether |
2 | ----------- | 2 | +--- |
3 | Sharing your TODO-LIST with others!<br> | 3 | Sharing your TODO-LIST with others!<br> |
4 | Do-gether은 투두리스트를 다른사람들과 공유할 수 있도록 도와주는 동기부여 서비스입니다. | 4 | Do-gether은 투두리스트를 다른사람들과 공유할 수 있도록 도와주는 동기부여 서비스입니다. |
5 | <br><br> | 5 | <br><br> |
6 | 6 | ||
7 | ## HOW TO USE | 7 | ## HOW TO USE |
8 | ----------- | 8 | +--- |
9 | You can come here and use DO-GETHER.<br> | 9 | You can come here and use DO-GETHER.<br> |
10 | [`http://wwww.dogether.tk`](http://wwww.dogether.tk) | 10 | [`http://wwww.dogether.tk`](http://wwww.dogether.tk) |
11 | ![main](/uploads/9dce27e61dc8a02f8fe0ab37dfaf4df5/main.png) | 11 | ![main](/uploads/9dce27e61dc8a02f8fe0ab37dfaf4df5/main.png) |
12 | <br><br> | 12 | <br><br> |
13 | 13 | ||
14 | ## HOW TO INSTALL | 14 | ## HOW TO INSTALL |
15 | ---------- | 15 | +--- |
16 | -### First, clone this project | 16 | +#### First, clone this project |
17 | `git clone http://khuhub.khu.ac.kr/2019102153/Do-gether.git` | 17 | `git clone http://khuhub.khu.ac.kr/2019102153/Do-gether.git` |
18 | -<br><br> | 18 | +<br> |
19 | 19 | ||
20 | and execute this command. | 20 | and execute this command. |
21 | ```sh | 21 | ```sh |
... | @@ -23,27 +23,27 @@ npm install | ... | @@ -23,27 +23,27 @@ npm install |
23 | cd client | 23 | cd client |
24 | npm install | 24 | npm install |
25 | ``` | 25 | ``` |
26 | -<br><br> | 26 | +<br> |
27 | 27 | ||
28 | -### Second, install YARN. | 28 | +#### Second, install YARN. |
29 | On Debian or Ubuntu Linux, you can install Yarn via our Debian package repository. | 29 | On Debian or Ubuntu Linux, you can install Yarn via our Debian package repository. |
30 | -<br><br> | 30 | +<br> |
31 | 31 | ||
32 | You will first need to configure the repository: | 32 | You will first need to configure the repository: |
33 | ```sh | 33 | ```sh |
34 | curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | 34 | curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - |
35 | echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list | 35 | echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list |
36 | ``` | 36 | ``` |
37 | -<br><br> | 37 | +<br> |
38 | 38 | ||
39 | On Ubuntu 16.04 or below and Debian Stable,<br> | 39 | On Ubuntu 16.04 or below and Debian Stable,<br> |
40 | you will also need to configure the NodeSource repository to get a new enough version of Node.js. | 40 | you will also need to configure the NodeSource repository to get a new enough version of Node.js. |
41 | -<br><br> | 41 | +<br> |
42 | 42 | ||
43 | Then you can simply: | 43 | Then you can simply: |
44 | `sudo apt update && sudo apt install yarn`<br><br> | 44 | `sudo apt update && sudo apt install yarn`<br><br> |
45 | Reference from [`YARN`](https://yarnpkg.com/en/docs/install) | 45 | Reference from [`YARN`](https://yarnpkg.com/en/docs/install) |
46 | -<br><br> | 46 | +<br> |
47 | 47 | ||
48 | ### Third, add "database.json" | 48 | ### Third, add "database.json" |
49 | you should add `database.json` in the following format. | 49 | you should add `database.json` in the following format. |
... | @@ -56,13 +56,12 @@ you should add `database.json` in the following format. | ... | @@ -56,13 +56,12 @@ you should add `database.json` in the following format. |
56 | "database":"table name" | 56 | "database":"table name" |
57 | } | 57 | } |
58 | ``` | 58 | ``` |
59 | -<br><br> | 59 | +<br> |
60 | 60 | ||
61 | -### Finally, you can use DOGETHER by using `yarn dev` in `Do-gether` directory. | 61 | +#### Finally, you can use DOGETHER by using `yarn dev` in `Do-gether` directory. |
62 | <br><br> | 62 | <br><br> |
63 | 63 | ||
64 | -### Error | 64 | +#### Error |
65 | --------- | ||
66 | In my case, an unknown error occurred when running `yarn dev`.<br> | 65 | In my case, an unknown error occurred when running `yarn dev`.<br> |
67 | So I solved it as follows. | 66 | So I solved it as follows. |
68 | <br><br> | 67 | <br><br> |
... | @@ -74,10 +73,11 @@ And change the `disableHostCheck: ...` option to `disableHostCheck: true`. | ... | @@ -74,10 +73,11 @@ And change the `disableHostCheck: ...` option to `disableHostCheck: true`. |
74 | <br><br> | 73 | <br><br> |
75 | 74 | ||
76 | ## Presentation File | 75 | ## Presentation File |
76 | +--- | ||
77 | You can check my presentation here. | 77 | You can check my presentation here. |
78 | [2019102153_김대휘.pptx](/uploads/ec22aec2c186128329918ec641a54f73/2019102153_김대휘.pptx) | 78 | [2019102153_김대휘.pptx](/uploads/ec22aec2c186128329918ec641a54f73/2019102153_김대휘.pptx) |
79 | <br><br> | 79 | <br><br> |
80 | 80 | ||
81 | ## LISENCE | 81 | ## LISENCE |
82 | -------- | 82 | +--- |
83 | Do-gether is free software, and may be redistributed under the terms specified in the [MIT LICENSE](http://khuhub.khu.ac.kr/2019102153/Do-gether/blob/master/LICENSE.txt) file. | 83 | Do-gether is free software, and may be redistributed under the terms specified in the [MIT LICENSE](http://khuhub.khu.ac.kr/2019102153/Do-gether/blob/master/LICENSE.txt) file. |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -91,6 +91,12 @@ export default function LandingPage(props) { | ... | @@ -91,6 +91,12 @@ export default function LandingPage(props) { |
91 | } | 91 | } |
92 | }; | 92 | }; |
93 | 93 | ||
94 | + const checkEnter = ()=>{ | ||
95 | + if(window.event.keyCode == 13){ | ||
96 | + handleLogin(); | ||
97 | + } | ||
98 | + } | ||
99 | + | ||
94 | return ( | 100 | return ( |
95 | <div className={classes.root}> | 101 | <div className={classes.root}> |
96 | <Paper className={classes.paper} elevation={3}> | 102 | <Paper className={classes.paper} elevation={3}> |
... | @@ -104,6 +110,7 @@ export default function LandingPage(props) { | ... | @@ -104,6 +110,7 @@ export default function LandingPage(props) { |
104 | onChange={(e) => { | 110 | onChange={(e) => { |
105 | setUserID(e.target.value); | 111 | setUserID(e.target.value); |
106 | }} | 112 | }} |
113 | + onKeyUp={checkEnter} | ||
107 | /> | 114 | /> |
108 | <TextField | 115 | <TextField |
109 | className={classes.pwInput} | 116 | className={classes.pwInput} |
... | @@ -115,6 +122,7 @@ export default function LandingPage(props) { | ... | @@ -115,6 +122,7 @@ export default function LandingPage(props) { |
115 | onChange={(e) => { | 122 | onChange={(e) => { |
116 | setUserPW(e.target.value); | 123 | setUserPW(e.target.value); |
117 | }} | 124 | }} |
125 | + onKeyUp={checkEnter} | ||
118 | /> | 126 | /> |
119 | <Button | 127 | <Button |
120 | className={classes.signin} | 128 | className={classes.signin} | ... | ... |
-
Please register or login to post a comment