-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: #27 Change S3 bucket to klavostat.com. Added script that copies…
… the error page to old bucket.
- Loading branch information
1 parent
3af59d1
commit 4a59fea
Showing
3 changed files
with
31 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
AWS_PROFILE=dpopov-admin-kgparser | ||
BUCKET_NAME=kgparser-web | ||
|
||
aws s3 cp ./src/main/webapp/error.html s3://$BUCKET_NAME/stats.html --profile=$AWS_PROFILE | ||
aws s3 cp ./src/main/webapp/error.html s3://$BUCKET_NAME --profile=$AWS_PROFILE |
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 |
---|---|---|
@@ -1,6 +1,18 @@ | ||
# todo: move stat web sources to a separate module, copy like /js/*, /css/*, *.html etc, not one-by-one | ||
|
||
AWS_PROFILE=dpopov-admin-kgparser | ||
BUCKET_NAME=kgparser-web | ||
BUCKET_NAME=klavostat.com | ||
|
||
aws s3 cp ./src/main/webapp/ s3://$BUCKET_NAME --profile=$AWS_PROFILE --recursive | ||
|
||
|
||
#aws s3 cp ./src/main/webapp/_top-by-chars.html s3://$BUCKET_NAME --profile=$AWS_PROFILE | ||
#aws s3 cp ./src/main/webapp/_top_by_races_count_in_noerror.html s3://$BUCKET_NAME --profile=$AWS_PROFILE | ||
#aws s3 cp ./src/main/webapp/_top_by_races_count_in_normal.html s3://$BUCKET_NAME --profiple=$AWS_PROFILE | ||
#aws s3 cp ./src/main/webapp/_top_by_races_count_in_marathon.html s3://$BUCKET_NAME --profile=$AWS_PROFILE | ||
#aws s3 cp ./src/main/webapp/_top_by_best_speed_voc-40933.html s3://$BUCKET_NAME --profile=$AWS_PROFILE | ||
#aws s3 cp ./src/main/webapp/_top_by_best_speed_voc-62238.html s3://$BUCKET_NAME --profile=$AWS_PROFILE | ||
#aws s3 cp ./src/main/webapp/_players-with-hidden-stats.html s3://$BUCKET_NAME --profile=$AWS_PROFILE | ||
#aws s3 cp ./src/main/webapp/_vocabularies_by_total_races_count.html s3://$BUCKET_NAME --profile=$AWS_PROFILE | ||
#aws s3 cp ./src/main/webapp/_vocabularies_by_total_players_count.html s3://$BUCKET_NAME --profile=$AWS_PROFILE | ||
#aws s3 cp ./src/main/webapp/error.html s3://$BUCKET_NAME --profile=$AWS_PROFILE |
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,13 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Произошла ошибка</title> | ||
<link rel="stylesheet" type="text/css" href="./css/stats.css"> | ||
<link rel="shortcut icon" href="img/favicon/favicon.ico"/> | ||
</head> | ||
<body> | ||
<main> | ||
<h2>Вас занесло куда-то не туда :( Сайт переехал на <a href="http://klavostat.com">klavostat.com</a>. Возможно, стоит обратить свой взор туда.</h2> | ||
</main> | ||
</body> |