Deploy to organization
Once you’re ready to test your snap-in in a production environment, you can deploy the snap-in to your organization.
Follow these steps:
- Copy
.env.example
to a new file named.env
and fill in the required variables. - Deploy a draft version of your snap-in to your organization by using
make deploy
. - Install the snap-in in your DevRev by going to Settings > Snap-ins > Install snap-in or by running
devrev snap_in activate
. - Set up the connection under Settings > Integrations > AirSyncs > Connections.
- Create an import at Settings > AirSyncs > AirSync (in the top-right corner).
This step is also a prerequisite for publishing the snap-in on the DevRev marketplace.
Observability
To observe logs from your snap-in in your development environment:
To open logs in your favorite editor:
For more information, refer to Debugging.
Uninstall
When you need to remove your snap-in from the organization, you can use the uninstall command to delete the most recently deployed snap-in package and version.
Run the following command from the root directory of your snap-in: