{"id":16229703,"url":"https://github.com/indaco/predix-demo-bootstrap","last_synced_at":"2025-07-29T15:15:52.003Z","repository":{"id":136250380,"uuid":"97921308","full_name":"indaco/predix-demo-bootstrap","owner":"indaco","description":"Create and configure some Predix services and start using Predix.","archived":false,"fork":false,"pushed_at":"2017-11-02T12:00:38.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T05:43:05.574Z","etag":null,"topics":["ammonite-scripts","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-07-21T07:50:08.000Z","updated_at":"2017-07-21T07:53:28.000Z","dependencies_parsed_at":"2023-07-13T20:16:17.120Z","dependency_job_id":null,"html_url":"https://github.com/indaco/predix-demo-bootstrap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/indaco/predix-demo-bootstrap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indaco%2Fpredix-demo-bootstrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indaco%2Fpredix-demo-bootstrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indaco%2Fpredix-demo-bootstrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indaco%2Fpredix-demo-bootstrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/indaco","download_url":"https://codeload.github.com/indaco/predix-demo-bootstrap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indaco%2Fpredix-demo-bootstrap/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267706993,"owners_count":24131296,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-scripts","predix","scala","script","utility"],"created_at":"2024-10-10T12:59:00.091Z","updated_at":"2025-07-29T15:15:51.960Z","avatar_url":"https://github.com/indaco.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Predix Demo Bootstrap - Utility Script\n\nThe script creates instances on Predix for the following services: UAA, Timeseries, Asset, PostgreSQL and configures them to provide a ready-to-use Predix environment for your demos  (necessary authorities, scopes, create a UAA user, create UAA client_id, UAA groups etc.)\n\nMy intention was not to create a perfect piece of software but a usable one.\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.x 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-demo-setup\n$ cd predix-demo-setup\n$ amm main.sc\n```\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\nWell done, your Predix environment is ready for you!\n\nIt's time now to ingest some dummy data or create some dummy asset so, use the [Predix Tool Kit ](https://predix-starter.run.aws-usw02-pr.ice.predix.io) if are already familiar with it or have a look on [Predix.io](https://www.predix.io/) to learn how to use the [Predix Machine](https://docs.predix.io/en-US/content/service/edge_software_and_services/machine/) for a real-life scenario.\n\n--------------------------------------------------------------------------------\n\n#### DISCLAIMER\n\nThis is not an official development neither from the GE Digital's Predix Team.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findaco%2Fpredix-demo-bootstrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Findaco%2Fpredix-demo-bootstrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findaco%2Fpredix-demo-bootstrap/lists"}