Skip to content

Small project made for practice during studies. The goal is to display popular quotes from web series, including connexion, authentication and a point system.

Notifications You must be signed in to change notification settings

JulesDebeaumont/Quote-Machine

Repository files navigation

Quote-Machine

By Jules Debeaumont

1_Installation

  • Do a git init
  • Clone the project
  • Do a composer install

2_Configure the Database:

  • Log as admin on your localhost/phpmyadmin
  • Make a new user for the Symfony4 access
  • Copy the .env file
  • Paste and rename the second one to .env.local at /
  • Add .env.local to gitignore file
  • In the .env.local:

These settings are suggestions, put whatever you want:
User: QuoteMachine
Password: iutinfo

  • Once done, edit the .env.local you made
  • Make sure the database access looks like the following one:

DATABASE_URL="mysql://ProjetB:iutinfo@127.0.0.1:3306/ProjetB?serverVersion=5.7"

If using other Database (aka MariaDB, SQLite etc...), make sure to change the server version!

3_Create the Database:

Run composer reset

This will delete the database if there's one, create a new one depending on the actual entities of the project, apply migrations and load all fixtures.

4_Launch the server:

Do a symfony serve

*If you encounter trouble with this command, you may try this one (mostly Windows issue): php -S 127.0.0.1:8000 -t public

5_Misc:

  • Execute CS-Fixer in src: composer cs-fixer
  • Delete, create and update database schema then run test: composer test

About

Small project made for practice during studies. The goal is to display popular quotes from web series, including connexion, authentication and a point system.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published