Skip to content
Avatar
🏠
Working from home
🏠
Working from home

Achievements

Achievements

Block or Report

Block or report Stanislas-Poisson

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Stanislas-Poisson/README.md

Stanislas Poisson

This repository is intended to manage my website and thus show my resume.

About me
Looking for a developer? It's a good thing! Passionate about the web world, I have acquired skills through my professional and self-taught experiences. I like to discover, learn and experiment web development and web-design as I go along.

My recipe ?
Take knowledge in the following areas: Back-end 95%, Front-end 75%, Server 50%. Sprinkle a good pinch of curiosity on the whole. Mix it all in an unconventional mold and heat it on a creative fire and you get a Full-Stack developer.

For info ;)
34 years old, and happy father of two children. Living in Tours, France I am mobile in and around the agglomeration via public transport.


Project

Master CI Develop CI

Changelog Security GitHub issue custom search in repo GitHub language count Discord

This is a Laravel 8.x app.

Requirements

  • Docker
  • Docker-compose
  • Make
  • PHP >= 7.4.12
    • OpenSSL PHP Extension
    • PDO PHP Extension
    • Mbstring PHP Extension
    • Tokenizer PHP Extension
    • XML PHP Extension
    • Ctype PHP Extension
    • JSON PHP Extension
    • BCMath PHP Extension
    • PCNTL PHP Extension
  • Node.js 14.X
    • yarn
  • A MySQL 5.7 database and a user with the SUPER priviledge on it
  • A Redis 6.0 database

How to run

Using the provided Docker-based Makefile

  • we're using the docker image from the registry of kuroi-taiyo/docker-store
  • install Docker and Docker Compose
  • login to the registry docker login registry.gitlab.com with your login and password or auth token (with a read_registry at least better for manager with write_registry)
    This is needed due to the restrictions of hub.docker.com
  • cp .env.example .env
  • if needed customize .env - the content was already set for the docker dev usage
  • make start

Run make help to see the list of possible commands.

Front development environment

Install of Livereload : https://github.com/JeffreyWay/laravel-mix/blob/master/docs/livereload.md

Then:

  • make design

Manually

  • cp .env.example .env and customize .env
  • composer install --no-progress --profile --no-interaction --prefer-dist --optimize-autoloader
  • yarn install --ignore-engines --frozen-lockfile - remove the --frozen-lockfile for the first install
  • npx browserslist@latest --update-db
  • yarn run development
  • php artisan ide-helper:generate
  • php artisan ide-helper:meta
  • php artisan migrate:fresh --force
  • php artisan db:seed
  • php artisan blog:store_latest
  • php artisan storage:link

Then, use Homestead, php artisan serve or whatever to serve the app.

Coding Style and Tests

You have to use coding rules on this projet, please use these commands to check or fix your code:

Using the provided Docker-based Makefile

Check

  • make ci Run the checks-files and tests pipelines
  • make checks-files Run the PHP-CS-Fixer and Prettier with PHPstan pipelines
  • make tests Run the PHPUnit
  • make cs Run the PHP-CS-Fixer and Prettier pipeline
  • make phpstan Run the PHPstan pipeline
  • make unit Run the PHPUnit pipeline

Fix

  • make fix to apply the rules to your code

Update dependencies

Using the provided Docker-based Makefile

  • make ssh
  • composer update --no-progress --profile --no-interaction --prefer-dist --optimize-autoloader to update the composer dependencies based on the composer.json
  • yarn upgrade-interactive --latest to update the node modules dependencies based on the package.json Please keep in mind that these updates may break the build, so update them carefully and feel free to restart the front build at each update.

Pinned

  1. my personnal website: blog, cv etc...

    PHP

  2. Image docker from php-fpm with cron, imagemagick, zip, unzip, git, supervisor, composer, prestissimo, nodejs, yarn, prettier, xdebug and php-cs-fixer for laravel

    Dockerfile 2

  3. List of france's regions, departments, cities and villages zip-codes

    PHP 86 18

  4. 1
    #!/bin/bash
    2
    # title           : prepare-server.sh
    3
    # description     : This script will prepare a web server with Apache, Php7.0, MySQL, NodeJs and let'sencrypt
    4
    # author          : StanislasP
    5
    # date            : 2018-01-14
  5. KMark Public

    KMark est une adaptation de la syntaxe MarkDown, dédié au web, permettant de donner des paramètres a tous les éléments directement.

    PHP 1

  6. Extract specific portions which are inside the comments (Ex: voice over) and classed by voice actor and references.

    PHP

628 contributions in the last year

Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec Jan Mon Wed Fri
Activity overview

Contribution activity

January 2022

13 contributions in private repositories Jan 3 – Jan 15

Seeing something unexpected? Take a look at the GitHub profile guide.