Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/huacnlee/init.d

⚙️ Batch scripts for Rails production environment install on Ubuntu Server.
https://github.com/huacnlee/init.d

batch-script deployment ruby ubuntu-server

Last synced: about 2 months ago
JSON representation

⚙️ Batch scripts for Rails production environment install on Ubuntu Server.

Awesome Lists containing this project

README

        

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

Batch scripts for Ruby production environment install on Ubuntu Server.

[![wercker status](https://app.wercker.com/status/2dd2ff58518cae2dd75e4556e6d931c5/s/master "wercker status")](https://app.wercker.com/project/bykey/2dd2ff58518cae2dd75e4556e6d931c5)

## Requirements

* Ubuntu Server 14.04

## Usage

Install packages first

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

### Install Nginx

Nginx [official package](http://nginx.org/packages/ubuntu/)

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

### Install RVM + Ruby

```bash
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

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

### Install Redis

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

### Install ElasticSearch

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

## Install Docker

```bash
curl -sSL https://git.io/vPypp | bash
sudo docker info
```