What is Mina?
Mina works really fast because it's a deploy Bash script generator. It generates an entire procedure as a Bash script and runs it remotely in the server. Compare this to the likes of Vlad or Capistrano, where each command is run separately on their own SSH sessions. Mina only creates one SSH session per deploy, minimizing the SSH connection overhead.
Mina is a tool in the Server Configuration and Automation category of a tech stack.
Mina is an open source tool with 4.4K GitHub stars and 492 GitHub forks. Here’s a link to Mina's open source repository on GitHub
Who uses Mina?
Companies
17 companies reportedly use Mina in their tech stacks, including doubleSlash, creative.gs, and Bizongo.
Developers
55 developers on StackShare have stated that they use Mina.
Pros of Mina
6
2
1
Mina's Features
- Safe deploys. New releases are built on a temp folder. If the deploy script fails at any point, the build is deleted and it’d be as if nothing happened.
- Locks. Deploy scripts rely on a lockfile ensuring only one deploy can happen at a time.
- Works with anything. While Mina is built with Rails projects it mind, it can be used on just about any type of project deployable via SSH, Ruby or not.
- Built with Rake. Setting up tasks will be very familiar! No YAML files here. Everything is written in Ruby, giving you the power to be as flexible in your configuration as needed.
Mina Alternatives & Comparisons
What are some alternatives to Mina?
Netty
Netty is a NIO client server framework which enables quick and easy development of network applications such as protocol servers and clients. It greatly simplifies and streamlines network programming such as TCP and UDP socket server.
Capistrano
Capistrano is a remote server automation tool. It supports the scripting and execution of arbitrary tasks, and includes a set of sane-default deployment workflows.
Git
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
GitHub
GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
Visual Studio Code
Build and debug modern web and cloud applications. Code is free and available on your favorite platform - Linux, Mac OSX, and Windows.