Metropolis Microservices/RidgeRun Microservices Demo/Getting the code: Difference between revisions

From RidgeRun Developer Wiki
(Created page with "<noinclude> {{Metropolis Microservices/Head|previous=Getting_Started/Introduction|next=Application_services|metakeywords=Metropolis|title=Getting the code|metadescription=This page provides a general overview of the PTZ RidgeRun Service}} </noinclude> {{DISPLAYTITLE:RidgeRun Spherical Video PTZ: WIP page|noerror}} ==RidgeRun online store to buy== <br> <center> <table> <tr> <td> <html> <div id='product-component-1712702300428'></div> <script type="text/javascript"> /*<![...")
 
No edit summary
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{Metropolis Microservices/Head|previous=Getting_Started/Introduction|next=Application_services|metakeywords=Metropolis|title=Getting the code|metadescription=This page provides a general overview of the PTZ RidgeRun Service}}
{{Metropolis Microservices/Head
|previous=https://developer.ridgerun.com/wiki/index.php/Metropolis_Microservices/RidgeRun Microservices Demo/Demo Description
|next=https://developer.ridgerun.com/wiki/index.php/Metropolis_Microservices/RidgeRun Microservices Demo/Running the Demo
|metakeywords=Metropolis
|title=Getting the code
|metadescription=This page provides a general overview of the PTZ RidgeRun Service
}}
</noinclude>
</noinclude>


