{"id":21310964,"url":"https://github.com/webqit/webflo-container","last_synced_at":"2026-01-03T03:37:19.987Z","repository":{"id":118600771,"uuid":"352340531","full_name":"webqit/webflo-container","owner":"webqit","description":"Container image for webflo","archived":false,"fork":false,"pushed_at":"2024-08-02T06:58:41.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T09:42:30.711Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/webqit.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":"2021-03-28T13:44:49.000Z","updated_at":"2024-08-02T06:58:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"d5270db0-1678-49df-9e2b-e74a90706f4a","html_url":"https://github.com/webqit/webflo-container","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"0d87f951f27f4c9409b0277e3673b47f6b7a8c95"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webqit%2Fwebflo-container","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webqit%2Fwebflo-container/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webqit%2Fwebflo-container/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webqit%2Fwebflo-container/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webqit","download_url":"https://codeload.github.com/webqit/webflo-container/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243790947,"owners_count":20348378,"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-21T17:15:25.628Z","updated_at":"2026-01-03T03:37:19.959Z","avatar_url":"https://github.com/webqit.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Webflo Container\nThis is simply a node.js container with the `@webqit/webflo` framework installed. Once started, any webflo app can be deployed into the container from any git repository.\n\n## Usage\nThis container image lives on Docker Hub and can be pulled to a local machine or a remote Virtual Machine (VM) on any cloud platform.\n\n+ [To Use Locally](#to-use-locally)\n+ [To Use In the Cloud](#to-use-in-the-cloud)\n* [To Deploy An App From Any Repo](#to-deploy-an-app-from-any-repo)\n\n### To Use Locally\nEnsure you have docker installed on your computer and run the following command from any location on your terminal:\n\n```shell\ndocker pull webqit/webflo:latest\n```\n\nThe above command pulls the `webqit/webflo` image to your local machine. (But this can be automatically done by docker on running any docker commands that reference the `webqit/webflo` image.)\n\nNext is to use the following commands to start the container and the Webflo runtime. In each case, the first part of the command starts the container, while the second part (from `webflo start`) starts the application.\n\n#### To Start\nStart the container using `docker run`; map a port (e.g `80`) of your host machine to `3000` of the container (unless changed webflo expects to run on port `3000`); optionally, give your container a name; reference `webqit/webflo` as the image to use; and lastly, start webflo using `webflo start`.\n\n```shell\ndocker run -d -p 80:3000 --name my-app webqit/webflo webflo start\n```\n\nVisit [localhost](http://localhost) to view your app.\n\n#### To Start In Dev Mode\nWebflo's *dev* mode is the perfect mode for developing locally. All you do is append the `--dev` flag to your webflo commands. [(Learn more)](#)\n\n```shell\ndocker run -d -p 80:3000 --name my-app webqit/webflo webflo start --dev\n```\n\nIn *dev* mode, webflo automatically restarts as you make changes to your codebase. Since webflo now lives inside a container, you'll need to *bind* the directory of your source code on your host machine to the `/home/www/app` directory of the container.\n\n```shell\ndocker run -d -v /Users/me/my-app:/home/www/app -p 80:3000 --name my-app webqit/webflo webflo start --dev\n```\n\n### To Use In the Cloud\nTODO\n\n### To Deploy An App From Any Repo\nWhether running locally or in the cloud, webflo can easily take your application from any git repo. This follows webflo's normal `deploy` command.\n\nSimply point docker at your container (using `docker exec [container-name]`) and execute the `webflo deploy` command.\n\n```shell\ndocker exec my-app webflo deploy https://github.com/me/my-app\n```\n\nIf you will need to install any npm dependencies, you would run `npm install` on the appropriate directory in your container.\n\n```shell\ndocker exec my-app npm install\n```\n\nIf you will need to run additional webflo commands (e.g `webflo restart` to restart the application), you would follow the same pattern above.\n\n```shell\ndocker exec my-app webflo restart\n```\n\n## Extending this Build\nTODO","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebqit%2Fwebflo-container","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebqit%2Fwebflo-container","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebqit%2Fwebflo-container/lists"}