Batch scripts for Rails production environment install on Ubuntu Server.
Latest commit 4c3e898 Sep 28, 2016 @huacnlee committed on GitHub Add libpq-dev

README.md

   ______              __           __
  /\__  _\          __/\ \__       /\ \
  \/_/\ \/     ___ /\_\ \ ,_\      \_\ \
     \ \ \   /' _ `\/\ \ \ \/      /'_` \
      \_\ \__/\ \/\ \ \ \ \ \_  __/\ \L\ \
      /\_____\ \_\ \_\ \_\ \__\/\_\ \___,_\
      \/_____/\/_/\/_/\/_/\/__/\/_/\/__,_ /

Batch scripts for Ruby production environment install on Ubuntu Server.

wercker status

Requirements

  • Ubuntu Server 14.04

Usage

Install packages first

sudo apt-get update
sudo apt-get install -y curl
curl -sSL https://git.io/vVHhe | bash

Install Nginx

Nginx official package

curl -sSL https://git.io/vVHhf | bash

Install RVM + Ruby

curl -sSL https://git.io/vVHhJ | bash

Use Ruby China mirror site for RubyGems and Ruby:

MIRROR=1 curl -sSL https://git.io/vVHhJ | bash

Install MongoDB

curl -sSL https://git.io/vVHhT | bash

Install Redis

curl -sSL https://git.io/vVHhk | bash

Install ElasticSearch

curl -sSL https://git.io/vVHhm | bash
sudo service elasticsearch status