{"id":24849371,"url":"https://github.com/bugbiteme/codestar-test","last_synced_at":"2025-03-26T11:25:43.698Z","repository":{"id":71384395,"uuid":"199087425","full_name":"bugbiteme/codestar-test","owner":"bugbiteme","description":"GitHub repository for AWS CodeStar Python (Flask) web service codestar-test.","archived":false,"fork":false,"pushed_at":"2023-05-01T20:35:56.000Z","size":6,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T12:36:18.293Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":false,"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/bugbiteme.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-26T22:31:37.000Z","updated_at":"2019-07-26T22:31:52.000Z","dependencies_parsed_at":"2025-01-31T12:43:16.703Z","dependency_job_id":null,"html_url":"https://github.com/bugbiteme/codestar-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/bugbiteme%2Fcodestar-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugbiteme%2Fcodestar-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugbiteme%2Fcodestar-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugbiteme%2Fcodestar-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bugbiteme","download_url":"https://codeload.github.com/bugbiteme/codestar-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245642743,"owners_count":20648912,"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":"2025-01-31T12:31:02.401Z","updated_at":"2025-03-26T11:25:43.691Z","avatar_url":"https://github.com/bugbiteme.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Welcome to the AWS CodeStar sample web service\n==============================================\n\nThis sample code helps get you started with a simple Flask web service\ndeployed by AWS Elastic Beanstalk and AWS CloudFormation.\n\nWhat's Here\n-----------\n\nThis sample includes:\n\n* README.md - this file\n* buildspec.yml - this file is used by AWS CodeBuild to package your\n  application for deployment to AWS Lambda\n* requirements.txt - this file is used install Python dependencies needed by\n  the Flask application\n* setup.py - this file is used by Python's setuptools library to describe how\n  your application will be packaged and installed\n* helloworld/ - this directory contains the Python source code for your Flask application\n* tests/ - this directory contains unit tests for your application\n* .ebextensions/ - this directory contains the configuration files that allow\n  AWS Elastic Beanstalk to deploy your application\n* template.yml - this file contains the description of AWS resources used by AWS\n  CloudFormation to deploy your infrastructure\n* template-configuration.json - this file contains the project ARN with placeholders used for tagging resources with the project ID\n\nGetting Started\n---------------\n\nThese directions assume you want to develop on your local computer, and not\nfrom the Amazon EC2 instance itself. If you're on the Amazon EC2 instance, the\nvirtual environment is already set up for you, and you can start working on the\ncode.\n\nTo work on the sample code, you'll need to clone your project's repository to your\nlocal computer. If you haven't, do that first. You can find instructions in the\nAWS CodeStar user guide.\n\n1. Create a Python virtual environment for your Flask project. This virtual\n   environment allows you to isolate this project and install any packages you\n   need without affecting the system Python installation. At the terminal, type\n   the following command:\n\n        $ virtualenv .venv\n\n2. Activate the virtual environment:\n\n        $ activate ./venv/bin/activate\n\n3. Install Python dependencies for this project:\n\n        $ pip install -r requirements.txt\n\n4. Install the sample application code into your virtual environment:\n\n        $ python setup.py install\n\n5. Start the Flask development server:\n\n        $ python helloworld/application.py --port 8000\n\n6. Open http://127.0.0.1:8000/ in a web browser to view the output of your\n   service.\n\nWhat Do I Do Next?\n------------------\n\nOnce you have a virtual environment running, you can start making changes to\nthe sample Flask web service. We suggest making a small change to application.py first,\nso you can see how changes pushed to your project's repository are automatically picked\nand deployed to the Amazon EC2 instance by AWS Elastic Beanstalk. (You can watch the\nprogress on your project dashboard.) Once you've seen how that works, start developing\nyour own code, and have fun!\n\nTo run your tests locally, go to the root directory of the sample code and run\nthe `python setup.py pytest` command, which AWS CodeBuild also runs through\nyour `buildspec.yml` file.\n\nTo test your new code during the release process, modify the existing tests or\nadd tests to the tests directory. AWS CodeBuild will run the tests during the\nbuild stage of your project pipeline. You can find the test results\nin the AWS CodeBuild console.\n\nLearn more about AWS CodeBuild and how it builds and tests your application here:\nhttps://docs.aws.amazon.com/codebuild/latest/userguide/concepts.html\n\nLearn more about AWS CodeStar by reading the user guide. Ask questions or make\nsuggestions on our forum.\n\nUser Guide: http://docs.aws.amazon.com/codestar/latest/userguide/welcome.html\nForum: https://forums.aws.amazon.com/forum.jspa?forumID=248\n\nBest Practices: https://docs.aws.amazon.com/codestar/latest/userguide/best-practices.html?icmpid=docs_acs_rm_sec\n\nHow Do I Add Template Resources to My Project?\n------------------\n\nTo add AWS resources to your project, you'll need to edit the `template.yml`\nfile in your project's repository. You may also need to modify permissions for\nyour project's worker roles. After you push the template change, AWS CodeStar\nand AWS CloudFormation provision the resources for you.\n\nSee the AWS CodeStar user guide for instructions to modify your template:\nhttps://docs.aws.amazon.com/codestar/latest/userguide/how-to-change-project#customize-project-template.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugbiteme%2Fcodestar-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbugbiteme%2Fcodestar-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugbiteme%2Fcodestar-test/lists"}