Coder Social home page Coder Social logo

zak39 / biblios Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 269 KB

C'est juste le cours sur Symfony 7 d'OpenClassroms : https://openclassrooms.com/fr/courses/8264046-construisez-un-site-web-a-laide-du-framework-symfony-7

JavaScript 0.61% CSS 68.20% PHP 21.99% Twig 9.20%

biblios's Introduction

Biblios

Biblios est le projet fil rouge du cours d'OpenClassrooms sur Symfony 7.

J'ai pu terminer le cours avec succès, je pourrais utiliser ce repo comme base.

Requirements

Setup

Installation des dépendances :

composer i

Configurer sa base de données :

# .env.local
DATABASE_URL="mysql://user:[email protected]:3306/biblios?serverVersion=8.0&charset=utf8"

Ici c'est c'est un exemple avec une base MySql et le fichier .env.local ne sera pas pris en compte par git.

Création de la database et des tables :

symfony console doctrine:database:create
symfony console doctrine:migrations:migrate

Nourrir la database de données à partir des fixtures :

symfony console doctrine:fixtures:load

Et enfin, lancer le serveur :

symfony server:start -d

Shortcuts

Ce projet utilise Castor comme Task Runner.

Voici la commande pour l'installer :

curl "https://castor.jolicode.com/install" | bash

Prioriser la documentation officielle : https://castor.jolicode.com/getting-started/installation/ .

On peut connaître les commandes de base en exécutant la commande castor ou voir la partie Getting Started en faisant castor getting-started.

Time line

  • le 31 juillet 2024 : Utilisation de Twig Components - regardez la branche init-twig-components.
  • le 28 juillet 2024 : Utilisation de Symfony UX Icons - regardez la branche ajout-des-icons-components.
  • le 26 juillet 2024 : Utilisation de Castor by @jolicode - regardez la branche init-le-task-runner-castor.
  • le 29 juin 2024 : Fin du cours d'OpenClassrooms dont le code est préservé à partir de cette date dans la branche code-du-cours-symfony-7-d-openclassroom.

biblios's People

Contributors

zak39 avatar

Watchers

 avatar

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.