How to deploy a sdk4.x theme to a standalone instance?

cancel
Showing results for 
Search instead for 
Did you mean: 
nettania
Active Member II

How to deploy a sdk4.x theme to a standalone instance?

Hi,

I have created my first theme using sdk4.x and Eclipse and now I want to deploy the theme to a standalone production environment. I was able to create a jar file and copied it to tomcat/lib folder, restarted the tomcat server but I was not able to select the new theme? Do I need to deploy the theme as amp file (I would prefere this), and if so, how can I do this in Eclipse? Is there anywhere a documentation/tutorial how to do this? In my opinion the sdk4.x documentation ist not very user friendly for beginners.

Thanks,

Florian

3 Replies
sanjaybandhniya
Intermediate

Re: How to deploy a sdk4.x theme to a standalone instance?

Alfresco root level there is  folder called /module.

Within that module create /share folder is not there and deploy your jar file there.

nettania
Active Member II

Re: How to deploy a sdk4.x theme to a standalone instance?

Hi,

thank you for the response. Inside the tomcat folder or outside? I have two folders called modules one at /usr/local/alfresco/modules and one /usr/local/alfresco/tomcat/modules.

Both folder have also a folder called shared.

Florian

bip1989
Established Member

Re: How to deploy a sdk4.x theme to a standalone instance?

I think you should view this doc: https://docs.alfresco.com/5.2/concepts/dev-extensions-packaging-techniques-jar-files.html

 

/usr/local/alfresco/modules/platform or /usr/local/alfresco/modules/share folder of your Alfresco Content Services installation as per the documentation.