Skip to content

Commit ab4751f

Browse files
committed
added instructions to deploy on azure
1 parent 996cbef commit ab4751f

File tree

1 file changed

+21
-5
lines changed

1 file changed

+21
-5
lines changed

README.md

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,27 @@
9999

100100
![Servicenow Incident Activity](https://raw.githubusercontent.com/jomit/ap-bot/master/images/servicenow-2.png)
101101

102-
### Deploy on Azure
103102

104-
- *TODO*
103+
- Servicenow tickets are created for each conversation session and the entire history of the conversation is saved under activities.
104+
- The Ticket ID is updated based on the human handoff response.
105+
106+
### Human Handoff
107+
108+
- Human handoff is done via ticket assignments. If the user is idle for more than 30 seconds than the Bot will ask user if they need to talk to human and update the ticket in Servicenow and assign to specific group.
105109

106-
- Update Nodejs version to 8.11.1
107-
- Update Application Settings
108-
- Deploy code
110+
### Deploy on Azure
111+
112+
- Update **Application Settings**
113+
- Click on `Application Settings` under Bot Service and add all environment variables from `web\.env` file.
114+
- Add a new variable to update nodejs version with name=`WEBSITE_NODE_DEFAULT_VERSION` and value=`8.11.1`
115+
116+
- Update **Nodejs version**
117+
- Under `Build` in Bot Service click on `Open online code editor`.
118+
- Updated the `iisnode.yml` file to point the nodeProcessCommandLine to 8.11.1 path `nodeProcessCommandLine: "D:\Program Files (x86)\nodejs\6.9.1\node.exe"`
119+
120+
- Deploy **Code**
121+
- Copy all the code from `web` folder into the `wwwroot` folder on Azure. (Do not copy `.env` file and `node_modules` folder)
122+
- Under `Build` in Bot Service click on `Open online code editor`.
123+
- Click on `Open Console` button and run `npm install` to install all the dependencies.
124+
- Restart the App Service
109125

0 commit comments

Comments
 (0)