Some simple scripts for installing Dokku applications on Ubuntu servers.
I needed a tool to simplify the management of my many dokku-deployed Ruby on Rails apps.
Anvil requires Ruby 2.7 or newer, as it uses ConcurrentRuby to handle doing more than one thing at once.
gem install standard-procedure-anvil
Ultimately the plan is to use Fog to handle building servers.
But until then, you can prepare your servers using CloudInit
Generating a cloudinit file with anvil cloudinit generate
Use the anvil app install
and anvil app deploy
commands to install and deploy your app to your server.
Use anvil app scale
and anvil app reconfigure
to manage and reconfigure your app. (Docs coming soon)
I'm a Rails developer and I built anvil to help me with my Rails apps. Here are some things I learnt along the way.
Check out the Roadmap
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/standard-procedure-anvil.
The gem is available as open source under the terms of the MIT License.