- Ansible
- Git
- Être dans le groupe sudo
- Cloner le repo en local
git clone git@github.com:pelmato/ansible.git
-
Renseigner les variables dans inventory.yml
-
Lancer le playbook ansible
ansible-playbook site.yml
- Dash to dock (gnome extension)
-
Mettre en place un formatteur (suggestion Prettier en front, Spotless en back)
-
Mettre en place eslint
-
Configurer les fins de ligne git en créeant un fichier
.gitattributes
# Set the default behavior, in case people don't have core.autocrlf set. * text=auto # Explicitly declare text files you want to always be normalized and converted # to native line endings on checkout. # *.java text # Declare files that will always have CRLF line endings on checkout. # *.sln text eol=crlf # Denote all files that are truly binary and should not be modified. # *.png binary # *.jpg binary
-
Créer un fichier
.editorconfig
# Editor configuration, see http://editorconfig.org root = true [*] charset = utf-8 indent_style = space indent_size = 2 insert_final_newline = true trim_trailing_whitespace = true [*.md] max_line_length = off trim_trailing_whitespace = false indent_size = 4