In the first step you need to install ZF2rapid on your computer. Choose one of these installation alternatives
Clone the Git repository.
$ cd /my/path
$ git clone https://github.com/ZFrapid/zf2rapid.git zf2rapid
Get the ZIP file with
wget
, unzip its contents and move all files to you prefered path.
$ cd /any/path
$ wget --output-document=zf2rapid.zip https://github.com/ZFrapid/zf2rapid/archive/master.zip
$ unzip zf2rapid.zip
$ mv zf2rapid-master/ /my/path/zf2rapid/
Clone the Git repository.
$ git clone https://github.com/ZFrapid/zf2rapid.git c:\zf2rapid
Download the ZIP file
and unzip it at any temporary location on your computer. Move all files to a
dir, e.g. c:\zf2rapid\
.
In the next step you need to run Composer to install all required packages. If you have not installed Composer yet, please refer to the Composer installation guide.
Switch to the new path and run the following composer
command:
$ cd /my/path/zf2rapid
$ composer install
Switch to the new path and run the following composer
command:
$ cd c:\zf2rapid
$ composer install
In the next step you need to check if the installation was successful by running ZF2rapid in your local installation.
Show the ZF2rapid command overview:
$ cd /my/path/zf2rapid
$ ./bin/zf2rapid.php
Show the ZF2rapid command overview:
$ cd c:\zf2rapid
$ bin\zf2rapid.bat
In the next step you should setup ZF2rapid to be run globally from every path on your computer.
Create a dynamic link in your /usr/local/bin directory
to you local ZF2rapid
installation.
$ sudo ln -s /my/path/zf2rapid/bin/zf2rapid.php /usr/local/bin/zf2rapid
Afterwards switch to any other directory and try to run ZF2rapid.
$ cd /any/path
$ zf2rapid
You should add the path to c:\zf2rapid\bin
to your PATH
environment
variable of your Windows configuration and reboot. Afterwards switch to any
other directory and try to run ZF2rapid.
$ cd c:\any\path
$ zf2rapid
tbd