Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabianlindfors/kapten
Simple containerized development environments directly from the command line
https://github.com/fabianlindfors/kapten
environment ruby
Last synced: about 2 months ago
JSON representation
Simple containerized development environments directly from the command line
- Host: GitHub
- URL: https://github.com/fabianlindfors/kapten
- Owner: fabianlindfors
- License: mit
- Created: 2017-04-15T00:34:33.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-03-02T23:54:31.000Z (almost 5 years ago)
- Last Synced: 2024-10-31T21:35:13.032Z (about 2 months ago)
- Topics: environment, ruby
- Language: Ruby
- Homepage:
- Size: 10.7 KB
- Stars: 51
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://www.docker.com).
## 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](https://github.com/Fabianlindfors/kapten/blob/master/LICENSE).