diff --git a/kgparserWeb/copy-to-s3-old-bucket.sh b/kgparserWeb/copy-to-s3-old-bucket.sh new file mode 100644 index 00000000..d4865a91 --- /dev/null +++ b/kgparserWeb/copy-to-s3-old-bucket.sh @@ -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 diff --git a/kgparserWeb/copy-to-s3.sh b/kgparserWeb/copy-to-s3.sh index 96a112c5..46380446 100644 --- a/kgparserWeb/copy-to-s3.sh +++ b/kgparserWeb/copy-to-s3.sh @@ -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 diff --git a/kgparserWeb/src/main/webapp/error.html b/kgparserWeb/src/main/webapp/error.html new file mode 100644 index 00000000..743c55b0 --- /dev/null +++ b/kgparserWeb/src/main/webapp/error.html @@ -0,0 +1,13 @@ + + + + + Произошла ошибка + + + + +
+

Вас занесло куда-то не туда :( Сайт переехал на klavostat.com. Возможно, стоит обратить свой взор туда.

+
+