Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Criado arquivo de inicialização #7

Open
wants to merge 1 commit into
base: revert-4-feature-docs-organization
Choose a base branch
from

Conversation

alissonkopp
Copy link

Arquivo de incialização que verifica a existência da pasta "node_modules", caso não exista irá instalar o NPM, caso exista, irá executar o comando "node main.js"

…anization

Revert "feature - organizando as pastas e criando uma pasta de logs e corrigi…"
Copy link
Author

@alissonkopp alissonkopp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@echo off
REM Verifica se a pasta "node_modules" existe
if not exist "node_modules" (
echo Pasta "node_modules" não encontrada. Executando npm install...
npm install
) else (
echo Pasta "node_modules" encontrada. Executando node main.js...
node main.js
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants