Installation process for debian-based systems.
sudo su
apt-get install php5 apache2 mysql-server mysql-client php5-mysql git
- Intl
- Curl
- Composer
- PDO
sudo su
apt-get install curl php5-curl php5-intl
We don't store composer.phar in the git, so you need to download it manually and install to common bin directory
sudo su
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin
chmod +x /usr/local/bin/composer.phar
mv /usr/local/bin/composer.phar /usr/local/bin/composer
git clone [email protected]:payeverworldwide/test-task-frontend.git <target directory name>
Install vendors:
composer install npm install gulp
(run commands from project root)
- Create mysql database
php app/console doctrine:database:create
- Create database schema
php app/console doctrine:schema:create
- Load doctrine fixtures
php app/console doctrine:fixtures:load