Git Product home page Git Product logo

snowtrick's Introduction

Snowtrick

Codacy Badge SymfonyInsight

Snowtrick is a Symfony web application

Installation

  • install Snowtrick with composer
git clone [email protected]: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}

snowtrick's People

Contributors

kdefarge avatar

Watchers

 avatar

snowtrick's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.