Showing
1 changed file
with
35 additions
and
35 deletions
1 | -   | 1 | +[] (https://nodejs.org/ko/) |
2 | +[] (https://expressjs.com/ko/) | ||
3 | +[] (https://go.dev/) | ||
2 | 4 | ||
3 | -    | 5 | +[] (https://go.dev/) |
6 | +[] (https://echo.labstack.com) | ||
7 | +[] (https://python.org) | ||
8 | +[] (https://fastapi.tiangolo.com/) | ||
4 | 9 | ||
5 | - | 10 | +[] (https://www.mysql.com) |
11 | +[] (https://ngrok.com) | ||
6 | 12 | ||
7 | <div align="center"><img src="./readme_logo.png" width="20%" height="20%"></div> | 13 | <div align="center"><img src="./readme_logo.png" width="20%" height="20%"></div> |
8 | 14 | ||
... | @@ -27,6 +33,7 @@ | ... | @@ -27,6 +33,7 @@ |
27 | - [Echo](https://echo.labstack.com) | 33 | - [Echo](https://echo.labstack.com) |
28 | - [Python](https://python.org) | 34 | - [Python](https://python.org) |
29 | - [FastAPI](https://fastapi.tiangolo.com/) | 35 | - [FastAPI](https://fastapi.tiangolo.com/) |
36 | +- [MySQL](https://www.mysql.com) | ||
30 | - [ngrok](https://ngrok.com) | 37 | - [ngrok](https://ngrok.com) |
31 | 38 | ||
32 | ## Getting Started | 39 | ## Getting Started |
... | @@ -77,46 +84,39 @@ Need to write secret | ... | @@ -77,46 +84,39 @@ Need to write secret |
77 | ### Installation | 84 | ### Installation |
78 | 85 | ||
79 | 1. Clone the repository | 86 | 1. Clone the repository |
80 | - | 87 | +```shell |
81 | - ```shell | 88 | +git clone http://khuhub.khu.ac.kr/2018102211/mamuri-bot |
82 | - git clone http://khuhub.khu.ac.kr/2018102211/mamuri-bot | 89 | +``` |
83 | - ``` | ||
84 | 90 | ||
85 | 2. Put your secret files that you create in prerequisite to | 91 | 2. Put your secret files that you create in prerequisite to |
86 | - | 92 | +```shell |
87 | - ```shell | 93 | +mamuri-bot/database/mysql_init/.env |
88 | - mamuri-bot/database/mysql_init/.env | 94 | +mamuri-bot/joongna/config/.env |
89 | - mamuri-bot/joongna/config/.env | 95 | +mamuri-bot/ngrok/ngrok.yml |
90 | - mamuri-bot/ngrok/ngrok.yml | 96 | +mamuri-bot/server/config/.env |
91 | - mamuri-bot/server/config/.env | ||
92 | ``` | 97 | ``` |
93 | 98 | ||
94 | 3. Executing `deploy.sh` for deployment with docker-compose. This script will `build` all images automatically and `docker-compose up` on your system | 99 | 3. Executing `deploy.sh` for deployment with docker-compose. This script will `build` all images automatically and `docker-compose up` on your system |
95 | - | 100 | +```shell |
96 | - ```shell | 101 | +#!/usr/bin/env bash |
97 | - #!/usr/bin/env bash | 102 | +./deploy.sh |
98 | - | 103 | +# docker build -t daangn-api-server ./daangn/ |
99 | - ./deploy.sh | 104 | +# docker build -t joongna-api-server ./joongna/ |
100 | - | 105 | +# docker build -t bunjang-api-server ./bunjang/ |
101 | - # docker build -t daangn-api-server ./daangn/ | 106 | +# docker build -t mamuri-db ./database/ |
102 | - # docker build -t joongna-api-server ./joongna/ | 107 | +# docker build -t mamuri-server ./server/ |
103 | - # docker build -t bunjang-api-server ./bunjang/ | 108 | +# docker build -t mamuri-ngrok ./ngrok/ |
104 | - # docker build -t mamuri-db ./database/ | 109 | +# docker-compose up -d |
105 | - # docker build -t mamuri-server ./server/ | 110 | +``` |
106 | - # docker build -t mamuri-ngrok ./ngrok/ | 111 | + |
107 | - # docker-compose up -d | ||
108 | - ``` | ||
109 | - | ||
110 | 4. Check your ngrok public URL | 112 | 4. Check your ngrok public URL |
111 | - | 113 | +```shell |
112 | - ```shell | 114 | +docker logs mamuri-ngrok |
113 | - docker logs mamuri-ngrok | 115 | +``` |
114 | - ``` | 116 | + |
115 | - | ||
116 | -  | ||
117 | 117 | ||
118 | 5. Set your public URL to Line chatbot configuration for webhook | 118 | 5. Set your public URL to Line chatbot configuration for webhook |
119 | -  | 119 | + |
120 | 120 | ||
121 | ## Contributing | 121 | ## Contributing |
122 | 122 | ... | ... |
-
Please register or login to post a comment