deploying rails app to ubuntu server
TRANSCRIPT
Deploying a Rails App to Ubuntu Server
Me● Team Leader @Biodata● 1+ year In Ruby / Rails● Father, Husband and Beer lover Find me
@shukydvirhttp://www.linkedin.com/in/[email protected]
Deploy?We all know but still.....
Deploy with?Manually, Capistrano, Moonshine, SCP, FTP, Git, Chef, Puppet, FPM, DEB, RPM?
Agenda● RVM● Ubuntu● Thin● Capistrano● Foreman● Upstart
RVMhttps://rvm.io/
RVM is a command-line tool which allows you to easily install, manage, and work with multiple ruby environments from interpreters to sets of gems.
Ubuntu
Ubuntu is a computer operating system based on the Debian Linux distribution and distributed as free and open source software, using its own desktop environment. It is named after the Southern African philosophy of ubuntu.Ubuntu is designed primarily for use on personal computers, although a server edition also exists.
Thin
Thin is a Ruby web server that glues together 3 of the best Ruby libraries in web history:Mongrel parser, Event Machine, Rack.Which makes it, with all humility, the most secure, stable, fast and extensible Ruby web server bundled in an easy to use gem for your own pleasure.
Capistrano
Capistrano is a developer tool for deploying web applications. It is typically installed on a workstation, and used to deploy code from your source code management (SCM) to one, or more servers.
Foreman
Foreman is a manager for Procfile-based applications. Its aim is to abstract away the details of the Procfile format, and allow you to either run your application directly or export it to some other process management format.
Upstart
Upstart is an event-based replacement for the /sbin/init daemon which handles starting of tasks and services during boot, stopping them during shutdown and supervising them while the system is running.
So let's see the code.....