Created
May 2, 2019 19:53
-
-
Save DaddyMoe/f89fb04154c34e0ff5ce9d15f067c0bb to your computer and use it in GitHub Desktop.
Start Elastiscearch and kibana in the background
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Start Elasticsearch and kibana in the background. | |
# But only for the instance of the running terminal. | |
# | |
echo "starting sonar" | |
~/dev/apps/sonarqube-7.7/bin/macosx-universal-64/sonar.sh start | |
echo "starting Elasticsearch deamon" | |
~/dev/apps/elasticsearch-2.4.5/bin/elasticsearch -d | |
echo "starting Kibana" | |
~/dev/apps/kibana-4.6.6-darwin-x86_64/bin/kibana & | |
echo "Sleeping for 10seconds" | |
sleep 10s | |
echo "opening browser" | |
open http://localhost:5601/app/sense |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment