{"id":27354173,"url":"https://github.com/py7hon/container-llzfiyo","last_synced_at":"2025-04-12T21:53:47.203Z","repository":{"id":287180343,"uuid":"963872627","full_name":"py7hon/container-llzfiyo","owner":"py7hon","description":"Created using https://container-hosting.anotherwebservice.com/#start","archived":false,"fork":false,"pushed_at":"2025-04-10T10:44:01.000Z","size":12,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T11:44:54.134Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://container-llzfiyo.containers.anotherwebservice.com/","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/py7hon.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2025-04-10T10:43:19.000Z","updated_at":"2025-04-10T10:44:04.000Z","dependencies_parsed_at":"2025-04-10T11:44:57.513Z","dependency_job_id":"420afca1-659c-4fdc-a558-82f2624c25a7","html_url":"https://github.com/py7hon/container-llzfiyo","commit_stats":null,"previous_names":["py7hon/container-llzfiyo"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/py7hon%2Fcontainer-llzfiyo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/py7hon%2Fcontainer-llzfiyo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/py7hon%2Fcontainer-llzfiyo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/py7hon%2Fcontainer-llzfiyo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/py7hon","download_url":"https://codeload.github.com/py7hon/container-llzfiyo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248637825,"owners_count":21137538,"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-04-12T21:53:46.494Z","updated_at":"2025-04-12T21:53:47.174Z","avatar_url":"https://github.com/py7hon.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go forth and build! 🚀\n\n## Tutorial: How to make your first commit 📹:\n\nThis video example shows how to:\n\n- Edit your container code\n- Raise a new pull request\n- Deploy the newest version automatically 🚀\n\nhttps://user-images.githubusercontent.com/1718624/216366290-9bcac918-8605-4cf5-a98a-75bb8f722966.mp4\n\n\n\nBy now, you have deployed a container, and in moments, you can visit your app\nlive!\n\n\u003e Be patient! In ~3 mins your app is live, at your [app url](https://container-llzfiyo.containers.anotherwebservice.com/). It even has a free SSL/TLS certificate 🔒 you're welcome!\n\nYou probably want to add code to your app. Good news, your app is ready right now to start coding, which is simple:\n\n1. Edit your code\n2. Commit your code\n3. Push your code `git push origin main`\n\nYour app will be automatically re-deployed with the latest code at: https://container-llzfiyo.containers.anotherwebservice.com/\n\n\u003e You app is deployed already and is working software. Gone are the days of spending weeks coding and then *another* week going to production. No. Go to production *early* and respond to change.\n\n# Getting Started 💻 (locally on your laptop)\n\n\u003e Step 0: You need to download your repo to your computer:\n\n```\ngit clone git@github.com:py7hon/container-llzfiyo.git\ncd container-llzfiyo\n```\n\n\u003e See an error? You might need to setup permissions [here's a guide how to setup repo clone permissions](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account)\n\n1. [Install docker](https://docs.docker.com/get-docker/)\n\n2. Start your container locally: `docker-compose up`\n3. Visit your app locally: http://127.0.0.1:5000/\n\n## View your app locally\n\nVisit: http://127.0.0.1:5000/\n\n### Rebuild container (locally)\nIf you make changes to `Dockerfile`, then you need to rebuild your container image. To rebuild the container image:\n```\ndocker-compose build\n# or \ndocker-compose up --build\n```\n\n# Start coding! Which framework did you choose?\n\nNeed some help to get started?\n\n- [**Flask** quickstart guide](https://flask.palletsprojects.com/en/2.2.x/quickstart/) ⚗️ 🐍\n- [**Django** quide](https://docs.djangoproject.com/en/4.1/topics/http/views/) 📰\n- [**Ruby** quickstart guide](https://github.com/KarmaComputing/rails-quickstart) 💎\n- [**Express** quickstart guide](https://expressjs.com/en/starter/hello-world.html) 🟢\n\n# Debugging\n\nHow do I turn on the debugger?\n\nEnable a breakpoint by adding `breakpoint()` to your code, start your application and run to that point then in a terminal type:\n\n```\ndocker attach container-llzfiyo\n```\nTa-da! You'll be inside the [Python debugger](https://docs.python.org/3/library/pdb.html#module-pdb) ( ⬅️ Read this!)\n\n\n\n## Questions\n\n- How was this built? [All code is here](https://github.com/KarmaComputing/container-hosting)\n- How can I use a customized port numberi/change the port number listened on? You don't need to do this if you use the quickstarts. But if you do want to alter the port: Edit your `Dockerfile` and change `EXPOSE` to the port number you want your app to listen on. Understand that all apps go through the proxy (nginx) listening on port `80` and `443`, requests to your app get proxied (based on your hostname) to the port number you put after `EXPOSE` in your your `Dockerfile`. For example `EXPOSE 3000` means you want the Dokku nginx proxy to forward port `80` and `443` connections to port `3000`. You still need to make your application listen on your chosen port.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpy7hon%2Fcontainer-llzfiyo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpy7hon%2Fcontainer-llzfiyo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpy7hon%2Fcontainer-llzfiyo/lists"}