-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* fix: path to run properly on windows (#1140) * fix: readme instructions + redirect uri (https)
- Loading branch information
1 parent
2323340
commit bfd7ce9
Showing
4 changed files
with
15 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
# Running this demo | ||
|
||
1. Make sure you run `npm run bootstrap` in the root folder to setup the dependencies | ||
1. Make sure you run `npm run build` in the root folder to setup the dependencies | ||
2. Register a new app on https://developers.arcgis.com | ||
3. Add a redirect URL of `http://localhost:8080/post-sign-in.html` to your app. | ||
3. Add a redirect URL of `https://localhost:8080/authenticate.html` to your app. | ||
4. Copy the `config.js.template` file, rename it to `config.js` | ||
5. Copy your apps client id into your new `config.js` file. | ||
6. `npm start` | ||
7. Visit http://localhost:8080 and click "Sign In" to start the OAuth 2.0 process. | ||
7. Visit https://localhost:8080 and click "Sign In" to start the OAuth 2.0 process. | ||
8. Start clicking buttons to send off authenticated geocoding requests. | ||
|
||
**Note:** The server starts with a special configuration to serve URLs starting with `@esri/arcgis-rest-*` from their respective packages. In your application you will need to change these URLs to point to their respective locations. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters