Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jhowbhz authored Oct 7, 2021
1 parent 20b716e commit 31afb0a
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,66 +12,66 @@
## Instalando as dependencias

```bash
> sudo apt install -y curl nano git gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget build-essential apt-transport-https libgbm-dev
sudo apt install -y curl nano git gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget build-essential apt-transport-https libgbm-dev
```

```bash
> cd ~
cd ~
```

```bash
> curl -sL https://deb.nodesource.com/setup_16.x -o nodesource_setup.sh
curl -sL https://deb.nodesource.com/setup_16.x -o nodesource_setup.sh
```

```bash
> sudo bash nodesource_setup.sh
sudo bash nodesource_setup.sh
```

```bash
> sudo apt -y install nodejs
sudo apt -y install nodejs
```

```bash
> node -v
node -v
```

```bash
> wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
```

```bash
> sudo apt install ./google-chrome-stable_current_amd64.deb
sudo apt install ./google-chrome-stable_current_amd64.deb
```

## Clonando e instalando meu próprio bot: 📚

```bash
> git clone https://github.com/jhowbhz/bot-whatsapp.git
git clone https://github.com/jhowbhz/bot-whatsapp.git
```

```bash
> npm install --unsafe-perm
npm install --unsafe-perm
```

```bash
> npm install -y pm2 -g
npm install -y pm2 -g
```

## Forma de usar: 💫
Depois de clonar instalar o projeto, basta digitar o seguinte, e ler o QR Code em seguida...

```bash
> npm start
npm start
```

Leu o QR Code? Tudo certo? Agora deixa ele rodando em background...

```bash
> pm2 start index.js
pm2 start index.js
```

```bash
> pm2 startup
pm2 startup
```

## O que ele pode fazer?
Expand All @@ -94,7 +94,7 @@ E muito mais....
### Comando inicial: ☕

```bash
> Olá, bruce
Olá, bruce
```
### Merecidos créditos: 🏆

Expand Down

0 comments on commit 31afb0a

Please sign in to comment.