You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
8\. After the Snap-in draft is created, install the Snap-in in the DevRev UI (`Settings` -> `Snap-ins` -> `Installed` -> `<your Snap-in>` -> `Install snap-in`) or using the DevRev CLI:
1\. Open the project in your IDE and set up project environment variables, by following these steps:
19
73
20
74
- Rename `.env.example` to `.env`.
21
75
- In `.env` set the slug of your organization, and your email.
22
76
23
-
4\. Build the Snap-in using the following command:
77
+
2\. Build the Snap-in using the following command:
24
78
25
79
```bash
26
80
make build
27
81
```
28
82
29
-
5\. Deploy the Snap-in to the organization:
83
+
3\. Deploy the Snap-in to the organization:
30
84
31
85
```bash
32
86
make deploy
33
87
```
34
88
35
89
NOTE: This process may take some time. Command authenticates you to the org using the DevRev CLI, creates a Snap-in package, its Snap-in version, and finally the Snap-in draft.
36
90
37
-
6\. After the Snap-in draft is created, install the Snap-in in the DevRev UI (`Settings` -> `Snap-ins` -> `Install snap-in`).
91
+
4\. After the Snap-in draft is created, install the Snap-in in the DevRev UI (`Settings` -> `Snap-ins` -> `Installed` -> `<your Snap-in>` -> `Install snap-in`) or using the DevRev CLI:
#### Q:`Conflict` error after the `Creating snap-in package...` output during `make deploy`.
101
+
-`Conflict` error after the `Creating snap-in package...` output during `make deploy`.
44
102
45
-
A: Snap-in package with the same slug already exists. Override the `SNAP_IN_SLUG` variable by explicitly updating the variable in `scripts/vars.sh`.
103
+
- Snap-in package with the same slug already exists. Override the `SNAP_IN_SLUG` variable by explicitly updating the variable in `scripts/vars.sh`.
46
104
47
-
#### Q: Snap-in version `build/deployment failed` after the `Waiting for snap-in version to be ready...` message
105
+
- Snap-in version `build/deployment failed` after the `Waiting for snap-in version to be ready...` message
48
106
49
-
A: The snap-in version could not be built. Check the logs by running the DevRev CLI command `devrev snap_in_package logs`. For prettier UI, pipe the output to `jq`
107
+
- The snap-in version could not be built. Check the logs by running the DevRev CLI command `devrev snap_in_package logs`. For prettier UI, pipe the output to `jq`
50
108
51
-
### Q:`Token is expired` when deploying or cleaning up.
109
+
-`Token is expired` when deploying or cleaning up.
52
110
53
-
A: Authentication token to the `DEV_ORG` has expired. Run `make auth` to reconnect to the organization.
111
+
- Authentication token to the `DEV_ORG` has expired. Run `make auth` to reconnect to the organization.
0 commit comments