Toggle navigation
Toggle navigation
This project
Loading...
Sign in
윤준석
/
mamuri-bot
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
윤준석
2022-05-28 16:00:39 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c6ce1e28c6ad79df7e92a964d396c40e681d4303
c6ce1e28
1 parent
bacfc0be
DOCS: README.md final fix
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
34 deletions
README.md
README.md
View file @
c6ce1e2



[

] (https://nodejs.org/ko/)
[

] (https://expressjs.com/ko/)
[

] (https://go.dev/)




[

] (https://go.dev/)
[

] (https://echo.labstack.com)
[

] (https://python.org)
[

] (https://fastapi.tiangolo.com/)

[

] (https://www.mysql.com)
[

] (https://ngrok.com)
<div
align=
"center"
><img
src=
"./readme_logo.png"
width=
"20%"
height=
"20%"
></div>
...
...
@@ -27,6 +33,7 @@
-
[
Echo
](
https://echo.labstack.com
)
-
[
Python
](
https://python.org
)
-
[
FastAPI
](
https://fastapi.tiangolo.com/
)
-
[
MySQL
](
https://www.mysql.com
)
-
[
ngrok
](
https://ngrok.com
)
## Getting Started
...
...
@@ -77,46 +84,39 @@ Need to write secret
### Installation
1. Clone the repository
```shell
git clone http://khuhub.khu.ac.kr/2018102211/mamuri-bot
```
```
shell
git clone http://khuhub.khu.ac.kr/2018102211/mamuri-bot
```
2. Put your secret files that you create in prerequisite to
```shell
mamuri-bot/database/mysql_init/.env
mamuri-bot/joongna/config/.env
mamuri-bot/ngrok/ngrok.yml
mamuri-bot/server/config/.env
```
shell
mamuri-bot/database/mysql_init/.env
mamuri-bot/joongna/config/.env
mamuri-bot/ngrok/ngrok.yml
mamuri-bot/server/config/.env
```
3. Executing `deploy.sh` for deployment with docker-compose. This script will `build` all images automatically and `docker-compose up` on your system
```shell
#!/usr/bin/env bash
./deploy.sh
# docker build -t daangn-api-server ./daangn/
# docker build -t joongna-api-server ./joongna/
# docker build -t bunjang-api-server ./bunjang/
# docker build -t mamuri-db ./database/
# docker build -t mamuri-server ./server/
# docker build -t mamuri-ngrok ./ngrok/
# docker-compose up -d
```
```
shell
#!/usr/bin/env bash
./deploy.sh
# docker build -t daangn-api-server ./daangn/
# docker build -t joongna-api-server ./joongna/
# docker build -t bunjang-api-server ./bunjang/
# docker build -t mamuri-db ./database/
# docker build -t mamuri-server ./server/
# docker build -t mamuri-ngrok ./ngrok/
# docker-compose up -d
```
4. Check your ngrok public URL
```shell
docker logs mamuri-ngrok
```
!
[
ngrok_deployment_1
](
http://khuhub.khu.ac.kr/2018102211/mamuri-bot/uploads/4ccdc73c9efc4c3dc58147f17b992cc6/그림1.png
)
```
shell
docker logs mamuri-ngrok
```

5.
Set your public URL to Line chatbot configuration for webhook
!
[
ngrok_deployment_2
](
http://khuhub.khu.ac.kr/2018102211/mamuri-bot/uploads/5dd076f66629948dd1682fc4054ff459/그림2.png
)

## Contributing
...
...
Please
register
or
login
to post a comment