- 
                Notifications
    
You must be signed in to change notification settings  - Fork 330
 
DEPRECATED: Rasa UI Install Guide
This guide is a installation guide for Ubuntu 16.04
Initial Steps
Open terminal and run the following commands:
sudo suapt-get updatePostgreSQL - Used for storing training data (entities, intents, synonyms, etc.)
apt-get install postgresql postgresql-contribSwitch to the postgres user
exitsudo -i -u postgresDownload the Schema and create the objects
wget https://raw.githubusercontent.com/paschmann/rasa-ui/master/resources/dbcreate.sqlpsqlpostgres=# create database rasaui;postgres=# ALTER USER postgres PASSWORD 'xxxxxxxxxx';postgres=# \c rasauirasaui=# \i dbcreate.sqlrasaui=# \qNode.js/npm - Serves Rasa UI and acts as a middleware server for logging (to the PostgreSQL DB)
- Check your RASA NLU is up and running correctly 
e.g. curl -X GET http://localhost:5000/status - Check that PostgreSQL is running 
e.g. sudo service --status-all | grep postgres - Check nodejs is installed 
e.g. node -v 
Please ensure prerequisites are fulfilled
Clone/download the Rasa UI repository
git clone https://github.com/paschmann/rasaui.gitStep 1. Install the dependencies
cd rasaui
rasaui > npm installStep 2. Update your package.json file to include the IP Addresses of your rasa server and the connection string of your postgres instance.
Step 3. Optional: Update your web/src/app.js file to include the IP Addresses of your local middleware server (no need to change this if the front end and middleware server are running on the same instance)
Step 4. Run HTTP server and middleware
rasaui > npm start