Skip to main content

No project description provided

Project description

DevPod, A FOSS .devcontainer

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.

Basic Setup and Usage

Setup

  1. Install GNOME Builder (example uses Flatpak, but a normal package works, too):

    flatpak install flathub org.gnome.Builder
    
  2. This project isn't yet on PyPI, so follow the "local builds" instructions under "developing."

Usage

  1. In the CLI, change to the parent directory of .devcontainer for your project.

  2. Run the utility (which will delete any container with the same name as your project directory):

    devpod launch
    
  3. 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
    
  4. Connect using a Web browser. For example, if the output of port is 80/tcp -> 0.0.0.0:12345, then open a browser to http://localhost:12345/.

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 if desired):

    sudo dnf install poetry pipx
    
  2. Clone the DevPod code and make it your working directory.

  3. Build and (re)install the utility for global use:

    rm -rf dist/ && poetry build && pipx install --force dist/devpod-*.tar.gz
    
  4. The devpod command should now be globally available to your user, even outside of any Toolbox.

Resources

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

devpod-0.1.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

devpod-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file devpod-0.1.0.tar.gz.

File metadata

  • Download URL: devpod-0.1.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.9.2 Linux/5.11.7-200.fc33.x86_64

File hashes

Hashes for devpod-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3c5d234fea62242e2620e85fb7d5cb0699532978c8f7447d0bf0a09908087c32
MD5 fbae89d87a5a045ed29a4adee0da1084
BLAKE2b-256 a138ea76b798598884dbf254a300374de591f11bee75be659014d164e298a363

See more details on using hashes here.

Provenance

File details

Details for the file devpod-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: devpod-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.9.2 Linux/5.11.7-200.fc33.x86_64

File hashes

Hashes for devpod-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54f566c64ca4a0101530ce3ec7bab156e061fc941a458a7884665841250f2625
MD5 c26cb104307fa2e49539788aa31d8436
BLAKE2b-256 4d3d33841511f10b3b20040b61730ff915bf1adb6c6e0a05678a0abfb58fabe3

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page