Project

raystool

0.0
No commit activity in last 3 years
No release in over 3 years
Command line tool to create and manage liferay projects
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Rays is a command line tool for Liferay development. It replaces long lines of maven archetype generators with short rails-like commands. Also it allows to manage different environments (development, staging …)

Some usage examples:

$ rays new <project name>
$ rays g portlet <portlet name>
$ rays deploy
$ rays liferay start

Rays should work on any Unix-like system.

Detailed user guide: github.com/dmitri-carpov/rays/wiki/Usage

Installation¶ ↑

Make sure you have development tools installed (gcc -v).

Ubuntu: $ sudo apt-get install build-essential

MacOS X: install XCode

PLEASE DO NOT USE sudo DURING THE INSTALLATION¶ ↑

1. Install rvm (beginrescueend.com/)¶ ↑

$ bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)

Follow rvm instructions or just reopen shell window.

2. Install rvm packages¶ ↑

$ rvm pkg install zlib
$ rvm pkg install openssl
$ rvm pkg install readline # optional

make sure you have installed libxml2 development packages.
Ubuntu: $ sudo apt-get install libxslt-dev libxml2-dev

3. Install ruby 1.9.3-p0¶ ↑

$ rvm install 1.9.3-p0

NOTE: for XCode 4.2.x execute $ rvm install 1.9.3-p0 --with-gcc=clang

Make version 1.9.3-p0 default

$ rvm --default use 1.9.3-p0

4. Install maven (maven.apache.org)¶ ↑

$ tar -zxf apache-maven-x.x.x-bin.tar.gz
  • Create M2_HOME environment variable and add mvn to PATH

add to ~/.bashrc or ~/.bash_profile

export M2_HOME=<path-to-maven>
export PATH=$M2_HOME/bin:$PATH

reopen shell window and type ‘mvn -v’, maven information block should appear

5. Install rays¶ ↑

$ gem install raystool

6. Initialize rays¶ ↑

$ __rays_init

7. Use rays¶ ↑

$ rays --help