Skip to content

Commit

Permalink
ℹ️ Fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
Maseshi committed May 10, 2024
1 parent 619b90c commit 8afba87
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 24 deletions.
20 changes: 12 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@ Install **Build tools** by running the following command according to your opera
npm install
```
- Change the file name `.env.example` to `.env` and enter all required values.
> [!NOTE]
> You can edit some data in **config** at [./source/configs/data.js](./source/configs/data.js).

> [!NOTE]
> You can edit some data in **config** at [./source/configs/data.js](./source/configs/data.js).
### 3. Setup bot and invite to join.

Expand All @@ -114,17 +115,19 @@ Install **Build tools** by running the following command according to your opera

- Open a terminal and run `npm run emulators` to simulate the database system in **dev mode**.
- Open a new terminal and run the command `npm run dev`.
> [!NOTE]
> When you enter development mode. Some features may be disabled, such as sending statistics, updating data, etc.

> [!NOTE]
> When you enter development mode. Some features may be disabled, such as sending statistics, updating data, etc.
## ☕ Serve

Test the actual use by performing tasks similar to real use. The system will automatically calculate the split of the work fraction according to the number of guilds.

- Open a terminal and run `npm run emulators` to simulate the database system in **emulation mode**.
- Open a new terminal and run the command `npm run serve`.
> [!NOTE]
> You will automatically enter development mode as this is a production simulation. Cause some features may not work.

> [!NOTE]
> You will automatically enter development mode as this is a production simulation. Cause some features may not work.
## 🍵 Production

Expand Down Expand Up @@ -160,8 +163,9 @@ This operation requires [Docker](https://www.docker.com/products/docker-desktop/

- Use the command `npm run docker:build` and wait for all the work to complete.
- Then open the Docker program and run it with the required environment information (env) or use the command `npm run docker:run` and wait until the bot is running.
> [!TIP]
> You can check the functionality using the command `docker ps -a`.

> [!TIP]
> You can check the functionality using the command `docker ps -a`.
## ⚡ Quick Troubleshooting

Expand Down
20 changes: 12 additions & 8 deletions documents/README.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@ Install **Build tools** by running the following command according to your opera
npm install
```
- Change the file name `.env.example` to `.env` and enter all required values.
> [!NOTE]
> You can edit some data in **config** at [./source/configs/data.js](./source/configs/data.js).

> [!NOTE]
> You can edit some data in **config** at [./source/configs/data.js](./source/configs/data.js).
### 3. Setup bot and invite to join.

Expand All @@ -114,17 +115,19 @@ Install **Build tools** by running the following command according to your opera

- Open a terminal and run `npm run emulators` to simulate the database system in **dev mode**.
- Open a new terminal and run the command `npm run dev`.
> [!NOTE]
> When you enter development mode. Some features may be disabled, such as sending statistics, updating data, etc.

> [!NOTE]
> When you enter development mode. Some features may be disabled, such as sending statistics, updating data, etc.
## ☕ Serve

Test the actual use by performing tasks similar to real use. The system will automatically calculate the split of the work fraction according to the number of guilds.

- Open a terminal and run `npm run emulators` to simulate the database system in **emulation mode**.
- Open a new terminal and run the command `npm run serve`.
> [!NOTE]
> You will automatically enter development mode as this is a production simulation. Cause some features may not work.

> [!NOTE]
> You will automatically enter development mode as this is a production simulation. Cause some features may not work.
## 🍵 Production

Expand Down Expand Up @@ -160,8 +163,9 @@ This operation requires [Docker](https://www.docker.com/products/docker-desktop/

- Use the command `npm run docker:build` and wait for all the work to complete.
- Then open the Docker program and run it with the required environment information (env) or use the command `npm run docker:run` and wait until the bot is running.
> [!TIP]
> You can check the functionality using the command `docker ps -a`.

> [!TIP]
> You can check the functionality using the command `docker ps -a`.
## ⚡ Quick Troubleshooting

Expand Down
20 changes: 12 additions & 8 deletions documents/README.th.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@
npm install
```
- ทำการเปลี่ยนชื่อไฟล์ `.env.example` เป็น `.env` แล้วใส่ค่าที่จำเป็นทั้งหมด
> [!NOTE]
> คุณสามารถแก้ไขข้อมูลบางอย่างใน **config** ที่ [./source/configs/data.js](../source/configs/data.js)

> [!NOTE]
> คุณสามารถแก้ไขข้อมูลบางอย่างใน **config** ที่ [./source/configs/data.js](../source/configs/data.js)
### 3. ตั้งค่าบอทและเชิญเข้าร่วม

Expand All @@ -114,17 +115,19 @@

- เปิดเทอร์มินัลแล้วรัน `npm run emulators` เพื่อจำลองระบบฐานข้อมูลใน**โหมดพัฒนา**
- เปิดเทอร์มินัลหน้าใหม่แล้วรันคำสั่ง `npm run dev`
> [!NOTE]
> เมื่อคุณเข้าสู่โหมดการพัฒนา คุณลักษณะบางอย่างอาจถูกปิดใช้งาน เช่น การส่งสถิติ การอัปเดตข้อมูล เป็นต้น

> [!NOTE]
> เมื่อคุณเข้าสู่โหมดการพัฒนา คุณลักษณะบางอย่างอาจถูกปิดใช้งาน เช่น การส่งสถิติ การอัปเดตข้อมูล เป็นต้น
## ☕ จำลอง

ทดสอบการใช้งานจริงด้วยการทำงานที่คล้ายกับการใช้งานจริง โดยระบบจะคำนวณการแยกเศษของการทำงานตามจำนวนของกิลด์โดยอัตโนมัติ

- เปิดเทอร์มินัลแล้วรัน `npm run emulators` เพื่อจำลองระบบฐานข้อมูลใน**โหมดจำลอง**
- เปิดเทอร์มินัลหน้าใหม่แล้วรันคำสั่ง `npm run serve`
> [!NOTE]
> คุณจะเข้าสู่โหมดการพัฒนาโดยอัตโนมัติเนื่องจากเป็นการจำลองการใช้งานจริง ทำให้คุณสมบัติบางอย่างอาจไม่ทำงาน

> [!NOTE]
> คุณจะเข้าสู่โหมดการพัฒนาโดยอัตโนมัติเนื่องจากเป็นการจำลองการใช้งานจริง ทำให้คุณสมบัติบางอย่างอาจไม่ทำงาน
## 🍵 ใช้งานจริง

Expand Down Expand Up @@ -160,8 +163,9 @@

- ใช้คำสั่ง `npm run docker:build` แล้วรอให้ทำงานเสร็จทั้งหมด
- จากนั้นเปิดโปรแกรม Docker แล้วสั่งรันพร้อมกับใส่ข้อมูลสภาพแวดล้อมที่จำเป็น (env) หรือใช้คำสั่ง `npm run docker:run` แล้วรอจนบอททำงาน
> [!TIP]
> คุณสามารถตรวจสอบการทำงานได้โดยใช้คำสั่ง `docker ps -a`

> [!TIP]
> คุณสามารถตรวจสอบการทำงานได้โดยใช้คำสั่ง `docker ps -a`
## ⚡ แก้ไขปัญหาอย่างรวดเร็ว

Expand Down

0 comments on commit 8afba87

Please sign in to comment.