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
Copy file name to clipboardExpand all lines: app/README.md
+2-6Lines changed: 2 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,25 +71,22 @@ The filter `setid` is used in `/app/.gitattributes` so that it replaces your app
71
71
#### Install the app to your Jira instance
72
72
73
73
1. Build your app by running `yarn build` in **/app/jenkins-for-jira-ui**.
74
-
2. Deploy your app by running `forge deploy` in **/app**. See [Common Issues](#common-issues) if unsuccessful.
74
+
2. Deploy your app by running `forge deploy --no-verify` in **/app**. See [Common Issues](#common-issues) if unsuccessful.
75
75
3. Install your app to your Jira site by running `forge install` in **/app**.
76
76
77
77
Follow the instructions in this setup wizard. Enter the hostname for your Jira site (e.g. `<your-site-name>.atlassian.net`).
78
78
79
79
> NOTE: This is the *only* step that needs to be repeated to install on different Jira sites. Do not repeat the steps above `forge deploy`. To run your app, follow the steps below.
80
80
81
81
## Running the app
82
-
To run the app, make sure you have installed the app on your site as described above. You'll also need to your `ngrok-config-path` so you can create a local tunnel. Sign up to [ngrok](https://ngrok.com/) if you have not done so. To do this:
83
-
1. Run `forge settings set ngrok-config-path <path-to-your-ngrok-config>`.
84
-
2. Confirm this was set correctly by running `forge settings list`. You should see a table that includes this variable with a value set to your ngrok config path.
85
82
86
83
### Run the app locally
87
84
88
85
To start the app locally, run `yarn start` in **/app/jenkins-for-jira-ui**.
89
86
90
87
The command line will suggest navigating to `localhost:3000` but this does not work for `Custom UI` Forge apps. For more information, see [here](https://community.developer.atlassian.com/t/forge-tunneling-customui-with-ui-resolver-error-cannot-read-property-callbridge-of-undefined/47010/3).
91
88
92
-
To see your local app in the Jira instance you installed the app into, run `forge tunnel` in the **/app** folder. If this fails, ensure you have correctly set `ngrok-config-path`.
89
+
To see your local app in the Jira instance you installed the app into, run `forge tunnel` in the **/app** folder.
93
90
94
91
All your changes are instantly propagated to your Jira site and you can see them without the need to rebuild or redeploy your app.
95
92
@@ -114,4 +111,3 @@ In the **/app/jenkins-for-jira-ui** dir, run `yarn test`.
114
111
1. For unsuccessful `forge deploy`, run `forge deploy --no-verify` if everything is good except for 2 acceptable errors...
115
112
-`invalid value 'devops:deploymentInfoProvider' in modules`
116
113
-`invalid value 'devops:buildInfoProvider' in modules`
0 commit comments