Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

To-do List

Codacy BadgeBuild Status

OpenClassrooms project for "PHP / Symfony" course.

The objective is to improve an existing application build with Symfony 3.1.6 and Bootstrap 3.3.7.

Build With

  • Symfony 4.3.3
  • Bootstrap 3.3.7

Installation

1 - Clone or download the project

https://github.com/JeanD34/p8-sf4.git

2 - Update your database identifiers in project/.env

DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/db_name

3 - Install composer -> Composer installation doc

4 - Run composer.phar to install dependencies

php bin/console composer.phar update

5 - Create the database

php bin/console doctrine:database:create

6 - Create the database table/schema

php bin/console doctrine:schema:update

7 - Load fixtures

php bin/console doctrine:fixtures:load

Usage

Login link :

/login

An user account is already available, use it to test the application :

"username" : "User",
"password" : "User340!"

An admin account is already available, use it to test the application :

"username" : "Admin",
"password" : "Admin34!"

An super admin account is already available, use it to test the application :

"username" : "SuperAdmin",
"password" : "SuperAdmin34!"

Tests

1 - Update the test database identifiers in project/ phpunit.xml.dist

<env name="DATABASE_URL" value="DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/db__test_name"/>

2 - Run tests

php bin/phpunit

Contributing

To contribute see CONTRIBUTING.md

About

To-Do-List | Project 8 | "PHP / SYMFONY" | Openclassrooms

Resources

Releases

No releases published

Packages

No packages published

Languages