git clone [email protected]:flowstorm/core.gitcd coremvn install
Before you start Core services
GOOGLE_APPLICATION_CREDENTIALS environment variable has to be set pointing to the Google Service Account key JSON file (otherwise Google Speech-To-Text and Text-To-Speech services used by Core runner won't work).
You need also create
app.local.properties configuration file and put it into working directory. It should contain at least
Required MongoDB URL in form
Namespace to be used to construct Platform service URLs
Default value is
Suffix for database collections
Platform NLP Services
URL of Illusionist (Flowstorm IR+NER Service). If not set following will be used
Illusionist API key
Amazon Web Services
Required when using Amazon Polly Text-To-Speech service
AWS secret key
AWS access key
Microsoft Cognitive Services
Required when using Microsoft Text-To-Speech service
Microsoft Cognitive Services API key
Microsoft Cognitive Services location (e.g.
Optional service for sending e-mails from DialogueScript
MailGun domain (e.g.
MailGun API key
MailGun API base URL (e.g.
Optional storage for storing and analysing conversational data
ElasticSearch server host
wCities API access token
TMDb API key
Finally you can start Core services by following commands to get runner available at localhost port 8080 and builder at port 8081
java -jar runner/app/target/app.jarjava -jar builder/app/target/app.jar -Dai.flowstorm.common.server.port=8081
If you want to build your own Docker images instead of using generic ones available at
registry.gitlab.com you can do that by following commands:
docker build -t registry.your-server.com/flowstorm/runner/app runner/appdocker build -t registry.your-server.com/flowstorm/builder/app builder/app