{"id":16171404,"url":"https://github.com/igormukhingmailcom/test","last_synced_at":"2025-04-07T07:50:34.418Z","repository":{"id":89032867,"uuid":"44005732","full_name":"igormukhingmailcom/test","owner":"igormukhingmailcom","description":"Repo with single index.php file to test ansible environments via Vagrant","archived":false,"fork":false,"pushed_at":"2015-11-03T13:41:11.000Z","size":160,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-13T11:52:45.089Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/igormukhingmailcom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-10T10:12:03.000Z","updated_at":"2015-11-02T08:16:25.000Z","dependencies_parsed_at":"2023-03-07T01:15:16.781Z","dependency_job_id":null,"html_url":"https://github.com/igormukhingmailcom/test","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/igormukhingmailcom%2Ftest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igormukhingmailcom%2Ftest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igormukhingmailcom%2Ftest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igormukhingmailcom%2Ftest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/igormukhingmailcom","download_url":"https://codeload.github.com/igormukhingmailcom/test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247615481,"owners_count":20967182,"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-10T03:23:43.310Z","updated_at":"2025-04-07T07:50:34.387Z","avatar_url":"https://github.com/igormukhingmailcom.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Test app\n\n## Run app on AWS EB\n\nApplication configured for **automatic deployment** to `staging` environment at AWS EB thanks to [Shippable](https://shippable.com).\n\nShippable run tests, build docker image, push image to `hub.docker.com` and deploy image to EB `staging` environment only if `phpunit` tests passed.\n\nOnce QA guys confirm that all OK on `staging` server, you can deploy it to `production` EB environment.\n\n### Deploying to production\n\n#### Manually\n\nGo to `AWS \u003e EB \u003e Application \u003e Application Versions` and manually deploy tested verion to EB `production` environment.\n\n#### Via EB cli\n\n1. Install AWS CLI on Mac OSX:\n\n```\nsudo easy_install pip\npip --version # Check pip version\nsudo pip install awscli\naws --version # Check aws cli version\n```\n\n2. Configure AWS CLI:\n\nType `aws configure` and put your AWS credentials and default region.\n\nCurrently we're using `us-west-2` region.\n\n3. Run next command to deploy given \u003cVERSION\u003e to EB `production` environment:\n\n```\nbin/deploy.sh \u003cVERSION\u003e\n```\n\nFor  example:\n\n```\nbin/deploy.sh 23\n```\n\n## Run app on Docker at Mac OSX\n\n### Prerequisites\n\nLets assume that:\n\n- We named our virtual machine as `default` (`docker-machine create --driver=virtualbox default`).\n- We added next line `eval \"$(docker-machine env default)\"` to `~/.bashrc`, so docker can work properly on every terminal window (run `source ~/.bashrc` on current window to apply changes).\n\n### Running on localhost\n\n```\ndocker-compose up\nssh -L 8080:localhost:8080 -i ~/.docker/machine/machines/default/id_rsa docker@$(docker-machine ip default)\nopen http://localhost:8080\n```\n\nor\n\n```\ndocker-compose up\nopen http://$(docker-machine ip default 2\u003e/dev/null):8080\n```\n\n## To read\n\n- http://docs.shippable.com/autodeploy-to-ebs/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figormukhingmailcom%2Ftest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figormukhingmailcom%2Ftest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figormukhingmailcom%2Ftest/lists"}