dmitri-carpov / rays Goto Github PK
View Code? Open in Web Editor NEWLiferay development and deployment management tool
License: MIT License
Liferay development and deployment management tool
License: MIT License
rays sync won't work if environments use different database types.
Add oracle database support.
Create advanced content synchronizers.
rays deploy content-sync
should create/update organizations
should push structures, templates, vocabularies, categories per organization or in global.
It would be nice if rays could be configured to ask Liferay to load the portal-developer.properties file when starting the Liferay service. In the past I've prefixed the following JAVA_OPTS snippet in front of the tomcat startup script.
JAVA_OPTS="$JAVA_OPTS -Dexternal-properties=portal-developer.properties"
> rays version
1.1.5
> rays --debug liferay --force stop
environment: test
stopping server
failed to stop the server
reason: undefined local variable or method `remote' for #<Rays::Service::ApplicationService:0x00000000cc0a38>
undefined local variable or method `remote' for #<Rays::Service::ApplicationService:0x00000000cc0a38>.: Backtrace:
/home/fonseca/.rvm/gems/ruby-1.9.3-p125/gems/raystool-1.1.5/lib/rays/services/application_service.rb:138:in `execute'
/home/fonseca/.rvm/gems/ruby-1.9.3-p125/gems/raystool-1.1.5/lib/rays/services/application_service.rb:83:in `stop'
/home/fonseca/.rvm/gems/ruby-1.9.3-p125/gems/raystool-1.1.5/lib/rays/interface/controller.rb:303:in `block in liferay_stop'
/home/fonseca/.rvm/gems/ruby-1.9.3-p125/gems/raystool-1.1.5/lib/rays/utils/common_utils.rb:54:in `task'
/home/fonseca/.rvm/gems/ruby-1.9.3-p125/gems/raystool-1.1.5/lib/rays/interface/controller.rb:295:in `liferay_stop'
/home/fonseca/.rvm/gems/ruby-1.9.3-p125/gems/raystool-1.1.5/lib/rays/interface/commander.rb:330:in `execute'
/home/fonseca/.rvm/gems/ruby-1.9.3-p125/gems/clamp-0.3.0/lib/clamp/command.rb:73:in `execute'
/home/fonseca/.rvm/gems/ruby-1.9.3-p125/gems/raystool-1.1.5/lib/rays/interface/commander.rb:39:in `execute'
/home/fonseca/.rvm/gems/ruby-1.9.3-p125/gems/clamp-0.3.0/lib/clamp/command.rb:64:in `run'
/home/fonseca/.rvm/gems/ruby-1.9.3-p125/gems/clamp-0.3.0/lib/clamp/command.rb:126:in `run'
/home/fonseca/.rvm/gems/ruby-1.9.3-p125/gems/raystool-1.1.5/bin/__rays_exec.rb:29:in `<top (required)>'
/home/fonseca/.rvm/gems/ruby-1.9.3-p125/bin/__rays_exec.rb:19:in `load'
/home/fonseca/.rvm/gems/ruby-1.9.3-p125/bin/__rays_exec.rb:19:in `<main>'
Sometimes rays liferay stop
doesn't work, for example when the JVM runs out of memory. It would be nice to either extend the liferay stop
command to first try and use the Tomcat shutdown script and if it doens't work then force close the Tomcat process using kill. Else simply having a liferay kill
command also works.
When I execute a rays command like rays liferay start
in a directory which has not been configured to use rays I don't get any feedback. I suggest giving an error message.
It would be nice to have the standard --version (and/or -v) flag to know which version of rays is installed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.