{"id":17497408,"url":"https://github.com/brint/example-template","last_synced_at":"2026-01-29T05:37:14.792Z","repository":{"id":17854663,"uuid":"20776644","full_name":"brint/example-template","owner":"brint","description":"Example template","archived":false,"fork":false,"pushed_at":"2014-06-12T17:37:38.000Z","size":128,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T05:19:22.638Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brint.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}},"created_at":"2014-06-12T17:32:07.000Z","updated_at":"2014-06-12T17:37:36.000Z","dependencies_parsed_at":"2022-07-10T06:46:15.150Z","dependency_job_id":null,"html_url":"https://github.com/brint/example-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brint%2Fexample-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brint%2Fexample-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brint%2Fexample-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brint%2Fexample-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brint","download_url":"https://codeload.github.com/brint/example-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246828503,"owners_count":20840474,"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":[],"created_at":"2024-10-19T15:43:52.175Z","updated_at":"2026-01-29T05:37:14.747Z","avatar_url":"https://github.com/brint.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Description\n===========\n\nThis is a template for deploying a given shared image ID. This template is\npurely an example.\n\nFirst, [create an Image](http://www.rackspace.com/knowledge_center/article/cloud-essentials-creating-an-image-backup-cloning-and-restoring-a-server-from-a-saved-image).\n\nYou will need the Image ID.  There are two ways to get the UUID of the image:\n\n1. In [mycloud.rackspace.com](https://mycloud.rackspace.com/), click 'Saved\n  Images', click the gear cog next to your image and click 'Create Server with\n  Image'. You will see the imageId listed at the end of the url.\n2. Using\n  [python-novaclient](http://www.rackspace.com/knowledge_center/article/installing-python-novaclient-on-linux-and-mac-os),\n  run `nova image-list` with your cloud credentials.\n\nRequirements\n============\n* An OpenStack username, password, and tenant id.\n* [python-heatclient](https://github.com/openstack/python-heatclient)\n`\u003e= v0.2.8`:\n\n```bash\npip install python-heatclient\n```\n\nWe recommend installing the client within a [Python virtual\nenvironment](http://www.virtualenv.org/).\n\nExample Usage\n=============\nHere is an example of how to deploy this template using the\n[python-heatclient](https://github.com/openstack/python-heatclient):\n\n```\nheat --os-username \u003cOS-USERNAME\u003e --os-password \u003cOS-PASSWORD\u003e --os-tenant-id \\\n  \u003cTENANT-ID\u003e --os-auth-url https://identity.api.rackspacecloud.com/v2.0/ \\\n  stack-create Example-Stack -f example.yaml \\\n  -P flavor=\"1 GB Performance\"\n```\n\n* For UK customers, use `https://lon.identity.api.rackspacecloud.com/v2.0/` as\nthe `--os-auth-url`.\n\nOptionally, set environmental variables to avoid needing to provide these\nvalues every time a call is made:\n\n```\nexport OS_USERNAME=\u003cUSERNAME\u003e\nexport OS_PASSWORD=\u003cPASSWORD\u003e\nexport OS_TENANT_ID=\u003cTENANT-ID\u003e\nexport OS_AUTH_URL=\u003cAUTH-URL\u003e\n```\n\nParameters\n==========\nParameters can be replaced with your own values when standing up a stack. Use\nthe `-P` flag to specify a custom parameter.\n\n* `db_image`: Image to use for the Database server (Default:\n  5cc098a5-7286-4b96-b3a2-49f4c4f82537 - Ubuntu 14.04)\n* `web_image`: Image to use for the Web server (Default:\n  5cc098a5-7286-4b96-b3a2-49f4c4f82537 - Ubuntu 14.04)\n* `flavor`: Size of the server to provision (Default: 1 GB Performance)\n\nOutputs\n=======\nOnce a stack comes online, use `heat output-list` to see all available outputs.\nUse `heat output-show \u003cOUTPUT NAME\u003e` to get the value fo a specific output.\n\n* `private_key`: SSH private that can be used to login as root to the server.\n* `web_server_ip`: Public IP address of the web server\n* `db_server_ip`: Public IP address of the db server\n* `database_password`: Password for the database user\n* `site_url`: URL to access the site\n\nFor multi-line values, the response will come in an escaped form. To get rid of\nthe escapes, use `echo -e '\u003cSTRING\u003e' \u003e file.txt`. For vim users, a substitution\ncan be done within a file using `%s/\\\\n/\\r/g`.\n\nLicense\n=======\n```\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrint%2Fexample-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrint%2Fexample-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrint%2Fexample-template/lists"}