Skip to content

trogon/trogon-eu-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Symfony backend core

Install composer dependencies.

composer install

Check updates for composer (PHP)

composer outdated

Check symfony migration for updates (PHP)

composer recipes:update

Prepare configuration for development.

composer dump-env dev

Vefiy if current configuration is complete.

php bin/console debug:container --env-vars

Clear runtime cache.

php bin/console cache:clear

Install assets

php bin/console assets:install public

Run all tests.

php bin/phpunit

Run all tests in Form directory.

php bin/phpunit tests/Form

Run tests in given file.

php bin/phpunit tests/Form/UserTypeTest.php

React interactive UI

Install last LTS nodeJS.

nvm install lts
nvm use lts

Install yarn dependencies

corepack enable
yarn set version stable
yarn install

Produce encode JS output

# Script command
yarn build

# Full command
yarn run encore production

# Full command for dev
yarn run encore dev

Update Yarn packages

yarn upgrade-interactive