Relatório de Configuração do Servidor Atual
Segue o detalhamento das instalações e configurações presentes no servidor atual para que possam ser replicadas na nova máquina com a versão mais recente do Ubuntu.
- PHP 7.4
- PHP 8.2
# EditorConfig para seguir a PEP 8 (estilo de código Python) | |
root = true | |
# Config gerais para todos os arquivos | |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
insert_final_newline = true | |
trim_trailing_whitespace = true |
[*] | |
indent_style = space | |
indent_size = 4 | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true | |
[*.py] | |
max_line_length = 79 |
0 – Muito rápido para entregar e sem complexidade. Em minutos
1 – Rápido para entregar e mínima complexidade. Uma hora
$ curl -C - https://download.java.net/java/ga/jdk11/openjdk-11_osx-x64_bin.tar.gz -O openjdk-11_osx-x64_bin.tar.gz | |
$ tar xf openjdk-11_osx-x64_bin.tar.gz | |
$ sudo mv jdk-11.jdk /Library/Java/JavaVirtualMachines/ | |
$ java -version | |
openjdk version "11" 2018-09-25 | |
OpenJDK Runtime Environment 18.9 (build 11+28) | |
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode) |
All rules and guidelines in this document apply to PHP files unless otherwise noted. References to PHP/HTML files can be interpreted as files that primarily contain HTML, but use PHP for templating purposes.
The keywords "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.
Most sections are broken up into two parts:
This text is intended to guide the installation and configuration of Oracle's InstantClient, responsible for mediating connections with Oracle databases. Below are the necessary steps::
This tutorial adopted version 8.1 of PHP. If your version is different, make the necessary adaptations.
The terminal adopted is the default one, so the configuration of environment variables is done in
~/.bashrc
. If using ZSH, add the variables in~/.zshrc
require: | |
- rubocop-performance | |
- rubocop-rails | |
- rubocop-minitest | |
AllCops: | |
TargetRubyVersion: 3.1.0 | |
NewCops: enable | |
Exclude: | |
- 'db/**/*' |