Skip to content

Commit b702140

Browse files
committed
- Readme changes
- Readme changes - Minor change to dashboard
1 parent be4144b commit b702140

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,16 @@ Your web application should be available on http://localhost:5001
4949

5050
## Running from Docker
5151

52-
If you already have a Rasa instance setup and running, you can run Rasa UI from docker hub using [paschmann/rasa-ui](https://hub.docker.com/r/paschmann/rasa-ui/).
52+
If you **already** have a Rasa instance setup and running, you can run Rasa UI from docker hub using [paschmann/rasa-ui](https://hub.docker.com/r/paschmann/rasa-ui/). You will need to edit the environment variables, specifically the **rasa_endpoint**.
5353

54-
If you dont have a Rasa instance setup, you can run both Rasa and Rasa UI using the [docker-compose file](https://github.com/paschmann/rasa-ui/blob/master/docker-compose.yml), copy the file to a local directory and run the command below:
54+
If you **dont** have a Rasa instance setup, you can run both Rasa and Rasa UI using the [docker-compose file](https://github.com/paschmann/rasa-ui/blob/master/docker-compose.yml), copy the file to a local directory and run the command below:
5555

5656
```
5757
docker-compose up
5858
```
5959

60+
The docker-compose up command will use the docker-compose.yml file to create both the Rasa container and Rasa UI container, and create a networked connection between both.
61+
6062
## Upgrading
6163

6264
Because Rasa UI uses a Database to store training data, and other content, in the event the database schema changes, you will need to modify your database when upgrading to newer versions of Rasa UI. Please review the server/db migration folder for upgrade scripts from and to newer versions if you have existing data and want to maintain it. If you are upgrading from Rasa UI prior to v.3.0.0 there is no data migration path as previously postgres was used, and now sqlite is being used.

web/src/app/components/dashboard/dashboard.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,13 @@ function DashboardController($scope, $http, Rasa_Status, NLU_log_stats, appConfi
1919

2020
function getRasaStatus() {
2121
Rasa_Status.get(function(data) {
22-
$scope.model_file = data.model_file;
23-
if (data.fingerprint) {
22+
if (data.model_file != undefined) {
23+
$scope.model_file = data.model_file;
24+
} else {
25+
$scope.model_file = "No model Loaded";
26+
$scope.trained_at = "Unavailable";
27+
}
28+
if (data.fingerprint != undefined) {
2429
$scope.trained_at = $scope.timeConverter(data.fingerprint.trained_at);
2530
} else {
2631
$scope.model_file = "No model loaded";

0 commit comments

Comments
 (0)