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-06-01 16:30:31 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
cfc7c59b7444f0c80ff7509c8a29674e6b786401
cfc7c59b
1 parent
0f232a12
EDIT: Solve prettier auto save problem
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
12 deletions
README.md
README.md
View file @
cfc7c59
...
...
@@ -45,14 +45,11 @@
### Prerequisites
Need to installation docker and docker-compose
-
[
Docker
](
https://www.docker.com/get-started/
)
-
[
Docker-compose
](
https://docs.docker.com/compose/install/
)
Need to write secret
-
`mamuri-bot/database/mysql_init/.env`
```
dotenv
# Database Configuration
TZ=Asia/Seoul
...
...
@@ -62,7 +59,6 @@ Need to write secret
```
- `mamuri-bot/joongna/config/.env`
```dotenv
# Secret Configuration
SECRET.CLIENTID={NAVER_API_CLIENT_ID}
...
...
@@ -73,7 +69,6 @@ Need to write secret
```
- `mamuri-bot/ngrok/ngrok.yml`
```yaml
authtoken: { YOUR_NGROK_AUTH_TOKEN }
version: 2
...
...
@@ -93,22 +88,19 @@ Need to write secret
### Installation
1. Clone the repository
```
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
```
```
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
...
...
@@ -122,15 +114,13 @@ mamuri-bot/server/config/.env
```
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
)
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
)
![
ngrok_deployment_2
](
http://khuhub.khu.ac.kr/2018102211/mamuri-bot/uploads/5dd076f66629948dd1682fc4054ff459/그림2.png
)
## Contributing
...
...
Please
register
or
login
to post a comment