معرفی شرکت ها


devpod-0.3.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

-
ویژگی مقدار
سیستم عامل -
نام فایل devpod-0.3.0
نام devpod
نسخه کتابخانه 0.3.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده David Strauss
ایمیل نویسنده david@davidstrauss.net
آدرس صفحه اصلی https://github.com/davidstrauss/devpod
آدرس اینترنتی https://pypi.org/project/devpod/
مجوز MIT
# DevPod: Rootless, FOSS .DevContainer Tooling A support framework for using `.devcontainer` on Linux desktops. Let's start with Buildah + Podman + Builder, but the project is open to contributions for other IDE integrations. ## Example Project **This example assumes a working Podman installation, which exists out of the box on [Fedora Silverblue](https://silverblue.fedoraproject.org/) but is also available on [many distributions and platforms](https://podman.io/getting-started/installation).** 1. Install this utility: pip install devpod 1. Clone [Microsoft's PHP sample repository](https://github.com/microsoft/vscode-remote-try-php) and make it the working directory: git clone https://github.com/microsoft/vscode-remote-try-php.git cd vscode-remote-try-php/ 1. In `.devcontainer/devcontainer.json`, uncomment the `postCreateCommand` directive and ensure there's a comma at the end of the line [if not yet fixed](https://github.com/microsoft/vscode-remote-try-php/pull/9). ![Uncomment postCreateCommand](https://github.com/davidstrauss/devpod/blob/main/screenshots/devcontainer_json.png?raw=true) 1. Build the container and launch: devpod run --launch ![Building and launching the container](https://github.com/davidstrauss/devpod/blob/main/screenshots/devpod_run_launch.png?raw=true) 1. Edit `index.php` in your IDE and reload the page in your Browser to see changes. ![Showing index.php in the IDE](https://github.com/davidstrauss/devpod/blob/main/screenshots/index_php.png?raw=true) ![Showing index.php in the browser](https://github.com/davidstrauss/devpod/blob/main/screenshots/browser.png?raw=true) ## Basic Setup and Usage ### Setup **These instructions should work out of the box on Fedora Silverblue 33+.** 1. Install this utility (choosing an alternative to `pip` like `pipx` if you like): pip install devpod ### Usage 1. In the CLI, change to the parent directory of `.devcontainer` for your project. 1. Run the utility (which will *delete* any container with the same name as your project directory): devpod run --launch # Will open a browser to forwarded ports. ### Troubleshooting * The `launch` command should list any open ports at the end of the process, but you can also list them using Podman directly: podman port --latest ## Developing DevPod Itself ### Installing the CLI Tool from Local Builds **These instructions have been tested on Fedora Silverblue 33 but are probably adaptable to other setups.** 1. Install Python package tooling (using a [Toolbox](https://docs.fedoraproject.org/en-US/fedora-silverblue/toolbox/) if desired): sudo dnf install poetry pipx 1. Clone the DevPod code and make it your working directory. 1. Build and (re)install the utility for global use: rm -rf dist/ && poetry build && pipx install --force dist/devpod-*.tar.gz 1. The `devpod` command should now be globally available to your user, even outside of any Toolbox. ## Resources * [.devcontainer Reference Documentation](https://code.visualstudio.com/docs/remote/devcontainerjson-reference) * [Podman Commands Documentation](http://docs.podman.io/en/latest/Commands.html) * Rootless Podman * [Shortcomings of Rootless Podman](https://github.com/containers/podman/blob/master/rootless.md) * [Volumes and Rootless Podman](https://blog.christophersmart.com/2021/01/31/volumes-and-rootless-podman/) * [User Namespaces, SELinux, and Rootless Containers](https://www.redhat.com/sysadmin/user-namespaces-selinux-rootless-containers)


نیازمندی

مقدار نام
>=7.1.2,<8.0.0 click


زبان مورد نیاز

مقدار نام
>=3.9,<4.0 Python


نحوه نصب


نصب پکیج whl devpod-0.3.0:

    pip install devpod-0.3.0.whl


نصب پکیج tar.gz devpod-0.3.0:

    pip install devpod-0.3.0.tar.gz