yarn
yarn build
yarn start
- Remember to fill the
API_GPTvariable in thedocker-compose.yml.
- Linux
sudo docker-compose up -d --build
- Windows
docker-compose up -d --build
You only need the
--buildargument if the code has been change and you need to rebuild the application.
Use the QRCode in the docker log to connect to WhatsApp
In case you change the init-mongo.js file and wants to reset the DB, you need
to delete the mongo's docker volume.
docker-compose rm --stop --force -v mongo
docker volume rm leniser-wpp_mongo_data
then run the compose again.