{"id":18524480,"url":"https://github.com/stelligent/munatra","last_synced_at":"2025-05-14T19:17:05.869Z","repository":{"id":145835673,"uuid":"98343101","full_name":"stelligent/munatra","owner":"stelligent","description":"Mu implementation with Sinatra 'Hello World' app and CasperJS acceptance testing.","archived":false,"fork":false,"pushed_at":"2020-01-07T21:33:15.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-12-26T00:26:53.005Z","etag":null,"topics":["mu"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stelligent.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-25T19:36:28.000Z","updated_at":"2020-01-07T21:33:18.000Z","dependencies_parsed_at":"2023-07-16T15:30:45.321Z","dependency_job_id":null,"html_url":"https://github.com/stelligent/munatra","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/stelligent%2Fmunatra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stelligent%2Fmunatra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stelligent%2Fmunatra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stelligent%2Fmunatra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stelligent","download_url":"https://codeload.github.com/stelligent/munatra/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239242066,"owners_count":19605946,"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":["mu"],"created_at":"2024-11-06T17:42:00.186Z","updated_at":"2025-02-17T05:42:06.064Z","avatar_url":"https://github.com/stelligent.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Munatra\n\nExample [sinatra](http://www.sinatrarb.com) implementation of [mu](https://github.com/stelligent/mu), complete with unit testing and CasperJS end-to-end tests. In one command, provision AWS resources for a containerized deployment of an example Sinatra app.\n\n## Installation\n\nTo give AWS CodePipeline access to a private GitHub repository, you will need to generate a [Personal Access Token](https://github.com/settings/tokens/new) with the `repo` scope selected. You will need to supply this when initializing the pipeline.\n\nThe only requirements for deploy is a properly configured [AWS CLI](https://aws.amazon.com/cli/) environment and a [mu](https://github.com/stelligent/mu) setup:\n\n`curl -s https://getmu.io/install.sh | sh`\n\n## Usage\n\n### Demo\n![Demo Video](https://s3.amazonaws.com/munatra-images/MunatraSmall.gif)\n\n### Setup\nTo deploy on an AWS account, simply run: \n```bash\nmu pipeline up -t [GitHub Personal Access Token]\n```\n\nAfterwards, navigate to the Pipeline URL found in the output of `mu service show munatra` to see the build stages of the application. \n\nDevelopment environment endpoint URLs can be found as \"Base URL\" by running: \n```bash\nmu environment show munatradev\n```\n\nAfter a deployment approval is given within AWS CodePipeline and the deploy finishes, the production endpoint URL can be found, similarly as \"Base URL\", by running: \n```bash\nmu environment show munatraprod\n```\n\nTo list all mu environments within your AWS account, just run: \n```bash\nmu environment list\n```\n\n### Cleanup\n\nWhen you're done working with munatra, simply terminate each environment by running: `mu environment terminate [environment_name]`. For example, to terminate the AWS resources for the 'munatradev' environment, simply run: \n```bash\nmu environment terminate munatradev\n```\n\nTo terminate the AWS resources for the CI/CD pipeline, simply run `mu pipeline terminate [service_name]`. In the case of munatra, this would simply be: \n```bash\nmu pipeline terminate munatra\n```\n\nNote: By default, mu leaves behind two Cloudformation stacks for the ECR repository and an S3 bucket for mu. As of this time, they require manual deletion. \n\n### Customization\n\nFor further options for deploying with mu, refer to the [mu documentation](https://github.com/stelligent/mu/wiki) and [examples](https://github.com/stelligent/mu/tree/develop/examples).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstelligent%2Fmunatra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstelligent%2Fmunatra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstelligent%2Fmunatra/lists"}