Skip to content

tbuczen/SF3TeamManagement

Repository files navigation

SF3

A Symfony project created on January 28, 2017, 12:34 pm.

Project Setup

  1. Database and mysql user creation
CREATE USER 'user'@'%' IDENTIFIED WITH mysql_native_password AS 'password';
GRANT USAGE ON *.* TO 'user'@'%' REQUIRE NONE WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0;
CREATE DATABASE IF NOT EXISTS `sf3`;GRANT ALL PRIVILEGES ON `sf3`.* TO 'user'@'%';
GRANT ALL PRIVILEGES ON `sf3\_%`.* TO 'user'@'%';
  1. Composer
composer install 
  1. Load Schema
./mia doctrine:schema:create
  1. Load Fixtures
./mia doctrine:fixtures:load
  1. Login data
  • Login: admin
  • Password: s3cret
  1. Frontend assets
  • In root folder
npm install
  • If You don't have gulp installed, install it globally. If You do not want to do that skip this and the next point
npm install gulp -g
  • Than run
gulp
  • (!) If You skipped global installation just run this:
./node_modules/gulp/bin/gulp.js

as it is installed with other packages in the project root folder