Last active
August 29, 2015 14:07
-
-
Save Epigene/5bfac6cf1756b5f876b3 to your computer and use it in GitHub Desktop.
Mina Workflow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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