Repository: incubator-ariatosca-website
Updated Branches:
  refs/heads/master 49c29d3b8 -> f9fff938a


ARIA-397 Added sample install/command files for different OS

ARIA-397 Added sample install/command files for different OS


Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/commit/79c898ef
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/tree/79c898ef
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/diff/79c898ef

Branch: refs/heads/master
Commit: 79c898ef1aa8e5e527e2b79b0498c5e8ca1e556b
Parents: 9c59ff4
Author: Vishwanath Jayaraman <vishwana...@hotmail.com>
Authored: Thu Nov 2 17:57:45 2017 -0500
Committer: Vishwanath Jayaraman <vishwana...@hotmail.com>
Committed: Thu Nov 2 18:01:19 2017 -0500

----------------------------------------------------------------------
 gettingstarted.md                 | 15 +++++++++++++-
 samples/CentOS/centos7_aria011    | 36 ++++++++++++++++++++++++++++++++++
 samples/Ubuntu/ubuntu1604_aria011 | 24 +++++++++++++++++++++++
 3 files changed, 74 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/79c898ef/gettingstarted.md
----------------------------------------------------------------------
diff --git a/gettingstarted.md b/gettingstarted.md
index a767e27..edec373 100644
--- a/gettingstarted.md
+++ b/gettingstarted.md
@@ -70,7 +70,7 @@ Getting Started
 
 This section will describe how to run a simple "Hello World" example.
 
-First, provide ARIA with the ARIA "hello world"(can be download 
[here](https://github.com/apache/incubator-ariatosca/tree/master/examples/hello-world))
 service-template and name it (e.g.
+First, provide ARIA with the ARIA "hello world"(can be downloaded 
[here](https://github.com/apache/incubator-ariatosca/tree/master/examples/hello-world))
 service-template and name it (e.g.
 ``my-service-template``)::
 
     aria service-templates store examples/hello-world/helloworld.yaml 
my-service-template
@@ -98,3 +98,16 @@ License
 
 ARIA is licensed under the
 [Apache License 
2.0](https://github.com/apache/incubator-ariatosca/blob/master/LICENSE).
+
+
+Sample install/command files for different ARIA releases
+--------------------------------------------------------
+
+0.1.1                                                                          
                                                                
+-----                                                                          
                                                                
+                                                                               
                                                                
+[Ubuntu 
16.04](https://github.com/apache/incubator-ariatosca-website/samples/Ubuntu/ubuntu1604_aria011)
                                        
+                                                                               
                                                                
+[CenOS 
7](https://github.com/apache/incubator-ariatosca-website/samples/CentOS/centos7_aria011)
                                                
+                                                                               
                                                                
+Docker  TBD
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/79c898ef/samples/CentOS/centos7_aria011
----------------------------------------------------------------------
diff --git a/samples/CentOS/centos7_aria011 b/samples/CentOS/centos7_aria011
new file mode 100644
index 0000000..18e0f8f
--- /dev/null
+++ b/samples/CentOS/centos7_aria011
@@ -0,0 +1,36 @@
+#Below commands to install aria may need to be run with root priviliges
+yum -y update
+
+yum clean all
+
+yum install -y yum-plugin-ovl
+
+yum install -y python-devel gcc libffi-devel openssl-devel epel-release curl 
git
+
+yum install wget -y
+
+curl "https://bootstrap.pypa.io/get-pip.py"; -o "get-pip.py"
+
+python get-pip.py
+
+pip install --upgrade pip setuptools
+
+pip install apache-ariatosca[ssh]==0.1.1 --no-binary apache-ariatosca
+
+#Below commands are to ensure we get the correct example template files
+cd /tmp
+
+git clone https://github.com/apache/incubator-ariatosca.git 
/tmp/incubator-ariatosca
+
+cd /tmp/incubator-ariatosca
+
+git checkout tags/0.1.1
+
+#Below commands to be run from the /tmp/incubator-ariatosca directory
+aria service-templates store examples/hello-world/helloworld.yaml 
my-service-template
+
+aria services create my-service -t my-service-template
+
+aria executions start install -s my-service
+
+#Next launch a web browser and type http://localhost:9090

http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/79c898ef/samples/Ubuntu/ubuntu1604_aria011
----------------------------------------------------------------------
diff --git a/samples/Ubuntu/ubuntu1604_aria011 
b/samples/Ubuntu/ubuntu1604_aria011
new file mode 100644
index 0000000..3916a80
--- /dev/null
+++ b/samples/Ubuntu/ubuntu1604_aria011
@@ -0,0 +1,24 @@
+#Below commands to install aria may need to be run with root priviliges
+apt-get update && apt-get install -y python-dev gcc libffi-dev libssl-dev 
python-pip git wget
+
+pip install --upgrade pip setuptools
+
+pip install apache-ariatosca[ssh]==0.1.1 --no-binary apache-ariatosca
+
+#Below commands are to ensure we get the correct example template files
+cd /tmp
+
+git clone https://github.com/apache/incubator-ariatosca.git 
/tmp/incubator-ariatosca
+
+cd /tmp/incubator-ariatosca
+
+git checkout tags/0.1.1
+
+#Below commands to be run from the /tmp/incubator-ariatosca directory
+aria service-templates store examples/hello-world/helloworld.yaml 
my-service-template
+
+aria services create my-service -t my-service-template
+
+aria executions start install -s my-service
+
+#Next launch a web browser and type http://localhost:9090

Reply via email to