From 6f46d0086ef7db2beb1aa269ced3cceb1d04017f Mon Sep 17 00:00:00 2001 From: ctienshi Date: Thu, 8 Feb 2018 14:40:50 +0530 Subject: [PATCH] updating readme --- {machines => vagrantfiles}/README.md | 26 +++++++++++------- {machines => vagrantfiles}/Vagrantfile | 0 {machines => vagrantfiles}/config.yaml | 0 .../deployment-architecture.png | Bin .../repository/components/dropins/.gitkeep | 0 .../repository/components/extensions/.gitkeep | 0 .../confs/repository/components/lib/.gitkeep | 0 .../conf/datasources/master-datasources.xml | 0 .../provisioner/product_provisioner.sh | 0 .../repository/components/dropins/.gitkeep | 0 .../repository/components/extensions/.gitkeep | 0 .../confs/repository/components/lib/.gitkeep | 0 .../conf/datasources/master-datasources.xml | 0 .../repository/conf/identity/identity.xml | 0 .../confs/repository/conf/user-mgt.xml | 0 ...Publisher-wso2event-AuthenticationData.xml | 0 ...Analytics-Publisher-wso2event-RoleData.xml | 0 ...lytics-Publisher-wso2event-SessionData.xml | 0 ...Analytics-Publisher-wso2event-UserData.xml | 0 .../provisioner/product_provisioner.sh | 0 .../mysql/provisioner/db_provisioner.sh | 0 .../mysql/scripts/mysql.sql | 0 .../mysql/scripts/um_mysql.sql | 0 23 files changed, 16 insertions(+), 10 deletions(-) rename {machines => vagrantfiles}/README.md (50%) rename {machines => vagrantfiles}/Vagrantfile (100%) rename {machines => vagrantfiles}/config.yaml (100%) rename {machines => vagrantfiles}/deployment-architecture.png (100%) rename {machines => vagrantfiles}/identity-server-analytics/confs/repository/components/dropins/.gitkeep (100%) rename {machines => vagrantfiles}/identity-server-analytics/confs/repository/components/extensions/.gitkeep (100%) rename {machines => vagrantfiles}/identity-server-analytics/confs/repository/components/lib/.gitkeep (100%) rename {machines => vagrantfiles}/identity-server-analytics/confs/repository/conf/datasources/master-datasources.xml (100%) rename {machines => vagrantfiles}/identity-server-analytics/provisioner/product_provisioner.sh (100%) rename {machines => vagrantfiles}/identity-server/confs/repository/components/dropins/.gitkeep (100%) rename {machines => vagrantfiles}/identity-server/confs/repository/components/extensions/.gitkeep (100%) rename {machines => vagrantfiles}/identity-server/confs/repository/components/lib/.gitkeep (100%) rename {machines => vagrantfiles}/identity-server/confs/repository/conf/datasources/master-datasources.xml (100%) rename {machines => vagrantfiles}/identity-server/confs/repository/conf/identity/identity.xml (100%) rename {machines => vagrantfiles}/identity-server/confs/repository/conf/user-mgt.xml (100%) rename {machines => vagrantfiles}/identity-server/confs/repository/deployment/server/eventpublishers/IsAnalytics-Publisher-wso2event-AuthenticationData.xml (100%) rename {machines => vagrantfiles}/identity-server/confs/repository/deployment/server/eventpublishers/IsAnalytics-Publisher-wso2event-RoleData.xml (100%) rename {machines => vagrantfiles}/identity-server/confs/repository/deployment/server/eventpublishers/IsAnalytics-Publisher-wso2event-SessionData.xml (100%) rename {machines => vagrantfiles}/identity-server/confs/repository/deployment/server/eventpublishers/IsAnalytics-Publisher-wso2event-UserData.xml (100%) rename {machines => vagrantfiles}/identity-server/provisioner/product_provisioner.sh (100%) rename {machines => vagrantfiles}/mysql/provisioner/db_provisioner.sh (100%) rename {machines => vagrantfiles}/mysql/scripts/mysql.sql (100%) rename {machines => vagrantfiles}/mysql/scripts/um_mysql.sql (100%) diff --git a/machines/README.md b/vagrantfiles/README.md similarity index 50% rename from machines/README.md rename to vagrantfiles/README.md index cb34047..8f9b33e 100644 --- a/machines/README.md +++ b/vagrantfiles/README.md @@ -12,21 +12,27 @@ for MySQL, [Connector/J](https://dev.mysql.com/downloads/connector/j/5.1.html). ## How to run the Vagrantfile -##### 1. Checkout this repository into your local machine using the following Git command. +1. Checkout this repository into your local machine using the following Git command. + ``` -git clone https://github.com/wso2/vagrant-is.git + git clone https://github.com/wso2/vagrant-is.git ``` -##### 2. Build and add the Vagrant boxes for external MySQL database, WSO2 Identity Server and WSO2 Identity Server Analytics using the Vagrant box generation resources. - -##### 3. Move to `machines` folder. +2. Build and add the Vagrant boxes for external MySQL database, WSO2 Identity Server and WSO2 Identity Server Analytics using the Vagrant box generation resources. - cd machines - -##### 4. Add the MySQL connector (mysql-connector-java-5.1.*-bin.jar) to the identity-server/confs/repository/components/lib folder. +3. Move to `vagrantfiles` folder. -##### 5. Add the MySQL connector (mysql-connector-java-5.1.*-bin.jar) to the identity-server-analytics/confs/repository/components/lib folder. +``` + cd vagrantfiles +``` -##### 6. Spawn up the Vagrant setup. +4. Spawn up the Vagrant setup. +``` vagrant up +``` +5. Access the Identity Server via the URL given below. + +``` + https://172.28.128.4:9443/carbon +``` \ No newline at end of file diff --git a/machines/Vagrantfile b/vagrantfiles/Vagrantfile similarity index 100% rename from machines/Vagrantfile rename to vagrantfiles/Vagrantfile diff --git a/machines/config.yaml b/vagrantfiles/config.yaml similarity index 100% rename from machines/config.yaml rename to vagrantfiles/config.yaml diff --git a/machines/deployment-architecture.png b/vagrantfiles/deployment-architecture.png similarity index 100% rename from machines/deployment-architecture.png rename to vagrantfiles/deployment-architecture.png diff --git a/machines/identity-server-analytics/confs/repository/components/dropins/.gitkeep b/vagrantfiles/identity-server-analytics/confs/repository/components/dropins/.gitkeep similarity index 100% rename from machines/identity-server-analytics/confs/repository/components/dropins/.gitkeep rename to vagrantfiles/identity-server-analytics/confs/repository/components/dropins/.gitkeep diff --git a/machines/identity-server-analytics/confs/repository/components/extensions/.gitkeep b/vagrantfiles/identity-server-analytics/confs/repository/components/extensions/.gitkeep similarity index 100% rename from machines/identity-server-analytics/confs/repository/components/extensions/.gitkeep rename to vagrantfiles/identity-server-analytics/confs/repository/components/extensions/.gitkeep diff --git a/machines/identity-server-analytics/confs/repository/components/lib/.gitkeep b/vagrantfiles/identity-server-analytics/confs/repository/components/lib/.gitkeep similarity index 100% rename from machines/identity-server-analytics/confs/repository/components/lib/.gitkeep rename to vagrantfiles/identity-server-analytics/confs/repository/components/lib/.gitkeep diff --git a/machines/identity-server-analytics/confs/repository/conf/datasources/master-datasources.xml b/vagrantfiles/identity-server-analytics/confs/repository/conf/datasources/master-datasources.xml similarity index 100% rename from machines/identity-server-analytics/confs/repository/conf/datasources/master-datasources.xml rename to vagrantfiles/identity-server-analytics/confs/repository/conf/datasources/master-datasources.xml diff --git a/machines/identity-server-analytics/provisioner/product_provisioner.sh b/vagrantfiles/identity-server-analytics/provisioner/product_provisioner.sh similarity index 100% rename from machines/identity-server-analytics/provisioner/product_provisioner.sh rename to vagrantfiles/identity-server-analytics/provisioner/product_provisioner.sh diff --git a/machines/identity-server/confs/repository/components/dropins/.gitkeep b/vagrantfiles/identity-server/confs/repository/components/dropins/.gitkeep similarity index 100% rename from machines/identity-server/confs/repository/components/dropins/.gitkeep rename to vagrantfiles/identity-server/confs/repository/components/dropins/.gitkeep diff --git a/machines/identity-server/confs/repository/components/extensions/.gitkeep b/vagrantfiles/identity-server/confs/repository/components/extensions/.gitkeep similarity index 100% rename from machines/identity-server/confs/repository/components/extensions/.gitkeep rename to vagrantfiles/identity-server/confs/repository/components/extensions/.gitkeep diff --git a/machines/identity-server/confs/repository/components/lib/.gitkeep b/vagrantfiles/identity-server/confs/repository/components/lib/.gitkeep similarity index 100% rename from machines/identity-server/confs/repository/components/lib/.gitkeep rename to vagrantfiles/identity-server/confs/repository/components/lib/.gitkeep diff --git a/machines/identity-server/confs/repository/conf/datasources/master-datasources.xml b/vagrantfiles/identity-server/confs/repository/conf/datasources/master-datasources.xml similarity index 100% rename from machines/identity-server/confs/repository/conf/datasources/master-datasources.xml rename to vagrantfiles/identity-server/confs/repository/conf/datasources/master-datasources.xml diff --git a/machines/identity-server/confs/repository/conf/identity/identity.xml b/vagrantfiles/identity-server/confs/repository/conf/identity/identity.xml similarity index 100% rename from machines/identity-server/confs/repository/conf/identity/identity.xml rename to vagrantfiles/identity-server/confs/repository/conf/identity/identity.xml diff --git a/machines/identity-server/confs/repository/conf/user-mgt.xml b/vagrantfiles/identity-server/confs/repository/conf/user-mgt.xml similarity index 100% rename from machines/identity-server/confs/repository/conf/user-mgt.xml rename to vagrantfiles/identity-server/confs/repository/conf/user-mgt.xml diff --git a/machines/identity-server/confs/repository/deployment/server/eventpublishers/IsAnalytics-Publisher-wso2event-AuthenticationData.xml b/vagrantfiles/identity-server/confs/repository/deployment/server/eventpublishers/IsAnalytics-Publisher-wso2event-AuthenticationData.xml similarity index 100% rename from machines/identity-server/confs/repository/deployment/server/eventpublishers/IsAnalytics-Publisher-wso2event-AuthenticationData.xml rename to vagrantfiles/identity-server/confs/repository/deployment/server/eventpublishers/IsAnalytics-Publisher-wso2event-AuthenticationData.xml diff --git a/machines/identity-server/confs/repository/deployment/server/eventpublishers/IsAnalytics-Publisher-wso2event-RoleData.xml b/vagrantfiles/identity-server/confs/repository/deployment/server/eventpublishers/IsAnalytics-Publisher-wso2event-RoleData.xml similarity index 100% rename from machines/identity-server/confs/repository/deployment/server/eventpublishers/IsAnalytics-Publisher-wso2event-RoleData.xml rename to vagrantfiles/identity-server/confs/repository/deployment/server/eventpublishers/IsAnalytics-Publisher-wso2event-RoleData.xml diff --git a/machines/identity-server/confs/repository/deployment/server/eventpublishers/IsAnalytics-Publisher-wso2event-SessionData.xml b/vagrantfiles/identity-server/confs/repository/deployment/server/eventpublishers/IsAnalytics-Publisher-wso2event-SessionData.xml similarity index 100% rename from machines/identity-server/confs/repository/deployment/server/eventpublishers/IsAnalytics-Publisher-wso2event-SessionData.xml rename to vagrantfiles/identity-server/confs/repository/deployment/server/eventpublishers/IsAnalytics-Publisher-wso2event-SessionData.xml diff --git a/machines/identity-server/confs/repository/deployment/server/eventpublishers/IsAnalytics-Publisher-wso2event-UserData.xml b/vagrantfiles/identity-server/confs/repository/deployment/server/eventpublishers/IsAnalytics-Publisher-wso2event-UserData.xml similarity index 100% rename from machines/identity-server/confs/repository/deployment/server/eventpublishers/IsAnalytics-Publisher-wso2event-UserData.xml rename to vagrantfiles/identity-server/confs/repository/deployment/server/eventpublishers/IsAnalytics-Publisher-wso2event-UserData.xml diff --git a/machines/identity-server/provisioner/product_provisioner.sh b/vagrantfiles/identity-server/provisioner/product_provisioner.sh similarity index 100% rename from machines/identity-server/provisioner/product_provisioner.sh rename to vagrantfiles/identity-server/provisioner/product_provisioner.sh diff --git a/machines/mysql/provisioner/db_provisioner.sh b/vagrantfiles/mysql/provisioner/db_provisioner.sh similarity index 100% rename from machines/mysql/provisioner/db_provisioner.sh rename to vagrantfiles/mysql/provisioner/db_provisioner.sh diff --git a/machines/mysql/scripts/mysql.sql b/vagrantfiles/mysql/scripts/mysql.sql similarity index 100% rename from machines/mysql/scripts/mysql.sql rename to vagrantfiles/mysql/scripts/mysql.sql diff --git a/machines/mysql/scripts/um_mysql.sql b/vagrantfiles/mysql/scripts/um_mysql.sql similarity index 100% rename from machines/mysql/scripts/um_mysql.sql rename to vagrantfiles/mysql/scripts/um_mysql.sql