Skip to content

Instantly share code, notes, and snippets.

@Epigene
Last active August 29, 2015 14:07
Show Gist options
  • Save Epigene/5bfac6cf1756b5f876b3 to your computer and use it in GitHub Desktop.
Save Epigene/5bfac6cf1756b5f876b3 to your computer and use it in GitHub Desktop.
Mina Workflow
# place in Gemfile, then bundle
gem 'mina'
# Initialize mina to get deploy.rb
mina init
# In deploy.rb uncomment your ruby manager (Creative uses rvm, so)
#require 'mina/rbenv'
require 'mina/rvm'
# Copy deploy.rb from a previous (mina-using) project, edit "set" lines
# Doublecheck ruby environment settings
# Setup shared folders
mina setup --verbose
# Configure production database.yml
# Deploy
mina deploy --verbose
# use `bundle exec pumactl` to manupulate puma status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment