Skip to content

open-wa/wa-automate-deploy-heroku

Folders and files

NameName
Last commit message
Last commit date
Apr 26, 2022
Aug 13, 2021
Aug 13, 2021
Aug 5, 2021
Feb 19, 2022
Dec 15, 2020
Aug 13, 2021
Apr 25, 2022
Aug 5, 2021
Apr 25, 2022
Aug 24, 2021
Jun 6, 2022

Repository files navigation

open-wa-heroku-deployment

Deploy

Steps:

  1. Make sure you have a .data.json file already authenticated. If you do not already have this then run this code
> npx @open-wa/wa-automate -o

This will stop the program as soon as a .data.json file has been created (It should be named session.data.json and in the same folder from which you ran the CLI)

  1. Press the deploy button
  2. Enter an API key to protect your API requests. If you do not set this Key then it will automatically generated for you. If it is generated for you, you will have to access the key from the logs.
  3. Copy the Base64 encoded string from the .data.json file and into the WA_SESSION_DATA field.
  4. Deploy (should take a few minutes)
  5. Open app with the path /api-docs/