Git Product home page Git Product logo

Webbynode Gem

Available on GitHub and installable from Gemcutter.

DESCRIPTION:

Automates Rails or Rack application deployment using Webbynode Rapid App Deployment.

FEATURES/PROBLEMS:

  • From zero to production with two commands;

  • Super easy updates;

SYNOPSIS:

$ rails app
create  
create  app/controllers
create  app/helpers
create  app/models
(...)

$ cd myapp
$ webbynode init 200.120.123.123 myapp.com
Initializing deployment descriptor for myapp.com...
Creating .gitignore file...
Initializing git repository...

$ webbynode push
Publishing myapp to Webbynode...
[email protected]'s password: 
mkdir: created directory `myapp'
Counting objects: 62, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (53/53), done.
Writing objects: 100% (62/62), 79.14 KiB, done.
Total 62 (delta 10), reused 0 (delta 0)
Checked out master branch

----------------------------
  Webbynode git deployment 
----------------------------

Deploying application myapp as myapp.com...
Configuring Rails application...
  => Configuring apache vHost...
  => Configuring database...
  => Configuring database.yml...
  => Installing missing gems...
  => Migrating database...
/var/rails/myapp/.git

Restarting apache...

myapp deployed successfully.

To [email protected]:myapp
 * [new branch]      master -> master

And that’s it, just visit myapp.com (considering DNS is working) and you should have your Rails app displayed.

Then to update:

$ script/generate scaffold user name:string age:integer password:string
exists  app/models/
exists  app/controllers/
exists  app/helpers/
create  app/views/users
exists  app/views/layouts/
exists  test/functional/
exists  test/unit/
create  test/unit/helpers/
exists  public/stylesheets/
create  app/views/users/index.html.erb
(...)  

$ git add .

$ git commit -m "Added users"
[master a607460] Added users
 15 files changed, 334 insertions(+), 0 deletions(-)
 create mode 100644 app/controllers/users_controller.rb
 create mode 100644 app/helpers/users_helper.rb
 create mode 100644 app/models/user.rb
(...)

$ webbynode push
Publishing myapp to Webbynode...
[email protected]'s password: 
Counting objects: 43, done.
(...)
Restarting apache...

myapp deployed successfully.

To [email protected]:myapp
   2355220..a607460  master -> master

ROADMAP:

  • Ability to delete an app from command line:

    webbynode delete deletes the current app

REQUIREMENTS:

  • Requires, obviously, a Webbynode account

  • Webby server deployed with Rapid Deployment option

  • Only works for Apache with Passenger (Nginx and Passenger on the works)

INSTALL:

sudo gem install webbynode

LICENSE:

(The MIT License)

Copyright © 2010 FIXME full name

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Webbynode's Projects

api-labrat icon api-labrat

Lab rat for GitHub API interaction using Octopi

best_in_place icon best_in_place

A RESTful unobtrusive jQuery Inplace-Editor and a helper as a Rails Gem

blueprint icon blueprint

Wanna build a stack? Give us the blueprint!

docs icon docs

Webbynode docs (Guide 2.0)

doorway icon doorway

Sane set of utility methods to provision remote servers over SSH and SCP

gateone icon gateone

HTML5 (plugin-free) web-based terminal emulator and SSH client

gotospec icon gotospec

RSpec helpers plugin for Sublime Text 2

phd icon phd

Passenger-based Heroku-like Deployment

pushand icon pushand

Automate actions when git repositories are pushed. Push and ... ?

radiant icon radiant

Radiant is a no-fluff, open source content management system designed for small teams.

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.