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
- Create an [Atlassian development site](http://go.atlassian.com/cloud-dev).
21
21
22
22
## Getting started
23
-
You can run this app in 3 simple steps:
24
-
-**Installing dependencies**
25
-
- Run `yarn install` (recommended) or `npm install` for installing all the dependencies for this app.
26
23
27
-
-**Configuration**
28
-
- We are using [ngrok](https://ngrok.com/docs/getting-started) for tunnelling. You'll need to create an ngrok
29
-
account to get access to the auth token.
30
-
- Open your .env file and fill in *all the missing fields*
31
-
32
-
-**Running docker compose**
33
-
- Then simply run `docker-compose up`.
34
-
- Please be patient as it will take a few minutes for everything to be setup. When everything is setup, you should see the URL in the terminal as in the picture below. 
35
-
36
-
> **Note:**_If you are using a free version of ngrok, please open the tunneled URL first. This needs to be done to bypass the ngrok browser warning. Just visit the ngrok warning page and just click on the Visit button._
24
+
1. Install the dependencies.
25
+
```shell
26
+
# If use Yarn (recommended)...
27
+
yarn install
28
+
# If use npm...
29
+
npm install
30
+
```
31
+
2. Create `.env` file based on `.env.example` and set the environment variables.
32
+
3. Start the app and install it on Jira. Please be patient as it will take a few minutes for everything to be setup. When everything is set up, you should see the URL in the terminal as in the picture below.
33
+
```shell
34
+
docker-compose up
35
+
```
36
+

37
37
38
38
At the very end, you can see the URL the index page of your app. Just open the URL and that's it, you're ready!
39
39
40
+
> **Note:**_If you are using a free version of ngrok, please open the tunneled URL first. This needs to be done to bypass the ngrok browser warning. Just visit the ngrok warning page and just click on the "Visit" button._
41
+
40
42
## Manually Installing the App
41
-
The above steps automatically installs the app, however you can only install one app at a time.
42
-
43
-
If you want to install the app in multiple Jira instances, please do it manually. Go to your Jira instances and do
44
-
the following steps:
45
-
- From the header menu, select Apps -> Manage your apps.
46
-
- Verify the filter is set to User-installed, and select Settings beneath the User-installed apps table.
47
-
- On the Settings pop-up, add Enable development mode and click Apply. Refresh the page.
48
-
- On the right side of the header, there should now appear a button Upload app. Click it and enter the app URL
The above steps automatically installs the app, however you can only install one app at a time.
45
+
46
+
1. Go to your Jira instance.
47
+
2. Enable the installation of apps that are not listed on the Atlassian Marketplace.
48
+
1. Go to **Apps** > **Manage your apps**.
49
+
2. Click **User-installed apps** > **Settings**.
50
+
3. Check **Enable development mode** and click **Apply**.
51
+
3. Reload the page.
52
+
4. Install the app.
53
+
1. Click **Upload app**.
54
+
2. Paste the link to your Connect descriptor (`${APP_URL}/atlassian-connect.json`) and
55
+
click **Upload**.
56
+
57
+
That's it! You're done. 🎉
52
58
53
59
## Testing
54
-
We have added a basic end to end test for installing and uninstalling the app, using [playwright](https://playwright.dev/docs/intro). You can add your own test cases on top of it.
60
+
We have added a basic end to end test for installing and uninstalling the app, using [playwright](https://playwright.dev/docs/intro). You can add your own test cases on top of it.
55
61
56
62
To run the end to end test, please add the values for `ATLASSIAN_URL`, `JIRA_ADMIN_EMAIL` and `JIRA_ADMIN_API_TOKEN` in the `.env` file. Then simply run `yarn test:e2e` in the terminal.
0 commit comments