Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 610 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 610 Bytes

TiRailsDebian

Rails engine adding Rake tasks to package a Rails application into a Debian package. Once installed, the Debian package configures the Rails application to be run as a system service.

How to use it?

Add this into your Gemfile:

gem 'ti_rails_debian'

Run this to package into a Debian package:

rake ti_rails_debian:package

Install your Debian package using standard Debian tooling:

apt install my_package

or

dpkg -i /path/to/my_package.deb

Once installed, run your Rails application as a service:

service my_rails_app start