Snowtrick is a Symfony web application
- install Snowtrick with composer
git clone git@github.com:kdefarge/snowtrick.git
cd snowtrick
composer install- update .env file
# Config database
# MariaDB (dont forget version X.X.X with your version)
DATABASE_URL="mysql://USER:PASSWRD@SERVER:PORT/DB_NAME?serverVersion=mariadb-X.X.X"
# Config mailer
# Mail is send when create account and reset password
MAILER_DSN=smtp://USER:PASSWORD@SERVER_SMTP:PORT
# Config Recpatcha
# Recaptcha is used for register and reset password
RECAPTCHA_PUBLIC="Your public key"
RECAPTCHA_KEY="Your secret key"- install database
# Doctrine can create the DB_NAME database for you
php bin/console doctrine:database:create
# executes all migration files
php bin/console doctrine:migrations:migrate- Run dev fixture
# load all the 'dev' fixtures
php bin/console hautelook:fixtures:load --env=devcd snowtrick
symfony server:startOpen your browser and navigate to http://localhost:8000/. If everything is working, you’ll see a welcome page. Later, when you are finished working, stop the server by pressing Ctrl+C from your terminal.
Source : How to Customize Error Pages
# templates/bundles/TwigBundle/Exception/
http://localhost/index.php/_error/{statusCode}
http://localhost/index.php/_error/{statusCode}.{format}