Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.02 KB

README.md

File metadata and controls

37 lines (24 loc) · 1.02 KB

codingcats-rails-server

This is a virtual machine we use to test an actual production deployment.

Requirements

To run this VM, you need Vagrant.

What it does

Vagrant enables to have a reproducible work environment. In the terminal, run vagrant up in the directory, where the Vagrantfile is. This boots an Ubuntu 14.04x64 Linux. On the first time it takes a moment, because it needs to download the VM image.

When it finished booting, you can access the VM via vagrant ssh.

In case you messed up and want to restart from scratch, run vagrant destroy. This destroys the VM and you can start from a clean state again.

Commands

Other packages:

sudo apt-get install build-essential libssl-dev libyaml-dev libreadline-dev openssl curl git-core zlib1g-dev bison libxml2-dev libxslt1-dev libcurl4-openssl-dev libsqlite3-dev sqlite3

Install Ruby

$ wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.5.tar.gz
$ ./configure
$ make
$ sudo make install