Installation¶
Requirements¶
To install kiwi42, you will need:
- PHP 5.6/7.0+
- php-intl extension
- php-fileinfo extension
- php-mbstring extension
- php-pdo extension with mysql support
- php-imagick extension (suggested)
- MySQL >=5.6 or equivalent
- Composer
Moreover php-cli should be available.
Install¶
Use Composer‘s create-project
in your command line (CLI):
$ composer create-project raum42/kiwi42 kiwi42-project
$ cd kiwi42-project
Now run the setup command provided by kiwi42’s own Fruit Console which will be explained in detail later on:
$ bin/fruit setup
This will among other things turn on development mode, run database migrations and symlink/copy the assets folders given by the credentials you provided. The resulting configuration can be found in the config/autoload
directory.
Permissions
Set write permissions/ownership to the data
folder recursively for the user that will run the application.
Serve¶
To run your kiwi42 project set up your local development server accordingly (virtual hosts) and point them to the public
directory.
Tip
The Zend Framework Skeleton Application ships with both Vagrantfile and Dockerfile. Feel free to use these if you want to virtualize your development environment. Refer to the respective documentations for installation and setup.
Now configure the application to your needs which will be explained in general in the following Configuration section and in detail wherever relevant.