Project

devbin

0.0
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
Power up the containerized workspace with docker + docker-sync. Run command anywhere in your workspace
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.17
~> 10.0
~> 3.0

Runtime

~> 0.7.2
~> 0.20.0
~> 0.3.0
~> 0.4
~> 0.8.0
~> 0.3.0
~> 0.5.0
~> 0.7.0
~> 0.2.0
~> 0.5.0
~> 0.12.0
~> 0.1.0
~> 0.2.0
~> 0.18.0
~> 0.9.0
~> 0.10.0
~> 0.2.0
~> 0.4
 Project Readme

devbin

Working in multiple containerized environment seamlessly. Within the application folder, type one command, give the name of other application, then it should work.

  • Up and running in minute asciicast
  • Seamlessly control the stack asciicast

P/S: this tool is under active development, commands might be changed until it reached v0.1.0

Motivation

When working in a multiple containerized environment, it gets boring to repeatedly make cd back and forth between application's folders to execute some commands.
The Convention-Over-Configuration pattern is quite popular this day, we all name our containers, arrange folders base on some predictable rules, then make some command alias for faster integrate with other containers. devbin will help us to bootstrapping + managing our environment seamlessly.

The idea is: just remember the application name + the command you want to execute, devbin do all other boring things.

samples
├── app-one
│   ├── Gemfile
│   ├── Gemfile.lock
│   └── app.rb
├── app-two
│   ├── Gemfile
│   ├── Gemfile.lock
│   └── app.rb
├── docker
│   └── docker-compose.yml
└── docker-sync.yml

With devbin, you can stay at samples/app-one or samples and control the stack seamlessly:

$ devbin start app-one --detach
$ devbin start app-two

Installation

Install gem as as:

$ gem install devbin

Usage

TL; DR;

$ devbin help

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/yeuem1vannam/devbin. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

Code of Conduct

Everyone interacting in the Devbin project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

Copyright

Copyright (c) 2019 Phuong 'J' Le H. See MIT License for further details.