Making script changes to your local app
In order to save script changes to your project, follow this procedure and set up a hosted data store to store your scripts. Once set up, you can simply update this location every time you make script changes.
- Create a folder in a hosted data store, such as an AWS s3 bucket, to store your zipped scripts.
- Replace the
endPointConfig.projectZipFileOriginvalue in yourapp/public/config.jsfile with a link to where your hosted zip file, calleddata.zip, will be, for example"https://my-aws-username.s3.us-west-2.amazonaws.com/ref_app_project_setup/data.zip". - Create a zipped folder of your
scriptsfolder calleddata.zip. - Upload
data.zipto the hosted data store folder that theendPointConfig.projectZipFileOriginvalue points to, for example,"https://my-aws-username.s3.us-west-2.amazonaws.com/ref_app_project_setup". - In your project, run
npm run watch. - Open
http://localhost:8086/referencein an private browsing window to view your changes.