Simple Ruby wrapper for deploying to AEM
Add this line to your application's Gemfile:
gem 'aem-deploy'
And then execute:
$ bundle
Or install it yourself as:
$ gem install aem-deploy
Intialize the object (crx host, user, and pass are required )
$ client = Aem::Deploy.new({host: '192.168.0.1', user: 'admin', pass: 'admin'})
Easy Install to CRX (uploads and installs).
$ client.easy_install('/Users/meaton/Desktop/centre.zip')
Upload a package to CRX.
$ client.upload_package('/Users/meaton/Desktop/centre.zip')
Install a package already on CRX.
$ client.install_package('/Users/meaton/Desktop/centre.zip')
Recompile JSP's
$ client.recompile_jsps
This project is brand new. I plan to incorporate many other methods here.
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/docker_compose_ruby.
The gem is available as open source under the terms of the MIT License.