Skip to content

katebalan/researcher_office

Repository files navigation

Research office project

  • Symfony 5
  • MySql
  • Docker
  • Doctrine

Install

  1. Clone project and enter to the project's folder
  2. Build docker images
docker-compose build
  1. Start all containers
docker-compose up -d
  1. Enter the ro_php container and create database
docker exec -it ro_php bash
./bin/console doctrine:database:create
  1. Run migrations and run fixtures (optional)
./bin/console doctrine:migartion:migrate
./bin/console doctrine:fixtures:load

Webpack

yarn encore dev
yarn encore dev --watch
yarn encore production

CS fixer

  • check if everything is ok
    composer cs-check
  • make everything according code style configuration
    composer cs-fix