Terminal (local)
$ ssh -i [The name of the downloaded key].pem ec2-user@[Elastic IP associated with the created EC2 instance]
(Using the downloaded key, ec2-Login as user)
[[email protected] <Repository name>]$ bundle exec unicorn_rails -c config/unicorn.rb -E production -D
Terminal (EC2 server)
[[email protected] <Repository name>]$ less log/unicorn.stderr.log
Terminal (EC2 server)
:q!
[[email protected] <Repository name>]$ ps aux | grep unicorn
$ bundle exec cap production deploy
Recommended Posts