Skip to content

tcheuD/p6plusplus

Repository files navigation

Installation

  • clone the repository
  • open your console and go to the project directory :
    composer install
    composer dump-env prod
    
  • go to /p6/.env.local.php
    • Update DATABASE_URL with your environement :
      'DATABASE_URL' => 'mysql://db_user:[email protected]:3306/db_name',
      

Create the database and load fixtures

  • in your console :
    ./bin/console doctrine:database:create
    ./bin/console make:migration
    ./bin/console doctrine:migrations:migrate
    ./bin/console doctrine:fixtures:load
    

Setup your email adress

  • go to /p6/config/packages/swiftmailer.yaml
    port: your port
    host: ssl0.yourhost.net
    username: [email protected]
    password: your-password

Start the server in local

  • in your console :
    ./bin/console server:run
    

Open your browser and go to localhost:8000

Enjoy :)

Maintainability