diff --git a/image-editor-ui/image-editor-ui-jquery/package.json b/image-editor-ui/image-editor-ui-jquery/package.json index 1cee0f3..2437825 100644 --- a/image-editor-ui/image-editor-ui-jquery/package.json +++ b/image-editor-ui/image-editor-ui-jquery/package.json @@ -4,12 +4,16 @@ "description": "", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "start": "http-server ." }, "author": "", "license": "ISC", "dependencies": { "bootstrap": "^3.3.6", "jquery": "^2.2.3" + }, + "devDependencies": { + "http-server": "^0.10.0" } } diff --git a/image-editor-ui/image-editor-ui-jquery/readme.md b/image-editor-ui/image-editor-ui-jquery/readme.md index 862fccd..8dabcda 100644 --- a/image-editor-ui/image-editor-ui-jquery/readme.md +++ b/image-editor-ui/image-editor-ui-jquery/readme.md @@ -15,10 +15,10 @@ Just follow the steps below. 1. `git clone` [the parent repo](https://github.com/CreativeSDK/web-getting-started-samples) 1. `cd` into this subdirectory -1. Run `npm install` (for Bootstrap and jQuery) +1. Run `npm install` (for Bootstrap, jQuery and http-server) 1. Add your Client ID as a string in `index.js` (replacing the string `""`) -1. Run the app +1. Run "npm start" to serve the app, and visit it in your browser at `localhost:8080` ## Learn more -Check out the [Getting started guide](https://creativesdk.adobe.com/docs/web/#/articles/gettingstarted/index.html) for configuration options and more! \ No newline at end of file +Check out the [Getting started guide](https://creativesdk.adobe.com/docs/web/#/articles/gettingstarted/index.html) for configuration options and more!