Created
February 21, 2016 08:53
-
-
Save jjcodes78/6fb2c258219f6a0f92d9 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
@echo off | |
set APACHE_DIR=C:\Development\xampp\apache | |
set MYSQL_DIR=C:\Development\xampp\mysql | |
if "%~1" == "stop" goto stop | |
goto start | |
if errorlevel 1 goto error | |
goto finish | |
:start | |
echo MySQL est� iniciando | |
echo Aguarde ... | |
echo MySQL est� iniciando com %MYSQL_DIR%\bin\my.ini (console) | |
@echo off | |
"%MYSQL_DIR%\bin\mysqld" --defaults-file="%MYSQL_DIR%\bin\my.ini" --standalone --console | |
goto finish | |
:stop | |
echo Finalizando MySQL | |
echo Aguarde... | |
@echo off | |
"%APACHE_DIR%\bin\pv" -f -k mysqld.exe -q >nul | |
if errorlevel 1 goto error2 | |
echo MySQL finalizado com sucesso | |
if not exist "MYSQL_DIR%\data\%computername%.pid" GOTO finish | |
echo Deletando %computername%.pid ... | |
del "%MYSQL_DIR%\data\%computername%.pid" | |
goto finish | |
:error | |
echo. | |
echo MySQL n�o p�de ser inicializado | |
goto finish | |
:error2 | |
echo. | |
echo MySQL n�o inicializado | |
:finish |
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
@echo off | |
npm install webpack webpack-dev-server vue-loader vue-html-loader css-loader vue-style-loader vue-hot-reload-api babel-loader babel-core babel-plugin-transform-runtime babel-preset-es2015 babel-runtime@5 --save-dev | |
npm install vue vue-resource --save |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment