Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 50 additions & 25 deletions install-script.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,32 +12,57 @@ inputs:
touch /var/www/example.com/logs/access.log /var/www/example.com/logs/error.log
cat <<EOF > /var/www/example.com/public_html/index.html
<html>
<header>
<title>Cloudify Hello World</title>
</header>
<style>
html, body {
height: 100%;
}
<header>
<title>Cloudify Hello World</title>
</header>
<style>
html {
background: url(https://blastmkt.com/wp-content/uploads/2018/08/seo-2-slide-1-background-4.jpg) center top;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NO TABS!

background-size: auto contain;
-webkit-animation: velocity 0.5s linear 0s infinite normal forwards; /* Safari 4.0 - 8.0 */
animation: velocity 0.5s linear 0s infinite normal forwards;
height: 100%;
}
body {
background: url(https://blastmkt.com/wp-content/uploads/2018/08/home-2-slide-rocket-shape-4.png) no-repeat center bottom;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NO TABS!!

-webkit-animation: flying 1s ease-in-out 0s infinite normal; /* Safari 4.0 - 8.0 */
animation: flying 1s ease-in-out 0s infinite normal;
height: 100%;
margin: 0;
}

html {
display: table;
margin: auto;
}
body {
display: table-cell;
vertical-align: middle;
background-color: black;
}
h1 {
color:white;
}
</style>
<body>
<h1>Hello, World!</h1>
<img src="image.png">
</body>
</html>
/* Safari 4.0 - 8.0 */
@-webkit-keyframes flying {
0% {background-position: center 200%}
50% {background-position: center 150%}
100% {background-position: center 200%}
}

/* Standard syntax */
@keyframes flying {
0% {background-position: center 200%}
50% {background-position: center 150%}
100% {background-position: center 200%}
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes velocity {
0% {background-position: center bottom}
50% {background-position: center center}
100% {background-position: center top}
}

@keyframes velocity {
0% {background-position: center bottom}
50% {background-position: center center}
100% {background-position: center top}
}
</style>
<body>
<div style="text-align: center; color: white;"><h1>Hello World!</h1><br>You deployed your first Cloudify blueprint. Well done!
<br><br><img src="Cloudify-Logo-White.png" width="300px"></div>
</body>
</html>
EOF

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use same indentation as the rest of the default block!

curl -o /var/www/example.com/public_html/image.png https://raw.githubusercontent.com/cloudify-cosmo/cloudify-hello-world-example/edb09f8c943448cdd34fe28403a392030c10394e/images/cloudify-logo.png
cat <<EOF > /etc/apache2/sites-available/example.com.conf
Expand Down