-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor placement of helper and installation files (closes #40)
Moved helper scripts Moved topology diagrams Updated installation scripts
- Loading branch information
Showing
16 changed files
with
115 additions
and
22 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
server { | ||
listen 80; | ||
root /home/ubuntu/snowplow/ui; | ||
server_name \$hostname; | ||
access_log /var/log/nginx/snowplow-mini.access.log; | ||
|
||
location = / { | ||
try_files /index.html /index.html; | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
sudo /opt/nginx/sbin/nginx |
File renamed without changes.
0
scripts/user_data.sh → resources/scripts/user_data.sh
100644 → 100755
File renamed without changes.
File renamed without changes.
File renamed without changes
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash -e | ||
|
||
############# | ||
# Constants # | ||
############# | ||
|
||
main_dir=/home/ubuntu/snowplow | ||
configs_dir=$main_dir/configs | ||
|
||
############ | ||
# Setup UI # | ||
############ | ||
|
||
sudo rm -f /etc/nginx/sites-enabled/default | ||
sudo cp $configs_dir/snowplow-mini.conf /etc/nginx/conf.d/ | ||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash -e | ||
|
||
############# | ||
# Constants # | ||
############# | ||
|
||
main_dir=/home/ubuntu/snowplow | ||
es_dir=$main_dir/elasticsearch | ||
|
||
################ | ||
# Add Mappings # | ||
################ | ||
|
||
sudo service elasticsearch start | ||
sleep 15 | ||
|
||
curl -XPUT 'http://localhost:9200/good' -d @${es_dir}/good-mapping.json | ||
curl -XPUT 'http://localhost:9200/bad' -d @${es_dir}/bad-mapping.json | ||
|
||
#################### | ||
# Init Iglu Server # | ||
#################### | ||
|
||
sudo service iglu_server_0.2.0 start | ||
sleep 30 |