Giter Site home page Giter Site logo

jj-todo's Introduction

ToDoList

Codacy Badge

Context

Improve an an existing project :

Project using

  • PHP 7.2
  • Symfony 3.4
  • Doctrine
  • Ramsey/uuid-doctrine
  • Doctrine-fixtures
  • Behat
  • Behat-code-coverage

How to instal

  1. Download project :

    https://github.com/ludovicjj/projet8-TodoList.git
    
  2. Install Dependencies :

    composer install
    
  3. Database config :

    Update file parameters.yml.dist with your config and rename it into "parameters.yml"

    parameters:
        database_host:     127.0.0.1
        database_port:     ~
        database_name:     symfony
        database_user:     root
        database_password: ~
    
  4. Create Database :

    php bin/console doctrine:datase:create
    php bin/console doctrine:schema:update --force
    
  5. Fixtures :

    php bin/console doctrine:fixtures:load
    
  6. Project launch :

    php bin/console server:run
    

How to use

  • First, run project with the following command and go to ^/login

    php bin/console server:run
    
  • Use these credentials to test admin features :

    username: admin
    password: admin
    
  • Or use these credentials to test user features :

    username: user1
    password: user1
    

Test

  1. Create database for the test env with the following command :

    php bin/console doctrine:database:create --env=test
    
  2. Run test with the following command :

    vendor/bin/behat
    
  3. Behat-code-covarge require Xdebug, download Xdebug and enable it in php.ini. Code-coverage will be generated in var/behat-coverage, open with your browser var/behat-coverage/index.html

Useful links

jj-todo's People

Contributors

ludovicjj avatar saro0h avatar

Watchers

James Cloos 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.