To install, you need
composer install --no-dev --optimize-autoloader
to download all the backend dependencies for production environment or composer install
for dev environmentyarn install
to download all the frontend dependenciesphp bin/console d:d:c
php bin/console d:m:m
php bin/console d:f:l
yarn encore dev
php bin/console server:run
APP_ENV=dev
Dev or Prod environment
APP_SECRET=
The secret used by symfony, used by the csrf protection
You should regenerate the APP_SECRET with 32 characters
(https://symfony.com/doc/current/reference/configuration/framework.html#secret)
DATABASE_URL=
The database connection
MAILER_URL=
Smtp server
ADMIN_EMAIL="admin@localhost.dev"
the sender of the emails from the site
Configure the paths to the default images used throughout the site
DEFAULT_IMAGE_PATH="/img"
DEFAULT_USER_IMAGE="user-default.png"
DEFAULT_TRICK_IMAGE="trick-default.jpg"
DEFAULT_MENU_LOGO="snowtricks-logo-small-text.png"
DEFAULT_FRONTPAGE_IMAGE="frontpage-banner.jpg"
DEFAULT_FRONTPAGE_TEXT="Une phrase d'accroche"
The upload image paths. Be careful, this is hardcoded in the fixtures
DEFAULT_UPLOAD_USER_IMAGE_PATH="/uploads/user_images"
DEFAULT_UPLOAD_TRICK_IMAGE_PATH="/uploads/trick_images"
Do you wish to activate the caroussel when more that 1 picture is selected for a trick.
This feature is still in development and not considered stable
PRIMARY_IMAGE_CAROUSEL=false
The default meta data for the pages
DEFAULT_PAGE_TITLE="My page title, 55 to 64 characters"
DEFAULT_PAGE_DESCRIPTION="a short description that will show up in the google search"
DEFAULT_PAGE_KEYWORDS="the main keywords, this will be overwritten by the tags for each trick. Seperate with comma"