Skip to content
forked from Lyubomyr/deploy

Setup Ubuntu server and deploy Rails application with Capistrano

Notifications You must be signed in to change notification settings

sanzstez/rollset

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is set of capistrano recipes, which help to deploy your application to Ubuntu (16.04, 18.04, 20.04, 22.04) based VPS in 10 minutes. Theese scripts helps you to install all needed software to the server from scratch, then push all configuration files and deploy the project.

Supported hosting providers:

  1. Amazon EC2
  2. Linode
  3. DigitalOcean
  4. etc.

For now added receipts to setup next tech:

  1. nginx (latest)
  2. PostgreSQL 14 with PostGIS
  3. nodejs (latest)
  4. unicorn (with autostart script after server reboot)
  5. puma (with autostart script after server reboot)
  6. sidekiq (with autostart scripts after server reboot)
  7. actioncable standalone server (with autostart scripts after server reboot)
  8. RVM
  9. Monit
  10. Munin
  11. Logrotate for app logs
  12. Docker

Provisioning and deploy:

Workflow. Run next commands on your local machine from rollset directory:

1. ./init.sh
2. cap <environment> install:create_user user=root
3. cap <environment> install:all
5. cap <environment> setup:all

Then use app deploy configuration from Rails application directory:

cap <environment> deploy

OK. That's all!

==============

Also, in any moment you can change any of the script laying in deploy/config/recipes folder to add your own, enjoy!

About

Setup Ubuntu server and deploy Rails application with Capistrano

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 50.2%
  • HTML 27.0%
  • Shell 22.8%