Skip to content

mRoca/rtfm-rapid-team-formation-method

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RTFM - Rapid Team Formation Method

pipeline status

Summary

Git & working with a team

  • Git
  • Keep your history clean
  • Work with the history : merge and rebase
  • Git flow & workflow
  • Pull Requests aand code review
  • Useful commands

Docker

  • Virtualization : OS vs application
  • How Docker works
  • How to use Docker
  • docker-compose

Php / Symfony

  • PHP-FIG & PSR
  • Coding style & PHP-CS-Fixer
  • PhpStorm
  • Composer
  • Insight
  • Blackfire

Tests

  • Behat and functionnal testing
  • PhpUnit and unit testing
  • How to mock an API

Contributing

Write slides

https://github.com/gnab/remark/wiki/Markdown

Generate slides

https://github.com/partageit/markdown-to-slides

In a docker container

docker-compose run --rm node yarn install

# Generate slides from .md to .html once
docker-compose run --rm node npm run-script slides

On host

yarn install
npm run-script slides

Watch files changes and automaticaly build slides

docker-compose run --rm node npm run-script slides-watch-git
docker-compose run --rm node npm run-script slides-watch-docker

# There is no watcher on images, for the moment
docker-compose run --rm node npm run-script images

# Or :

npm run-script slides-watch-git
npm run-script slides-watch-docker

Use slides

In a docker container

Boot the web container

docker-compose up -d web

Access the web docker container on the 80 port : http://web.rtfm.docker, or access http://localhost:8765 .

On host

Open the HTML file in your browser.

Generated files :

  • ./web/git.html
  • ./web/docker.html

You can turn on presentator mode using the following shortcut keys :

c : open a synced version in a new tab
p : switch to presentator mode

Scripts

Print clean git network

git log --graph --format=format:'%C(bold blue)%h%C(reset) - %C(bold white)%s%C(reset) %C(bold yellow)%d%C(reset)' --abbrev-commit --all

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published