Giter Site home page Giter Site logo

marlene78 / timer Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 25.64 MB

Application collaboratif, intuitif qui vous aide à optimiser la gestion de tous vos projets et de respecter les délais.

License: GNU General Public License v3.0

Dockerfile 0.04% PHP 49.47% JavaScript 28.88% CSS 8.14% Less 4.91% SCSS 5.94% Twig 2.62%
test-unitaire mysql symfony php docker docker-compose dokcerfile heroku

timer's Introduction

TIMER

forthebadge

Application collaboratif, intuitif qui vous aide à optimiser la gestion de tous vos projets et de respecter les délais.

Pour commencer

Cloner le repository git clone [email protected]:marlene78/Timer.git

Pré-requis

  • PHP 7.4.1 maximun
  • Docker

Installation

Executez la commande docker-compose up pour commencer ensuite :

  • composer install (Permet de mettre à jour les dépendances)

  • Créer un fichier .env contenant :

    APP_ENV="Renseignez l'environnement de travail , dev ou prod" DATABASE_URL=mysql://root:[email protected]:3306/Projet_timer DATABASE_URL=mysql://root:root@data/Projet_timer MAILER_DSN="Renseignez vos informations smtp"

Mettre en commentaire la ligne suivante (utiliser "#" pour mettre en commentaire)

#DATABASE_URL=mysql://root:root@data/Projet_timer

Décommenter la ligne suivante (retirer "#" pour décommenter)

DATABASE_URL=mysql://root:[email protected]:3306/Projet_timer

  • php bin/console doctrine:migrations:migrate (migration des data dans la base de donnée)

  • Puis

Commenter la ligne suivante #DATABASE_URL=mysql://root:[email protected]:3306/Projet_timer

Décommenter la ligne suivante DATABASE_URL=mysql://root:root@data/Projet_timer

Démarrage

Envoi des emails

  • Définir dans le fichier .env MAILER_DSN=
  • Modifier l'url du site dans le fichier src/Service/Uri.php

Tests

  • Effectué avec PHPUnit: Tests unitaires Tests fonctionnels

  • Créer un fichier .env.test et y renseigner les informations de la base de donnée de test DATABASE_URL=

  • Tapez la commande php bin/console doctrine:database:create --env=test pour créer la base de donnée de test

  • Tapez la commande php bin/console doctrine:schema:update --force --env=test pour générer les tables.

  • Tapez la commande ./bin/phpunit pour tester l'ensemble des tests

  • Tapes la commande ./bin/phpunit --filter nonDeLeFonctionTest pour tester une fonction

Fabriqué avec

  • Docker - logiciel libre permettant de lancer des applications dans des conteneurs logiciels
  • Symfony - Framework back-end PHP

Mise en production

Auteurs

Liste de(s) auteur(s) du projet!

License

Ce projet est sous licence GNU GENERAL PUBLIC LICENSE - voir le fichier LICENSE.md pour plus d'informations

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.