{"id":19308716,"url":"https://github.com/mtulio/flask-sample","last_synced_at":"2025-07-03T18:33:39.894Z","repository":{"id":89055253,"uuid":"93677578","full_name":"mtulio/flask-sample","owner":"mtulio","description":"Sample Flask app to be deployed everywhere =p","archived":false,"fork":false,"pushed_at":"2017-08-15T03:17:18.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-24T03:17:44.353Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/mtulio.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-06-07T20:39:15.000Z","updated_at":"2017-11-23T08:58:50.000Z","dependencies_parsed_at":"2023-06-13T17:54:06.383Z","dependency_job_id":null,"html_url":"https://github.com/mtulio/flask-sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mtulio/flask-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtulio%2Fflask-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtulio%2Fflask-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtulio%2Fflask-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtulio%2Fflask-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mtulio","download_url":"https://codeload.github.com/mtulio/flask-sample/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtulio%2Fflask-sample/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263379522,"owners_count":23457862,"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-11-10T00:16:15.149Z","updated_at":"2025-07-03T18:33:39.862Z","avatar_url":"https://github.com/mtulio.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flask-sample\n\nSample Flask application to deploy wherever you want. \n\nI can see here some platforms to use.\n\n## Deploy usage\n\n### Docker\n\n* Deploy an image\n\n```bash\nsudo docker build -t python-sample-flask .\n```\n\n* Run the container\n\n```bash\nsudo docker run -d -p 8080:8080 python-sample-flask\n```\n\n* Call the app\n\n```bash\n$ curl http://localhost:8080\nHello, World! 50efdd315409\n```\n\n### ECS\n\n\u003e Considering that you've created an repository named `python-sample-flask`\n\n* Login into AWS ECR\n\n```bash\nsudo $(aws ecr get-login --no-include-email --region us-east-1)\n```\n\n* Build the image\n\n```bash\nsudo docker build -t python-sample-flask .\n```\n\n* Tag the image\n\n```bash\nsudo docker tag python-sample-flask:latest \u003cACCOUNT_ID\u003e.dkr.ecr.us-east-1.amazonaws.com/python-sample-flask:latest\n```\n\n* Push to AWS ECR\n\n```bash\nsudo docker push \u003cACCOUNT_ID\u003e.dkr.ecr.us-east-1.amazonaws.com/python-sample-flask:latest\n```\n\n\n### Serverless\n\n\u003e TODO\n\n* API Gateway Lambda Proxy\n\n\nmake serverless-apigw\n\n\n\n### Zappa\n\n\u003e TODO\n\n### Heroku\n\n\u003e TODO\n\n### Openshift Cloud\n\n\u003e TODO\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtulio%2Fflask-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtulio%2Fflask-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtulio%2Fflask-sample/lists"}