http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/fonts/fontawesome-webfont.woff ---------------------------------------------------------------------- diff --git a/fonts/fontawesome-webfont.woff b/fonts/fontawesome-webfont.woff new file mode 100644 index 0000000..dc35ce3 Binary files /dev/null and b/fonts/fontawesome-webfont.woff differ
http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/fonts/fontawesome-webfont.woff2 ---------------------------------------------------------------------- diff --git a/fonts/fontawesome-webfont.woff2 b/fonts/fontawesome-webfont.woff2 new file mode 100644 index 0000000..500e517 Binary files /dev/null and b/fonts/fontawesome-webfont.woff2 differ http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/gettingstarted.md ---------------------------------------------------------------------- diff --git a/gettingstarted.md b/gettingstarted.md new file mode 100644 index 0000000..4f54e38 --- /dev/null +++ b/gettingstarted.md @@ -0,0 +1,77 @@ +--- +title: Getting Started with ARIA TOSCA +layout: article +permalink: /getting-started/ +share: false +--- + +Installation +------------ + +ARIA is [available on PyPI](https://pypi.python.org/pypi/ariatosca). + +To install ARIA directly from PyPI (using a ``wheel``), use: + + # pip install aria + +To install ARIA from source, download the source tarball from +[PyPI](https://pypi.python.org/pypi/ariatosca), extract it, and then when inside the extracted +directory, use: + + # pip install . + +The source package comes along with relevant examples and documentation. Additionally, ``requirements.txt`` is included for +installing the depending packages with which ARIA was tested. + +Note that for the ``pip install`` commands mentioned above, you must use a privileged user, or use +virtualenv. + +ARIA itself is in a ``wheel`` format compatible with all platforms. Some dependencies, however, +might require compilation (based on a given platform), and therefore possibly some system +dependencies are required as well. + +On Ubuntu or other Debian-based systems:: + + sudo apt install python-setuptools python-dev build-essential libssl-dev libffi-dev + +On Archlinux:: + + sudo pacman -S python-setuptools + +ARIA requires Python 2.6/2.7. Python 3+ is currently not supported. + + +Getting Started with ARIA TOSCA +-------------------------------- + +This section will describe how to run a simple "Hello World" example. + +First, provide ARIA with the ARIA "hello world" service-template and name it (e.g. +``my-service-template``):: + + aria service-templates store examples/hello-world/helloworld.yaml my-service-template + +Now create a service based on this service-template and name it (e.g. ``my-service``):: + + aria services create my-service -t my-service-template + +Finally, start an ``install`` workflow execution on ``my-service`` like so:: + + aria executions start install -s my-service + +You should now have a simple web-server running on your local machine. You can try visiting +``http://localhost:9090`` to view your deployed application. + +To uninstall and clean your environment, follow these steps:: + + aria executions start uninstall -s my-service + aria services delete my-service + aria service-templates delete my-service-template + + + +License +------- + +ARIA is licensed under the +[Apache License 2.0](https://github.com/apache/incubator-ariatosca/blob/master/LICENSE) http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/images/apple-touch-icon-precomposed.png ---------------------------------------------------------------------- diff --git a/images/apple-touch-icon-precomposed.png b/images/apple-touch-icon-precomposed.png new file mode 100644 index 0000000..a27c6b9 Binary files /dev/null and b/images/apple-touch-icon-precomposed.png differ http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/images/aria-architecture.png ---------------------------------------------------------------------- diff --git a/images/aria-architecture.png b/images/aria-architecture.png new file mode 100644 index 0000000..9e721c1 Binary files /dev/null and b/images/aria-architecture.png differ http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/images/aria-icon.png ---------------------------------------------------------------------- diff --git a/images/aria-icon.png b/images/aria-icon.png new file mode 100644 index 0000000..93d6769 Binary files /dev/null and b/images/aria-icon.png differ http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/images/aria-logo.png ---------------------------------------------------------------------- diff --git a/images/aria-logo.png b/images/aria-logo.png new file mode 100644 index 0000000..e1a89ba Binary files /dev/null and b/images/aria-logo.png differ http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/images/aria-tosca-workflow.png ---------------------------------------------------------------------- diff --git a/images/aria-tosca-workflow.png b/images/aria-tosca-workflow.png new file mode 100644 index 0000000..6180f96 Binary files /dev/null and b/images/aria-tosca-workflow.png differ http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/images/bio-photo.jpg ---------------------------------------------------------------------- diff --git a/images/bio-photo.jpg b/images/bio-photo.jpg new file mode 100644 index 0000000..29e3245 Binary files /dev/null and b/images/bio-photo.jpg differ http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/images/skinny-bones-demo.gif ---------------------------------------------------------------------- diff --git a/images/skinny-bones-demo.gif b/images/skinny-bones-demo.gif new file mode 100644 index 0000000..a8d412e Binary files /dev/null and b/images/skinny-bones-demo.gif differ http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/index.md ---------------------------------------------------------------------- diff --git a/index.md b/index.md new file mode 100644 index 0000000..f0e07a3 --- /dev/null +++ b/index.md @@ -0,0 +1,11 @@ +--- +layout: archive +permalink: / +title: "Latest Posts" +--- + +<div class="tiles"> +{% for post in site.posts %} + {% include post-grid.html %} +{% endfor %} +</div><!-- /.tiles --> http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/js/_main.js ---------------------------------------------------------------------- diff --git a/js/_main.js b/js/_main.js new file mode 100644 index 0000000..081e5bd --- /dev/null +++ b/js/_main.js @@ -0,0 +1,20 @@ +// Off Canvas Sliding +$(document).ready(function(){ + // Menu button click + $('#js-menu-trigger,#js-menu-screen').on('click touchstart', function(e){ + // $('#js-body').toggleClass('no-scroll'); + $('#js-menu, #js-menu-screen').toggleClass('is-visible'); + $('#js-menu-trigger').toggleClass('slide close'); + // $('#masthead, #page-wrapper').toggleClass('slide'); + e.preventDefault(); + }); +}); + +// FitVids +$(document).ready(function(){ + // Target your .container, .wrapper, .post, etc. + $("#main").fitVids(); +}); + +// Table of Contents title. Change text to localize +$("#markdown-toc").prepend("<li><h6>{{ site.data.messages.locales[site.locale].overview }}</h6></li>"); http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/js/main.js ---------------------------------------------------------------------- diff --git a/js/main.js b/js/main.js new file mode 100644 index 0000000..18fd782 --- /dev/null +++ b/js/main.js @@ -0,0 +1,3 @@ +--- +--- +/*! skinny-bones-jekyll - v1.0.0 - 2015-11-17 */!function($){"use strict";$.fn.fitVids=function(options){var settings={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var head=document.head||document.getElementsByTagName("head")[0],css=".fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}",div=document.createElement("div");div.innerHTML='<p>x</p><style id="fit-vids-style">'+css+"</style>",head.appendChild(div.childNodes[1])}return options&&$.extend(settings,options),this.each(function(){var selectors=["iframe[src*='player.vimeo.com']","iframe[src*='youtube.com']","iframe[src*='youtube-nocookie.com']","iframe[src*='kickstarter.com'][src*='video.html']","object","embed"];settings.customSelector&&selectors.push(settings.customSelector);var ignoreList=".fitvidsignore";settings.ignore&&( ignoreList=ignoreList+", "+settings.ignore);var $allVideos=$(this).find(selectors.join(","));$allVideos=$allVideos.not("object object"),$allVideos=$allVideos.not(ignoreList),$allVideos.each(function(){var $this=$(this);if(!($this.parents(ignoreList).length>0||"embed"===this.tagName.toLowerCase()&&$this.parent("object").length||$this.parent(".fluid-width-video-wrapper").length)){$this.css("height")||$this.css("width")||!isNaN($this.attr("height"))&&!isNaN($this.attr("width"))||($this.attr("height",9),$this.attr("width",16));var height="object"===this.tagName.toLowerCase()||$this.attr("height")&&!isNaN(parseInt($this.attr("height"),10))?parseInt($this.attr("height"),10):$this.height(),width=isNaN(parseInt($this.attr("width"),10))?$this.width():parseInt($this.attr("width"),10),aspectRatio=height/width;if(!$this.attr("id")){var videoID="fitvid"+Math.floor(999999*Math.random());$this.attr("id",videoID)}$this.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video -wrapper").css("padding-top",100*aspectRatio+"%"),$this.removeAttr("height").removeAttr("width")}})})}}(window.jQuery||window.Zepto),function($){var $w=$(window);$.fn.visible=function(partial,hidden,direction){if(!(this.length<1)){var $t=this.length>1?this.eq(0):this,t=$t.get(0),vpWidth=$w.width(),vpHeight=$w.height(),direction=direction?direction:"both",clientSize=hidden===!0?t.offsetWidth*t.offsetHeight:!0;if("function"==typeof t.getBoundingClientRect){var rec=t.getBoundingClientRect(),tViz=rec.top>=0&&rec.top<vpHeight,bViz=rec.bottom>0&&rec.bottom<=vpHeight,lViz=rec.left>=0&&rec.left<vpWidth,rViz=rec.right>0&&rec.right<=vpWidth,vVisible=partial?tViz||bViz:tViz&&bViz,hVisible=partial?lViz||lViz:lViz&&rViz;if("both"===direction)return clientSize&&vVisible&&hVisible;if("vertical"===direction)return clientSize&&vVisible;if("horizontal"===direction)return clientSize&&hVisible}else{var viewTop=$w.scrollTop(),viewBottom=viewTop+vpHeight,viewLeft=$w.scrollLeft(),viewRight=viewLeft+vpWidt h,offset=$t.offset(),_top=offset.top,_bottom=_top+$t.height(),_left=offset.left,_right=_left+$t.width(),compareTop=partial===!0?_bottom:_top,compareBottom=partial===!0?_top:_bottom,compareLeft=partial===!0?_right:_left,compareRight=partial===!0?_left:_right;if("both"===direction)return!!clientSize&&viewBottom>=compareBottom&&compareTop>=viewTop&&viewRight>=compareRight&&compareLeft>=viewLeft;if("vertical"===direction)return!!clientSize&&viewBottom>=compareBottom&&compareTop>=viewTop;if("horizontal"===direction)return!!clientSize&&viewRight>=compareRight&&compareLeft>=viewLeft}}}}(jQuery),$(document).ready(function(){$("#js-menu-trigger,#js-menu-screen").on("click touchstart",function(e){$("#js-menu, #js-menu-screen").toggleClass("is-visible"),$("#js-menu-trigger").toggleClass("slide close"),e.preventDefault()})}),$(document).ready(function(){$("#main").fitVids()}),$("#markdown-toc").prepend("<li><h6>{{ site.data.messages.locales[site.locale].overview }}</h6></li>"); http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/js/plugins/jquery.fitvids.js ---------------------------------------------------------------------- diff --git a/js/plugins/jquery.fitvids.js b/js/plugins/jquery.fitvids.js new file mode 100644 index 0000000..05e24cc --- /dev/null +++ b/js/plugins/jquery.fitvids.js @@ -0,0 +1,83 @@ +/*global jQuery */ +/*jshint browser:true */ +/*! +* FitVids 1.1 +* +* Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com +* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/ +* Released under the WTFPL license - http://sam.zoy.org/wtfpl/ +* +*/ + +(function( $ ){ + + "use strict"; + + $.fn.fitVids = function( options ) { + var settings = { + customSelector: null, + ignore: null + }; + + if(!document.getElementById('fit-vids-style')) { + // appendStyles: https://github.com/toddmotto/fluidvids/blob/master/dist/fluidvids.js + var head = document.head || document.getElementsByTagName('head')[0]; + var css = '.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}'; + var div = document.createElement('div'); + div.innerHTML = '<p>x</p><style id="fit-vids-style">' + css + '</style>'; + head.appendChild(div.childNodes[1]); + } + + if ( options ) { + $.extend( settings, options ); + } + + return this.each(function(){ + var selectors = [ + "iframe[src*='player.vimeo.com']", + "iframe[src*='youtube.com']", + "iframe[src*='youtube-nocookie.com']", + "iframe[src*='kickstarter.com'][src*='video.html']", + "object", + "embed" + ]; + + if (settings.customSelector) { + selectors.push(settings.customSelector); + } + + var ignoreList = '.fitvidsignore'; + + if(settings.ignore) { + ignoreList = ignoreList + ', ' + settings.ignore; + } + + var $allVideos = $(this).find(selectors.join(',')); + $allVideos = $allVideos.not("object object"); // SwfObj conflict patch + $allVideos = $allVideos.not(ignoreList); // Disable FitVids on this video. + + $allVideos.each(function(){ + var $this = $(this); + if($this.parents(ignoreList).length > 0) { + return; // Disable FitVids on this video. + } + if (this.tagName.toLowerCase() === 'embed' && $this.parent('object').length || $this.parent('.fluid-width-video-wrapper').length) { return; } + if ((!$this.css('height') && !$this.css('width')) && (isNaN($this.attr('height')) || isNaN($this.attr('width')))) + { + $this.attr('height', 9); + $this.attr('width', 16); + } + var height = ( this.tagName.toLowerCase() === 'object' || ($this.attr('height') && !isNaN(parseInt($this.attr('height'), 10))) ) ? parseInt($this.attr('height'), 10) : $this.height(), + width = !isNaN(parseInt($this.attr('width'), 10)) ? parseInt($this.attr('width'), 10) : $this.width(), + aspectRatio = height / width; + if(!$this.attr('id')){ + var videoID = 'fitvid' + Math.floor(Math.random()*999999); + $this.attr('id', videoID); + } + $this.wrap('<div class="fluid-width-video-wrapper"></div>').parent('.fluid-width-video-wrapper').css('padding-top', (aspectRatio * 100)+"%"); + $this.removeAttr('height').removeAttr('width'); + }); + }); + }; +// Works with either jQuery or Zepto +})( window.jQuery || window.Zepto ); http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/js/plugins/jquery.visible.js ---------------------------------------------------------------------- diff --git a/js/plugins/jquery.visible.js b/js/plugins/jquery.visible.js new file mode 100644 index 0000000..ad80f84 --- /dev/null +++ b/js/plugins/jquery.visible.js @@ -0,0 +1,68 @@ +(function($){ + + /** + * Copyright 2012, Digital Fusion + * Licensed under the MIT license. + * http://teamdf.com/jquery-plugins/license/ + * + * @author Sam Sehnert + * @desc A small plugin that checks whether elements are within + * the user visible viewport of a web browser. + * only accounts for vertical position, not horizontal. + */ + var $w = $(window); + $.fn.visible = function(partial,hidden,direction){ + + if (this.length < 1) + return; + + var $t = this.length > 1 ? this.eq(0) : this, + t = $t.get(0), + vpWidth = $w.width(), + vpHeight = $w.height(), + direction = (direction) ? direction : 'both', + clientSize = hidden === true ? t.offsetWidth * t.offsetHeight : true; + + if (typeof t.getBoundingClientRect === 'function'){ + + // Use this native browser method, if available. + var rec = t.getBoundingClientRect(), + tViz = rec.top >= 0 && rec.top < vpHeight, + bViz = rec.bottom > 0 && rec.bottom <= vpHeight, + lViz = rec.left >= 0 && rec.left < vpWidth, + rViz = rec.right > 0 && rec.right <= vpWidth, + vVisible = partial ? tViz || bViz : tViz && bViz, + hVisible = partial ? lViz || lViz : lViz && rViz; + + if(direction === 'both') + return clientSize && vVisible && hVisible; + else if(direction === 'vertical') + return clientSize && vVisible; + else if(direction === 'horizontal') + return clientSize && hVisible; + } else { + + var viewTop = $w.scrollTop(), + viewBottom = viewTop + vpHeight, + viewLeft = $w.scrollLeft(), + viewRight = viewLeft + vpWidth, + offset = $t.offset(), + _top = offset.top, + _bottom = _top + $t.height(), + _left = offset.left, + _right = _left + $t.width(), + compareTop = partial === true ? _bottom : _top, + compareBottom = partial === true ? _top : _bottom, + compareLeft = partial === true ? _right : _left, + compareRight = partial === true ? _left : _right; + + if(direction === 'both') + return !!clientSize && ((compareBottom <= viewBottom) && (compareTop >= viewTop)) && ((compareRight <= viewRight) && (compareLeft >= viewLeft)); + else if(direction === 'vertical') + return !!clientSize && ((compareBottom <= viewBottom) && (compareTop >= viewTop)); + else if(direction === 'horizontal') + return !!clientSize && ((compareRight <= viewRight) && (compareLeft >= viewLeft)); + } + }; + +})(jQuery); \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/js/vendor/html5shiv.min.js ---------------------------------------------------------------------- diff --git a/js/vendor/html5shiv.min.js b/js/vendor/html5shiv.min.js new file mode 100644 index 0000000..6168aac --- /dev/null +++ b/js/vendor/html5shiv.min.js @@ -0,0 +1,8 @@ +/* + HTML5 Shiv v3.7.0 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed +*/ +(function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag(); +a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/[\w\-]+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x<style>article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}</style>"; +c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="<xyz></xyz>";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode|| +"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f); +if(g)return a.createDocumentFragment();for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d<h;d++)c.createElement(e[d]);return c}};l.html5=e;q(f)})(this,document); \ No newline at end of file
