The Airdrop TODO snap-in syncs data between TODO and DevRev using DevRev's Airdrop platform.
Install the following tools:
Set your DevRev organization slug (the part after app.devrev.ai/ in your DevRev URL)
and your email in the .env file:
DEV_ORG=my-org
USER_EMAIL=my@email.comAfter installing the prerequisites above
you can start developing the snap-in.
Run the following code from the code directory:
devrev profiles authenticate --usr <your email> --org <your DevRev organization slug>npm cinpm run test:server -- localFor this step, you will need to create a ngrok account.
ngrok http 8000This will create a tunnel to your local server. The ngrok forwarding URL will be displayed in the terminal window.
Copy the ngrok 'Forwarding' URL from the previous step (the one ending with ngrok-free.app).
devrev snap_in_version create-one --manifest ./manifest.yaml --create-package --testing-url <ngrok forwarding URL>devrev snap_in draftYou can install it in the DevRev UI by going to Settings -> Snap-ins ->
Installed -> <your snap-in> -> Install snap-in or using the following command:
devrev snap_in activateIn the DevRev UI, go to Airdrops -> Start Airdrop -> <your snap-in> and start the import.