Giter VIP home page Giter VIP logo

eytoolbox's Introduction

Ey Toolbox#

This simple toolbox adds commands to your unix environment for simple managing of your rails apps (especially if they're hosted on EngineYard)

Installing

  • Fetch the files by running git clone [email protected]:yonbergman/EyToolbox.git
  • Run ./install.rb to add the commands to your .alias file
  • Make sure that you have "source ~/.alias" command in your bash_rc add if needed
  • Clone the config.example.yml and add all the apps/enviroments you have set up in Engine Yard

Commands

###Deploy The deploy commands wraps the ey deploy command and helps you use it smartly based on the current directory and current git branch

    >> deploy [env:staging|stage|production|prod] [migrate|migration] [<branch name>]

deploy has smart defaults like deploying always to the staging environment, from the current branch you're working on and with no migrations you can pass parameters to change it's defaults in any order you'd like

Run

Runs your rails app (supports rails 2 and 3)

    >> run [<port>]

Excepts port number or defaults to the port set up in the config file

Remote

SSH to a server using ey ssh, like deploy uses smart default.

    >> remote [env:stage|staging|prod|production]

Defaults to ssh'ing to production env

Revision

Checks the latest revision deployed to to a server

    >> revision [env:stage|staging|prod|production]

Defaults to ssh'ing to production env Links to the github page of that commit Update: Also prints the last deploy date and checks if you need to migrate.

Recipe

Uploads and applys a recipe cookbook to a product env

    >> revision [env:stage|staging|prod|production]

The project name defaults to current branch name. Must be run in the ey-cloud-recipes folder

Yon

eytoolbox's People

Contributors

yonbergman avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ifeins

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.