Code Monkey home page Code Monkey logo

wuzapi's Introduction

Seja bem-vindo ao Guia de Instalação WUZAPI 🚀

WhatsAPP-logo Grupo WhatsaAPP: Grupo



Manual de Instalação Chatwoot

Atualize sua máquina com os últimos pacotes

sudo apt update && apt upgrade -y

Baixe o instalador automático do Chatwoot

wget https://get.chatwoot.app/linux/install.sh

Execute a permisão no arquivo install.sh

chmod +x install.sh

Inicie a instalação, digite "yes" para SSL, em seguida digite seu dominio e prossiga confimando com yes.

Esse processo vai levar média ~ 15

./install.sh --install

Use as opções abaixo

yes

app.dominio.com.br

[email protected]

yes para todos

Alterando Idioma e ativando sua tela de cadastro

nano /home/chatwoot/chatwoot/.env

Altere a linha:

DEFAULT_LOCALE=pt_BR para ENABLE_ACCOUNT_SIGNUP=true

systemctl daemon-reload && systemctl restart chatwoot.target

Acesse: app.seudominio.com.br

Faça seu cadastro

Habilitando configurações ocultas do Chatwoot no banco de dados PostgreSQL

sudo -i -u postgres psql
\c chatwoot_production
update installation_configs set locked = false;
\q
Manual de Instalação WUZAPI

Instale as Dependências

sudo apt install git -y
sudo apt install golang-go
sudo apt install sqlite3

Clone Repositório Oficial da WUZAPI

git clone https://github.com/hasanbasri1993/wuzapi

Proxy Reverso

sudo nano /etc/nginx/sites-available/wuzapi
server {
  server_name wuzapi.seudominio.com.br;
  location / {
    proxy_pass http://127.0.0.1:9000;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection 'upgrade';
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_cache_bypass $http_upgrade;
  }
   }
sudo ln -s /etc/nginx/sites-available/wuzapi /etc/nginx/sites-enabled
sudo certbot --nginx
sudo service nginx restart

Configurando Conector com o Chatwoot

cd wuzapi
nano config.yaml
appName: NomeEmpresa
server: 
  host: wuzapi.seudominio.com.br
  port: 9000
chatwoot:
    baseUrl: https://urlchatwoot/app/accounts/numeroaccounts/inbox/numeroinbox
    accountToken: TokenChatwootProfile
    forceUpdateCwWebhook: false

Criando sua Caixa de Entrada

Url Webhook da API para colocar no Inbox do Chatwoot

https://wuzapi.seudominio.com.br/chatwoot

Start API

go run .

Crie um Usuário e token para iniciar Sessões

sqlite3 dbdata/users.db "insert into users ('name','token') values ('instancia','tokenaleatorio')"

Gerar Qrcode

http://wuzapi.seudominio.com.br/login/?token=tokenaleatorio

Informações Adicionais

Url da api

https://wuzapi.seudominio.com.br

Url do swagger

https://wuzapi.seudominio.com.br/api

Atualize sua máquina com os últimos pacotes

sudo apt update && apt upgrade -y

Acesse super Admin

https://app.seudominio.com.br/super_admin

Navegue até a opção > installation_configs

Navegue até a opção > installation_configs

LOGO
LOGO_THUMBNAIL
NOMES CHATWOOT:

Alterando nomes na Plataforma

INSTALLATION_NAME
BRAND_NAME
TERMOS E POLITICA DE PRIVACIDADE
TERMS_URL
PRIVACY_URL
BRAND_URL
WIDGET_BRAND_URL

wuzapi's People

Contributors

marcelocaciatori avatar jtayrone avatar

Stargazers

emawork avatar

Forkers

bctavares

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.