Skip to content

capbash/capbash-rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

capbash-rails

Scripts for installing rails, should be used in conjunction with capbash

How to Install

Install capbash first, more details at: https://github.com/capbash/capbash

curl -s https://raw.githubusercontent.com/capbash/capbash/master/capbash-installer | bash
capbash new YOUR_REPO_ROOT
cd YOUR_REPO_ROOT

Now you can install rails into your project

capbash install rails

Configurations

The available configurations include:

RAILS_NAME=${RAILS_NAME-samplerails}
RAILS_DIR=${RAILS_DIR-/var/local/apps/${RAILS_NAME}}
RAILS_REPO=${RAILS_REPO-git@github.com:capbash/samplerails.git}
RAILS_HTTP_PORT=${RAILS_PORT-80}

Deploy to Remote Server

To push the rails script to your server, all you need if the IP or hostname of your server (e.g. 192.167.0.48) and your root password.

capbash deploy <IP> rails

For example,

capbash deploy 127.0.0.1 rails

About

A capbash submodule for deploying rails applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages