appway client written in ruby
Add this line to your application's Gemfile:
gem 'xploy'
And then execute:
$ bundle
Or install it yourself as:
$ gem install xploy
Print usage with:
$ xploy
Generate a new app manifest with:
$ xploy new example
Deploy it to your appway instance on http://localhost:8000
with:
$ xploy create --servers=http://localhost:8000 --app.name=example --app.manifest=example.xploy
OK
You can store default parameters like app.name
and app.manifest
in a file named .xploy
located in your current working dir.
For an example just have a look at the appway-example
folder.
$ cd appway-example
Here you can just redeploy the preconfigured app like so:
$ xploy redeploy
The application name
The path to the application manifest
A list of appway servers that the client must communicate with
When set to true
it will debug all http traffic
Print version
To run the binary from the repository use the following command with ruby libray path:
RUBYLIB=lib bin/xploy
- Using global methods like
Xploy.parameter
- is allowed for classes / modules defined on the same or a higher level to the
Xploy
namespace - is allowed for classes / modules defined excactly one level below the
Xploy
namespace- e.g.
Xploy::Api
- e.g.
- is not allowed for classes / modules defined more than one level below the
Xploy
namespace- e.g.
Xploy::Api::Request
- these classes should use dependency injection instead
- e.g.
- is allowed for classes / modules defined on the same or a higher level to the
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Copyright (c) 2013 Jens Bissinger. See LICENSE.txt