notice
This is documentation for Rasa X Documentation v1.0.x, which is no longer actively maintained.
For up-to-date documentation, see the latest version (1.1.x).
Installation
This page describes how to use Rasa Ephemeral Installer to install Rasa X.
Before You Start
note
You will need sudo
access on your machine to use REI for installation. The installer will prompt you for your password.
REI installs rasactl
. rasactl
deploys Rasa X without a Rasa Open Source server. To connect a Rasa Open Source server,
see the Connect Rasa Open Source to Rasa X section.
You can learn more about rasactl
in the Command Line Interface section.
The Quickstart section assumes you will be connecting to a remote Git repository. To start Rasa X with a local Rasa project mounted, see Starting Rasa X with a Local Rasa Project.
Quickstart
Download and run Rasa Ephemeral Installer:
curl -O https://rei.rasa.com/rei.sh && bash rei.sh -yThe command above will prepare the environment and install the following components:
Use
rasactl
to deploy Rasa :$ rasactl start∙∙∙ Ready!╭ Rasa X ───────────────────────────────────────────────╮│ ││ URL: http://agitated-goldberg.rasactl.localhost ││ Rasa X version: 1.0.1 |│ Rasa X password: rasaxlocal ││ │╰───────────────────────────────────────────────────────╯By default,
rasactl
will deploy the latest stable release of Rasa X. To use the latest edge release of Rasa X, run the following instead:rasactl start --rasa-x-edge-release
note
If you deploy Rasa X on a VM
rasactl
will expose the Rasa X deployment on one of the node ports (30000-30100
).Check the status of your deployment.
$ rasactl statusName: pink-moldorfStatus: RunningURL: http://pink-moldorf.rasactl.localhostVersion: 1.0.1Enterprise: activeRasa production version: 0.0.0Rasa worker version: 0.0.0Project path: not definedUse the
rasactl open
command to view Rasa X in a web browser. From there you can connect Rasa X to your bot's git repository.
Starting Rasa X with a Local Rasa Project
note
Starting a Rasa X deployment with a local Rasa project is supported for Rasa X / Enterprise ≥ 1.0.0.
The following instruction describes how to deploy Rasa X with a mounted local Rasa project.
Requirements
kind
. Using a local Rasa project is only supported withkind
as the k8s platform.kind
is installed along with other tools if you use the REI to install all components.A local Rasa project. If you don't have one yet, there are two easy ways to create a Rasa project:
- use the
rasa init
command. - use the Rasa Playground to create and download a project.
- use the
Starting Rasa X
After downloading and installing REI:
Start Rasa X in your local Rasa project directory:
$ cd <rasa-project-dir>$ rasactl start --projectYou can use the
--project-path
flag to define a Rasa project directory explicitly, in which case you don't have to run the command from your project directory.Check the status of your deployment - it should reflect your local project path:
$ rasactl statusName: hungry-lewinStatus: RunningURL: http://hungry-lewin.rasactl.localhostVersion: 1.0.1Enterprise: inactiveRasa production version: 0.0.0Rasa worker version: 0.0.0Project path: /path/to/rasa_project