Simple containerized development environments directly from the command line
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
Gemfile
Gemfile.lock
LICENSE
README.md
kapten.gemspec

README.md

Kapten

Create simple and containerized development environments from the command line. Say goodbye to dependency issues, language version management, and complicated setups.

Supports:

  • Ruby
  • Python
  • Node.js
  • Elixir
  • PHP
  • Go
  • Haskell
  • Java
  • Perl

Installation

$ gem install kapten

Kapten is built upon and requires Docker.

Usage

Creating a development environment with Kapten requires only two commands. Start by navigating to your project's root directory and run:

$ kapten init ruby|python|node|elixir|php|go|haskell|java|perl

After initialization you can start your environment by running:

$ kapten start

Your isolated environment will now set itself up and once finished boot into a shell with all the necessities for your chosen language. If you need more than one shell simply run kapten start again.

Docker and containers

Kapten environments are really barebones Docker containers into which your projects files are mounted. The containers will continue running in the background after you disconnect. It's recommended to stop an environment with $ kapten stop once finished.

More commands:

# Get info about the current environment and its status.
$ kapten info

# Remove environment and container. Use 'kapten start' to start fresh.
$ kapten destroy

# Fully remove Kapten from your project.
$ kapten remove

License

Kapten is licensed under MIT.