{{DISPLAYTITLE:RidgeRun Spherical Video PTZ: WIP page|noerror}}
For your convenience, a set of prebuilt docker images is available in DockerHub that will allow you to run the '''SmartSeek360''' demo in a few steps. If you want to obtain the code for each service go to [[Metropolis Microservices/RidgeRun Microservices Demo/Getting the code#Get Services Source Code|Get Services Source Code]].
==RidgeRun online store to buy==
<br>
<center>
<table>
<tr>
<td>
<html>
<div id='product-component-1712702300428'></div>
<script type="text/javascript">
/*<![CDATA[*/
(function () {
  var scriptURL = 'https://sdks.shopifycdn.com/buy-button/latest/buy-button-storefront.min.js';
  if (window.ShopifyBuy) {
    if (window.ShopifyBuy.UI) {
      ShopifyBuyInit();
    } else {
      loadScript();
    }
  } else {
    loadScript();
  }
  function loadScript() {
    var script = document.createElement('script');
    script.async = true;
    script.src = scriptURL;
    (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(script);
    script.onload = ShopifyBuyInit;
  }
  function ShopifyBuyInit() {
    var client = ShopifyBuy.buildClient({
      domain: 'ridgerun1.myshopify.com',
      storefrontAccessToken: 'b0ca98633a82de5d2f63cd51f5af30ac',
    });
    ShopifyBuy.UI.onReady(client).then(function (ui) {
      ui.createComponent('product', {
        id: '7934843683003',
        node: document.getElementById('product-component-1712702300428'),
        moneyFormat: '%24%7B%7Bamount%7D%7D',
        options: {
  "product": {
    "styles": {
      "product": {
        "@media (min-width: 601px)": {
          "max-width": "calc(25% - 20px)",
          "margin-left": "20px",
          "margin-bottom": "50px"
        }
      },
      "button": {
        "font-family": "Open Sans, sans-serif",
        "font-weight": "bold",
        "font-size": "18px",
        "padding-top": "17px",
        "padding-bottom": "17px",
        ":hover": {
          "background-color": "#0187a7"
        },
        "background-color": "#0196ba",
        ":focus": {
          "background-color": "#0187a7"
        },
        "border-radius": "5px",
        "padding-left": "50px",
        "padding-right": "50px"
      },
      "quantityInput": {
        "font-size": "18px",
        "padding-top": "17px",
        "padding-bottom": "17px"
      }
    },
    "text": {
      "button": "Add to cart"
    },
    "googleFonts": [
      "Open Sans"
    ]
  },
  "productSet": {
    "styles": {
      "products": {
        "@media (min-width: 601px)": {
          "margin-left": "-20px"
        }
      }
    }
  },
  "modalProduct": {
    "contents": {
      "img": false,
      "imgWithCarousel": true,
      "button": false,
      "buttonWithQuantity": true
    },
    "styles": {
      "product": {
        "@media (min-width: 601px)": {
          "max-width": "100%",
          "margin-left": "0px",
          "margin-bottom": "0px"
        }
      },
      "button": {
        "font-family": "Open Sans, sans-serif",
        "font-weight": "bold",
        "font-size": "18px",
        "padding-top": "17px",
        "padding-bottom": "17px",
        ":hover": {
          "background-color": "#0187a7"
        },
        "background-color": "#0196ba",
        ":focus": {
          "background-color": "#0187a7"
        },
        "border-radius": "5px",
        "padding-left": "50px",
        "padding-right": "50px"
      },
      "quantityInput": {
        "font-size": "18px",
        "padding-top": "17px",
        "padding-bottom": "17px"
      }
    },
    "googleFonts": [
      "Open Sans"
    ]
  },
  "option": {},
  "cart": {
    "styles": {
      "button": {
        "font-family": "Open Sans, sans-serif",
        "font-weight": "bold",
        "font-size": "18px",
        "padding-top": "17px",
        "padding-bottom": "17px",
        ":hover": {
          "background-color": "#0187a7"
        },
        "background-color": "#0196ba",
        ":focus": {
          "background-color": "#0187a7"
        },
        "border-radius": "5px"
      },
      "title": {
        "color": "#4c4c4c"
      },
      "header": {
        "color": "#4c4c4c"
      },
      "lineItems": {
        "color": "#4c4c4c"
      },
      "subtotalText": {
        "color": "#4c4c4c"
      },
      "subtotal": {
        "color": "#4c4c4c"
      },
      "notice": {
        "color": "#4c4c4c"
      },
      "currency": {
        "color": "#4c4c4c"
      },
      "close": {
        "color": "#4c4c4c",
        ":hover": {
          "color": "#4c4c4c"
        }
      },
      "empty": {
        "color": "#4c4c4c"
      },
      "noteDescription": {
        "color": "#4c4c4c"
      },
      "discountText": {
        "color": "#4c4c4c"
      },
      "discountIcon": {
        "fill": "#4c4c4c"
      },
      "discountAmount": {
        "color": "#4c4c4c"
      }
    },
    "googleFonts": [
      "Open Sans"
    ]
  },
  "toggle": {
    "styles": {
      "toggle": {
        "font-family": "Open Sans, sans-serif",
        "font-weight": "bold",
        "background-color": "#0196ba",
        ":hover": {
          "background-color": "#0187a7"
        },
        ":focus": {
          "background-color": "#0187a7"
        }
      },
      "count": {
        "font-size": "18px"
      }
    },
    "googleFonts": [
      "Open Sans"
    ]
  },
  "lineItem": {
    "styles": {
      "variantTitle": {
        "color": "#4c4c4c"
      },
      "title": {
        "color": "#4c4c4c"
      },
      "price": {
        "color": "#4c4c4c"
      },
      "fullPrice": {
        "color": "#4c4c4c"
      },
      "discount": {
        "color": "#4c4c4c"
      },
      "discountIcon": {
        "fill": "#4c4c4c"
      },
      "quantity": {
        "color": "#4c4c4c"
      },
      "quantityIncrement": {
        "color": "#4c4c4c",
        "border-color": "#4c4c4c"
      },
      "quantityDecrement": {
        "color": "#4c4c4c",
        "border-color": "#4c4c4c"
      },
      "quantityInput": {
        "color": "#4c4c4c",
        "border-color": "#4c4c4c"
      }
    }
  }
},
      });
    });
  }
})();
/*]]>*/
</script>
</html>
<td>
{{spaces|75}}<div align="right">{{ContactUs Button}}</div>
<td>
</td>
</tr>
</table>
</center>
<br>


== Get Docker Images ==




Get the [https://developer.ridgerun.com/wiki/index.php/Metropolis_Microservices/RidgeRun_Services/PTZ PTZ service]
<pre>
docker pull ridgerun/ptz-service
</pre>
Get the [https://developer.ridgerun.com/wiki/index.php/Metropolis_Microservices/RidgeRun_Services/Detection Detection service] 
<pre>
docker pull ridgerun/detection-service
</pre>
Get the [https://developer.ridgerun.com/wiki/index.php/Metropolis_Microservices/RidgeRun_Services/AI_Agent AI Agent service]
<pre>
docker pull ridgerun/ai-agent-service
</pre>
Get the [https://developer.ridgerun.com/wiki/index.php/Metropolis_Microservices/RidgeRun_Services/Analytics Analytics service]
<pre>
docker pull ridgerun/analytics-service
</pre>
{{Colored box|background-content-color=#EDF1F7|background-title-color=#6586B9|title-color=#FFFFFF|title='''Note'''|icon=notice-icon-white.png
  |style=overflow:hidden;
  |content=
If you want to run the demo, jump to [[Metropolis Microservices/RidgeRun Microservices Demo/Running the Demo|Running the Demo]]
}}
== Get Services Source Code ==
In the following links, you can download the source code of each RidgeRun Microservices used in this Demo:
'''RidgeRun Microservices repositories links:'''
#[https://github.com/RidgeRun/ptz-service.git '''PTZ Microservice''']
#[https://github.com/RidgeRun/detection-service.git '''Detection Microservice''']
#[https://github.com/RidgeRun/ai-agent-service.git '''AI Agent''']
#[https://github.com/RidgeRun/analytics-service.git '''Analytics''']
#[https://github.com/RidgeRun/rrms-utils.git '''RRMS-Utils''']


<noinclude>
<noinclude>
{{Metropolis Microservices/Foot||}}
{{Metropolis Microservices/Foot
|previous=https://developer.ridgerun.com/wiki/index.php/Metropolis_Microservices/RidgeRun Microservices Demo/Demo Description
|next=https://developer.ridgerun.com/wiki/index.php/Metropolis_Microservices/RidgeRun Microservices Demo/Running the Demo
}}
</noinclude>
</noinclude>

Latest revision as of 21:27, 9 August 2024






For your convenience, a set of prebuilt docker images is available in DockerHub that will allow you to run the SmartSeek360 demo in a few steps. If you want to obtain the code for each service go to Get Services Source Code.

Get Docker Images

Get the PTZ service

docker pull ridgerun/ptz-service 

Get the Detection service

docker pull ridgerun/detection-service

Get the AI Agent service

docker pull ridgerun/ai-agent-service

Get the Analytics service

docker pull ridgerun/analytics-service
Note
If you want to run the demo, jump to Running the Demo

Get Services Source Code

In the following links, you can download the source code of each RidgeRun Microservices used in this Demo:

RidgeRun Microservices repositories links:

  1. PTZ Microservice
  2. Detection Microservice
  3. AI Agent
  4. Analytics
  5. RRMS-Utils