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:
- Amazon EC2
- Linode
- DigitalOcean
- etc.
For now added receipts to setup next tech:
- nginx (latest)
- PostgreSQL 14 with PostGIS
- nodejs (latest)
- unicorn (with autostart script after server reboot)
- puma (with autostart script after server reboot)
- sidekiq (with autostart scripts after server reboot)
- actioncable standalone server (with autostart scripts after server reboot)
- RVM
- Monit
- Munin
- Logrotate for app logs
- Docker
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!