Showing
1 changed file
with
13 additions
and
9 deletions
1 | -![node-17.9.0](https://img.shields.io/badge/Node-17.9.0-green) | 1 | +![node-17.9.0](https://img.shields.io/badge/Node-17.9.0-green) ![express-4.18.1](https://img.shields.io/badge/Express-4.18.1-green) ![sequelize-6.20.0](https://img.shields.io/badge/Sequelize-6.20.0-green) |
2 | -![express-4.18.1](https://img.shields.io/badge/Express-4.18.1-green) | ||
3 | -![sequelize-6.20.0](https://img.shields.io/badge/Sequelize-6.20.0-green) | ||
4 | 2 | ||
5 | -![go-1.17.3](https://img.shields.io/badge/Go-1.17.3-blue) | 3 | +![go-1.17.3](https://img.shields.io/badge/Go-1.17.3-blue) ![goecho-4.7.2](https://img.shields.io/badge/Echo-4.7.2-blue) ![python-latest](https://img.shields.io/badge/Python-latest-blue) ![fastapi-0.77.1](https://img.shields.io/badge/Fastapi-0.77.1-blue) |
6 | -![goecho-4.7.2](https://img.shields.io/badge/Echo-4.7.2-blue) | ||
7 | -![python-latest](https://img.shields.io/badge/Python-latest-blue) | ||
8 | -![fastapi-0.77.1](https://img.shields.io/badge/Fastapi-0.77.1-blue) | ||
9 | 4 | ||
10 | ![mysql-5.7](https://img.shields.io/badge/Mysql-5.7-yellowgreen) | 5 | ![mysql-5.7](https://img.shields.io/badge/Mysql-5.7-yellowgreen) |
11 | 6 | ||
... | @@ -82,17 +77,22 @@ Need to write secret | ... | @@ -82,17 +77,22 @@ Need to write secret |
82 | ### Installation | 77 | ### Installation |
83 | 78 | ||
84 | 1. Clone the repository | 79 | 1. Clone the repository |
80 | + | ||
85 | ```shell | 81 | ```shell |
86 | git clone http://khuhub.khu.ac.kr/2018102211/mamuri-bot | 82 | git clone http://khuhub.khu.ac.kr/2018102211/mamuri-bot |
87 | ``` | 83 | ``` |
84 | + | ||
88 | 2. Put your secret files that you create in prerequisite to | 85 | 2. Put your secret files that you create in prerequisite to |
86 | + | ||
89 | ```shell | 87 | ```shell |
90 | mamuri-bot/database/mysql_init/.env | 88 | mamuri-bot/database/mysql_init/.env |
91 | mamuri-bot/joongna/config/.env | 89 | mamuri-bot/joongna/config/.env |
92 | mamuri-bot/ngrok/ngrok.yml | 90 | mamuri-bot/ngrok/ngrok.yml |
93 | mamuri-bot/server/config/.env | 91 | mamuri-bot/server/config/.env |
94 | ``` | 92 | ``` |
93 | + | ||
95 | 3. Executing `deploy.sh` for deployment with docker-compose. This script will `build` all images automatically and `docker-compose up` on your system | 94 | 3. Executing `deploy.sh` for deployment with docker-compose. This script will `build` all images automatically and `docker-compose up` on your system |
95 | + | ||
96 | ```shell | 96 | ```shell |
97 | #!/usr/bin/env bash | 97 | #!/usr/bin/env bash |
98 | 98 | ||
... | @@ -106,12 +106,16 @@ Need to write secret | ... | @@ -106,12 +106,16 @@ Need to write secret |
106 | # docker build -t mamuri-ngrok ./ngrok/ | 106 | # docker build -t mamuri-ngrok ./ngrok/ |
107 | # docker-compose up -d | 107 | # docker-compose up -d |
108 | ``` | 108 | ``` |
109 | -5. Check your ngrok public URL | 109 | + |
110 | +4. Check your ngrok public URL | ||
111 | + | ||
110 | ```shell | 112 | ```shell |
111 | docker logs mamuri-ngrok | 113 | docker logs mamuri-ngrok |
112 | ``` | 114 | ``` |
115 | + | ||
113 | ![ngrok_deployment_1](http://khuhub.khu.ac.kr/2018102211/mamuri-bot/uploads/4ccdc73c9efc4c3dc58147f17b992cc6/그림1.png) | 116 | ![ngrok_deployment_1](http://khuhub.khu.ac.kr/2018102211/mamuri-bot/uploads/4ccdc73c9efc4c3dc58147f17b992cc6/그림1.png) |
114 | -6. Set your public URL to Line chatbot configuration for webhook | 117 | + |
118 | +5. Set your public URL to Line chatbot configuration for webhook | ||
115 | ![ngrok_deployment_2](http://khuhub.khu.ac.kr/2018102211/mamuri-bot/uploads/5dd076f66629948dd1682fc4054ff459/그림2.png) | 119 | ![ngrok_deployment_2](http://khuhub.khu.ac.kr/2018102211/mamuri-bot/uploads/5dd076f66629948dd1682fc4054ff459/그림2.png) |
116 | 120 | ||
117 | ## Contributing | 121 | ## Contributing | ... | ... |
-
Please register or login to post a comment