Add Files to Application Deployment

0
I've added functionality for our "admin section" that requires 12 image files in the "\deployment\data\tmp" folder.  However, I noticed the images are missing when deploying the application.  I want to make sure these images are included when deploying the application to our Dev/Test/Stage/Prod environments.  Where should I store the image files so they are included in the deployment package?
asked
2 answers
1

Doesn't sound like a deployment issue. More like how you can Develop the app. So try the app development space.

 

A possible solution, assuming your images are not confidential

  • store them in theme directory inside of your project (these files are accesible via browser)
  • create a java action to copy these files to your desired location
  • call this java action during start up of your app (project settings)

If your data is sensitive, then you can import these images into your project image collection and similar to above, use java action to put them in the right place.

 

answered
1

Are these static images? If you create a folder in theme/web folder and add the images here, they will be part of the deployment package.

answered