Skip to content

Commit

Permalink
revise readme
Browse files Browse the repository at this point in the history
  • Loading branch information
lejelly committed Jan 6, 2025
1 parent f104c23 commit 4795074
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,14 @@ NGROK_TOKEN=**** # ngrokのウェブサイトで取得
```bash
npm install
```

### 5. アプリケーションの起動

(nohupで共有サーバーp-shared-1で動かし続けている)

```bash
bash run.sh
```
```bash
cat ./logs/npm_dev.log
```
Expand All @@ -117,14 +125,6 @@ cat ./logs/npm_dev.log
⚡️ Bolt app is running on port 3000!
```

### 5. アプリケーションの起動

(nohupで共有サーバーp-shared-1で動かし続けている)

```bash
bash run.sh
```

### 6. Slack APIの設定

表示されたngrok URL(`https://xxxxx.ngrok-free.app`)末尾に`/slack/events`を追加して`https://xxxxx.ngrok-free.app/slack/events`とし、以下の3箇所に設定:
Expand Down
6 changes: 3 additions & 3 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
source import-env.sh .env

# 既存のプロセスを終了
#pkill -f "npm run dev"
#pkill -f "ngrok"
#lsof -i :3000 | grep Seong | awk '{print $2}' | xargs kill -9
pkill -f "npm run dev"
pkill -f "ngrok"
lsof -i :3000 | grep Seong | awk '{print $2}' | xargs kill -9

# logsディレクトリがない場合は作成
mkdir -p logs
Expand Down

0 comments on commit 4795074

Please sign in to comment.