Giter Site home page Giter Site logo

cours-solid's Introduction

Super Agri PRO

Application permettant la mise en relation de particuliers à la recherche de prestation de service, avec des professionnels qualifiés à Abidjan (Côte d'Ivoire)

📦 Installation

Cloner le dépôt, puis installer les vendors :

composer install

Dupliquer le fichier .env vers .env.local et définir les variables d'environnement : exemple la chaine de connection Mysql

DATABASE_URL=mysql://root:root@localhost:3306/mpce?serverVersion=8&charset:utf8mb4

⚙️Configuration [DEV]

1) Docker

Se placer à la racine du projet, ouvrir un terminal puis lancer la commande suivante :

docker-compose --env-file .env.docker up -d --build

Une fois les machines Dockers démarrées, entrer dans les containers pour lancer les commandes d'initialisations :

docker exec -it --privileged cours-solid_php-fpm /bin/bash

📢️ N'effectuer ces actions qu'en environnement de développement !

Puis lancer l'installation avec composer puis initilisation de la BDD (Fixtures, Data obligatoires), Reset de la BDD :

composer dbinit
php bin/phpunit --testdox

📑 ️Testing [DEV]

1) Création de la BDD de test :

php bin/console doctrine:database:drop --env=test --if-exists --force
php bin/console doctrine:database:create --env=test

2) Lancer les tests manuellement dans un terminal :

php bin/phpunit --testdox

3) Compiler le theme graphique (optionel)

Si vous voulez modifier les thème CSS, il faudra compiler les style Tailwind avec Webpack.
Pour cela, installez les vendors javascript :

yarn install

cours-solid's People

Contributors

donbrico avatar bpote78 avatar liorchamla 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.