Last active
February 4, 2019 11:41
-
-
Save erikfig/e47f3c20658e08c3283075e716bc3818 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ambiente DEV no Windows | |
## Instalando ferramentas | |
No CMD, instale o Choco com o comando a seguir. | |
``` | |
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" | |
``` | |
Instale os pacotes, estamos incluindo: | |
- PHP | |
- Composer | |
- MySQL | |
- SQLite | |
- Node.js | |
- Git | |
- Dart SDK | |
- Visual Studio Code | |
- Sublime Text 3 | |
- Android Studio | |
- MongoDB | |
``` | |
choco install php composer mysql sqlite nodejs git dart-sdk vscode sublimetext3 androidstudio golang mongodb -y | |
``` | |
## Configurando Node | |
Instale o Windows Build Tools: | |
``` | |
npm install --global windows-build-tools | |
``` | |
## Configurando Visual Studio Code | |
Na guia Welcome | |
- Instale suporte a Javascript, Typescript e PHP | |
- Instale suporte a atalhos do Sublime | |
Em extenções adicione: | |
- Dart | |
- Flutter | |
## Configurando Sublime | |
Instale o Package Control: | |
- Tecle ctrl + shift + p | |
- Digite Install Package Control e confirme com enter | |
Adicione suporte o Emmet | |
- Digite Install Package e tecle enter | |
- Persquise por Emmet, tecle enteder | |
## Debug PHP e Visual Studio code | |
- Adicione a extensão XDebug no PHP através do link [https://xdebug.org/wizard.php](https://xdebug.org/wizard.php) | |
- O processo inclui você copiar o seu php.ini e colar no campo de texto, o site vai te fornecer os passos da instalação. | |
- Após a instalação, adicione as linhas | |
``` | |
xdebug.remote_enable = 1 | |
xdebug.remote_autostart = 1 | |
``` | |
- No Visual Studio Code, adicione a extenção [PHP Debug](https://github.com/felixfbecker/vscode-php-debug.git) | |
## MySQL | |
Encontre o diretório de instalação do MySQL, normalmente `C:\tools\mysql\current`, adicione o caminho (incluindo o diretório bin dentro deste, `C:\tools\mysql\current\bin`) nas variáveis de ambiente do sistema operacional | |
O MySQL vem configurado em localhost com user root e sem senha, se quiser incluir ou deixar seguro de acordo com seus gostos apenas rode `mysql_secure_installation` no CMD e responda as perguntas. | |
## MySQL Workbench | |
Para baixar e instalar: | |
- [https://dev.mysql.com/downloads/workbench/](https://dev.mysql.com/downloads/workbench/) | |
## Flutter | |
Siga os passos neste link: | |
[https://flutter.io/setup-windows/](https://flutter.io/setup-windows/) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment