Skip to content
sanzstezPublic
forked from Lyubomyr/deploy

About

Setup Ubuntu server and deploy Rails application with Capistrano

Resources

Stars

2 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

70 Commits

Folders and files

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

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages