dip
bashly
Our great sponsors
dip | bashly | |
---|---|---|
7 | 14 | |
1,217 | 1,925 | |
- | - | |
7.4 | 9.4 | |
about 1 month ago | 5 days ago | |
Ruby | Ruby | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dip
-
Dockerizing a Ruby on Rails Application
And then also add dip to get rid of these lengthy docker compose run prefixes from the every command typed in your console.
-
Rails-docker-box, or developing Rails within a dockerized environment
So, I went the old-fashioned way and added Dip to the mix. Now I can run all the familiar commands (bundle, rake, etc.) from my host system (with a dip prefix) without thinking about all the docker-compose --rm --it bla-bla. Moreover, I can cd into a subfolder (say, actioncable), and execute commands from there just like on a host machine:
-
Don't like long, verbose Docker-compose command?
And in this case this utility can safe us. DIP has two possible modes:
- Show HN: Dockerized – Run CLI tools without installation
- Building a Comfortable Dev Environment
-
My hybrid approach to Dockerizing Rails applications
I'd be sure to also check out (if you haven't already) https://evilmartians.com/chronicles/ruby-on-whales-docker-for-ruby-rails-development, it might have some solutions to your problems, like using a cached Docker volume to mount your application's directory. Evil Martians also developed DIP to help make the Docker workflow more approachable.
bashly
-
Ask HN: Any tool for managing large and variable command lines?
It's heavily inspired by ArgBash (https://argbash.dev/) and uses parts of bashly (https://github.com/DannyBen/bashly/) which are very similar tools :)
- Bashly: Command line application to generate feature-rich bash CLI tools
- Modules, frameworks, libararies
-
What about reviewing Bashly tool?
Here it's site.
- Argbash – Bash Argument Parsing Code Generator
-
How do you manage your local environment?
To remove most of the manual things you have to do to make an environment operational, we also use a bash layer on top of Docker. Takes care of initializing of your database, API or any other services for you and puts multiple docker commands under much simpler ones. So even a junior with minimal experience can run it. I use bashly to generate the bash scripts, recommend that useful generator.
- Bashly is a command line application (written in Ruby) that lets you generate feature-rich bash command line tools.
- GitHub - DannyBen/bashly: Bash command line framework and CLI generator
- Bashly – Create beautiful bash scripts from simple YAML configuration
What are some alternatives?
circleci-cli - :cyclone: CLI client / command line tool for CircleCI
ShellCheck - ShellCheck, a static analysis tool for shell scripts
overmind - Process manager for Procfile-based applications and tmux
HomeBrew - 🍺 The missing package manager for macOS (or Linux)
Swinject - Dependency injection framework for Swift with iOS/macOS/Linux
fastlane - 🚀 The easiest way to automate building and releasing your iOS and Android apps
GooglePlacesAutocomplete - Google Places address entry for iOS (Swift)
ngs - Next Generation Shell (NGS)
edge-computing-resty - a simple edge computing platform using nginx, lua and rails
hofmod-cli - Hofstadter generator for Golang CLIs
rails - Ruby on Rails
run - Task runner that helps you easily manage and invoke small scripts and wrappers