Skip to content

kdefarge/snowtrick

Repository files navigation

Snowtrick

Codacy Badge SymfonyInsight

Snowtrick is a Symfony web application

Installation

  • install Snowtrick with composer
git clone git@github.com:kdefarge/snowtrick.git
cd snowtrick
composer install

Setup

  • 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=dev

Running Snowtrick Application

cd snowtrick
symfony server:start

Open 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.

Testing Error Pages during Development

Source : How to Customize Error Pages

# templates/bundles/TwigBundle/Exception/
http://localhost/index.php/_error/{statusCode}
http://localhost/index.php/_error/{statusCode}.{format}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors