#!/usr/bin/env bash

# - Logstash
# - Kibana
# - React storybook
# - Firebase queue server
# - Cerebral react website

./node_modules/.bin/concurrently -k -r \
'/opt/logstash/bin/logstash -f queue/utils/logstash_config_elastic.conf' \
'/usr/share/kibana/bin/kibana > /dev/null 2>&1' \
'NODE_ENV=test start-storybook -p 6006' \
'node ./scripts/wait_for_logstash.js && nodemon queue/index.js -e js -w queue' \
'node scripts/start.js'

#!/usr/bin/env bash

# - Logstash
# - Kibana
# - React storybook
# - Firebase queue server
# - Cerebral react website

#'/opt/logstash/bin/logstash -f queue/utils/logstash_config_elastic.conf' \
#'/usr/share/kibana/bin/kibana' \

./node_modules/.bin/concurrently -k -r \
'NODE_ENV=test start-storybook -p 6006' \
'nodemon queue/index.js -e js -w queue' \
'node scripts/start.js'

DISABLE logstash and kibana. Logstash stop to work on arch linux. It's not essential
fix(logstash): DISABLE logstash and kibana. Logstash stop to work on arch linux. It's not essential
