Skip to content
This repository was archived by the owner on Apr 14, 2019. It is now read-only.

Development

Márk Sági-Kazár edited this page Sep 19, 2016 · 3 revisions

Infrastructure

The following softwares are recommended to be installed:

  • PHP 7.0 (with intl, mcrypt, curl, gd, mysql, mbstring, xml, zip, xdebug extensions)
  • Composer
  • Blackfire
  • Nginx
  • MariaDB
  • NodeJS 6.x
  • Bower
  • Gulp

Both Vagrant and Docker come with the above infrastructure.

Setup

  1. $ make COMPOSEROPTS="--no-interaction" deps
  2. $ make [SCHEMA=true] [FIXTURES=true] setup
  3. $ gulp build

The above steps explained:

  1. Installs composer, npm and bower dependencies. In case of a first installation, app/parameters.yml is also created, but parameters can be overridden by SYMFONY__* env vars. The default settings should work fine, although it is recommended to set the database host to db. Both Vagrant and Docker use this hostname for the database.
  2. Runs basic setup commands, installs the database (runs migrations by default) and optionally and runs fixtures
  3. Builds the frontend assets

The scripts above should work fine in any development environment.

Clone this wiki locally