Giter VIP home page Giter VIP logo

tours-0919-php-sylvainlecerten's Introduction

The French Copywriter - Starter Kit - Symfony 4.4.*

This starter kit is here to easily install The French Copywriter's repository.

Getting Started for Projects

Prerequisites

  1. Check php is installed
  2. Check symfony is installed
  3. Check composer is installed
  4. Check yarn & node are installed

Install

  1. Clone this project with git clone git clone https://github.com/WildCodeSchool/tours-0919-php-sylvainlecerten.git
  2. Move to the repository with cd tours-0919-php-sylvainlecerten/
  3. Run composer install
  4. Run yarn install
  5. Copy .env file and modify it in .env.local
  6. Replace user, password and db_name in the line DATABASE_URL=mysql://db_user:[email protected]:3306/db_namein.env.local

Working

  1. Run php bin/console server:run to launch your local php web server
  2. Run yarn run dev --watch to launch your local server for assets
  3. Run mysql.server start to launch mysql database
  4. Go on https://localhost:8000/ to visit the website

Windows Users

If you develop on Windows, you should edit you git configuration to change your end of line rules with this command :

git config --global core.autocrlf true

Load fixtures

In order to load fixtures in the database so they could be visible on your website, please run :

  1. Run php bin/console make:migration to create the migration file
  2. Run php bin/console make:migrations:migrate to create the database's tables
  3. Run php bin/console doctrine:fixtures:load to load fixtures on the database

Deployment

Add additional notes about how to deploy this on a live system

Testing

  1. Run ./bin/phpcs to launch PHP code sniffer
  2. Run ./bin/phpstan analyse src --level max to launch PHPStan
  3. Run ./bin/phpmd src text phpmd.xml to launch PHP Mess Detector
  4. Run ./bin/eslint assets/js to launch ESLint JS linter
  5. Run ./bin/sass-lint -c sass-linter.yml to launch Sass-lint SASS/CSS linter

Built With

tours-0919-php-sylvainlecerten's People

Contributors

mikacetb avatar abye37 avatar lirith-drasar avatar guil44 avatar

Watchers

James Cloos avatar Fab Mars avatar  avatar Matthieu avatar Pierre avatar Arnaud Renaud avatar Kerkeb Abdou avatar  avatar  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.