Giter Site home page Giter Site logo

cloudxtreme / webbynode Goto Github PK

View Code? Open in Web Editor NEW

This project forked from webbynode/webbynode

0.0 1.0 0.0 3 MB

Webbynode automation tool. You can deploy Django and WSGI, PHP, Rack, Rails 2 and Rails 3 applications to your Webby prepared with Webbynode Rapid Deployment engine.

Home Page: http://webbynode.com

Ruby 99.80% Gherkin 0.20%

webbynode's Introduction

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 People

Contributors

fcoury avatar

Watchers

 avatar

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.