{"id":16229696,"url":"https://github.com/indaco/predix-dac-bootstrap","last_synced_at":"2025-04-08T05:43:06.997Z","repository":{"id":136250387,"uuid":"90754998","full_name":"indaco/predix-dac-bootstrap","owner":"indaco","description":"Create and configure the Predix services needed to start using DAC for serious stuff","archived":false,"fork":false,"pushed_at":"2017-11-02T12:02:42.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-14T03:48:16.669Z","etag":null,"topics":["ammonite","cloud-foundry","predix","scala","script","utility"],"latest_commit_sha":null,"homepage":"","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/indaco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-09T14:27:31.000Z","updated_at":"2017-05-09T17:02:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"fe92bda8-b86a-4b4b-83d9-3f31b107e631","html_url":"https://github.com/indaco/predix-dac-bootstrap","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indaco%2Fpredix-dac-bootstrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indaco%2Fpredix-dac-bootstrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indaco%2Fpredix-dac-bootstrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indaco%2Fpredix-dac-bootstrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/indaco","download_url":"https://codeload.github.com/indaco/predix-dac-bootstrap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247785920,"owners_count":20995642,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ammonite","cloud-foundry","predix","scala","script","utility"],"created_at":"2024-10-10T12:58:59.281Z","updated_at":"2025-04-08T05:43:06.588Z","avatar_url":"https://github.com/indaco.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Predix DAC Bootstrap - Utility Script\n\nAre you interested in using Decisyon App Composer (DAC) for Predix and looking for a one-step configuration approach? Run this script to setup all you need to start using DAC.\n\nThe script creates instances on Predix for the following services: UAA, Timeseries, Asset and DAC and it configures them to provide a ready-to-use environment for DAC on Predix (necessary authorities, scopes, create a UAA user, create UAA client_id, UAA groups etc.)\n\nFor sure, it is a quick and dirty script but it should work. I know, it is not perfect. My intention was not to create a perfect piece  but a usable one.\n\n## What is DAC?\n\nThe Decisyon App Composer (DAC) was created to rapidly construct prototypes and production applications that leverage Predix and other native microservices to inject real-time intelligence into business operations.\n\nBuild app pages in minutes using DAC's intuitive visual editor, eliminating long, laborious, and error-prone software development, test, and release cycles.\n\nFurther information available [here](https://www.predix.io/services/service.html?id=2018).\n\n### DAC Prerequisites\n\nMake sure to install the required prerequisites to use DAC Design Time VM:\n\n- [Java Virtual Machine](https://java.com/en/download/)\n- [Oracle VirtualBox](https://www.virtualbox.org/wiki/Downloads)\n- [Vagrant](https://www.vagrantup.com/downloads.html)\n- [Decisyon App Composer Starter Kit](http://decisyon.com/docs/Decisyon_App_Composer_Starter_Kit.pdf) to guide you through the design and deployment of your App Composer application to the Predix cloud.\n\n## Prerequisites\n\nMake sure to have the required prerequisites in place:\n\n- A working internet connection :-)\n- An account on Predix.io\n- [Git](https://git-scm.com/downloads)\n- [Cloud Foundry CLI](https://github.com/cloudfoundry/cli)\n- [Ammonite](http://www.lihaoyi.com/Ammonite/) that lets you use the Scala language for scripting purposes.\n\n## How to use it?\n\nThis script has been developed and tested against Scala 2.12.1 Java 1.8.0_73 on Linux (Ubuntu) and Mac OSX 10.x.\n\nBelow the steps for Linux and Mac users:\n\n1. Configure networks and proxies\n2. Execute the following steps to clone the repos and run the script\n\n```\n$ git clone https://github.com/indaco/predix-dacdemo-setup\n$ cd predix-dacdemo-setup\n$ amm main.sc\n```\n\nWindows users can use the DAC VM to execute the script. Below the steps:\n\n1. Use the [Decisyon App Composer Starter Kit](http://decisyon.com/docs/Decisyon_App_Composer_Starter_Kit.pdf) to download and run the DAC Design Time VM\n2. Configure networks and proxies\n3. Open a terminal window on the VM\n4. Execute the following steps to clone the repos and run the script\n\n```\n$ git clone https://github.com/indaco/predix-dacdemo-setup\n$ cd predix-dacdemo-setup\n$ amm main.sc\n```\n#### Notes\n\n`src/variables.sc` file contains the default settings for the script (e.g. predix service plan, service names, instance names, client_id, user details etc.). Adapt them to your preferences.\n\n#### Results\n\nThe scripts generates a JSON file with details about the services created. It can be used for further reference. It is exactly the output for `cf env appName` command.\n\n## And Now?\n\nRefer to the Use the [Decisyon App Composer Starter Kit](http://decisyon.com/docs/Decisyon_App_Composer_Starter_Kit.pdf) for a complete tutorial on how to compose and deploy an application developed with DAC on Predix.\n\n--------------------------------------------------------------------------------\n\n#### Known Issues\n\n- empty list\n\n--------------------------------------------------------------------------------\n\n#### Closed Issues\n\n- [Pushing the sample_app to Predix could freeze the script at \"starting app\"](https://github.com/indaco/predix-dac-bootstrap/issues/1)\n\n--------------------------------------------------------------------------------\n\n#### DISCLAIMER\n\n- This is not an official development neither from the GE Digital's Predix Team and Decisyon Team.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findaco%2Fpredix-dac-bootstrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Findaco%2Fpredix-dac-bootstrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findaco%2Fpredix-dac-bootstrap/lists"}