<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Create my custom theme and upload it to Docker Desktop for Windows in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/create-my-custom-theme-and-upload-it-to-docker-desktop-for/m-p/84585#M25763</link>
    <description>&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/81875"&gt;@carloshc95&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you have sdk4.x based project, you don't need to copy or make changes directly on docker containers. You make changes in your custom modules and use run.bat/run.sh to launch or reload the customizations.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope you have read the README.md file which you get when you generate the aio project.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A sample of readme file is located here, it have plenty of info. You have to read and follow it:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/abhinavmishra14/alfresco-metadataextraction-demo/blob/master/metadata-extractor-demo62/README.md" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/abhinavmishra14/alfresco-metadataextraction-demo/blob/master/metadata-extractor-demo62/README.md&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;To launch docker containers with alfresco and share :&lt;/U&gt;&lt;/P&gt;

&lt;PRE&gt;./run.sh build_start or ./run.bat build_start&lt;/PRE&gt;
&lt;P&gt;&lt;U&gt;Once you launched containers and made some changes to modules after launch, use following command to reload acs/share:&lt;/U&gt;&lt;/P&gt;

&lt;PRE&gt;./run.sh reload_acs or ./run.bat reload_acs

./run.sh reload_share or ./run.bat reload_share&lt;/PRE&gt;
&lt;P&gt;"Where is the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;aio / aio-share-jar / src / main / resources /&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;META-INF directory located?" --&amp;gt; It is at the same path in your custom module. You shouldn't looking for this path in containers. You need to put all your customizations in&amp;nbsp;&lt;STRONG&gt;aio-share-jar&lt;/STRONG&gt; module and reload share using the command shown above.&lt;/P&gt;

&lt;P&gt;&lt;U&gt;If you were to copy a file manually to any containers you can use following command:&lt;/U&gt;&lt;/P&gt;
&lt;PRE&gt;##### Get container name or short container id:

- `docker ps`

##### Get full container id:

- `docker inspect -f '{{.Id}}' CONTAINER_ID`

##### Copy file:

- `docker cp localFile FULLCONTAINER_ID:pathOnContainer`

Example, i want to copy custom-log4j.properties&amp;nbsp; from windows path to acs container:
- `docker cp C:\custom-log4j.properties ac23e51fd0b5c4cc11a12133ceea16d603e7f105d8d39873c75d7cfdd5942e40:/usr/local/tomcat/shared/classes/alfresco/extension`&lt;/PRE&gt;

&lt;P&gt;This "Alfresco 6.x with SDK4.x and docker command cheatseet" may be helpful to you:&amp;nbsp;&lt;A href="https://javaworld-abhinav.blogspot.com/2019/11/alfresco-6x-with-sdk4x-and-docker.html" target="_blank" rel="noopener nofollow noreferrer"&gt;https://javaworld-abhinav.blogspot.com/2019/11/alfresco-6x-with-sdk4x-and-docker.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jun 2020 13:52:00 GMT</pubDate>
    <dc:creator>abhinavmishra14</dc:creator>
    <dc:date>2020-06-09T13:52:00Z</dc:date>
    <item>
      <title>Create my custom theme and upload it to Docker Desktop for Windows</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/create-my-custom-theme-and-upload-it-to-docker-desktop-for/m-p/84584#M25762</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I am doing my project with alfresco 6.X and SDK 4.0.&lt;/P&gt;&lt;P&gt;I have already created the necessary users, groups, etc. and now I would like to modify the interface so that it more closely resembles that of my small business.&lt;/P&gt;&lt;P&gt;I have read this article to make my custom theme &lt;A href="https://docs.alfresco.com/6.1/tasks/dev-extensions-share-tutorials-add-theme.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/6.1/tasks/dev-extensions-share-tutorials-add-theme.html&lt;/A&gt;&amp;nbsp;but I have two main questions:&lt;/P&gt;&lt;P&gt;1.- Where is the &lt;STRONG&gt;aio / aio-share-jar / src / main / resources /&lt;/STRONG&gt; META-INF directory located?&lt;/P&gt;&lt;P&gt;2.- I am accessing the Share directory through Docker Desktop in Windows. How can I delete, copy and / or upload files from here?&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fotolunes1.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/681i8056D7BCAD6BC7B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have downloaded this article&amp;nbsp;&lt;A href="https://docs.docker.com/engine/reference/commandline/cp/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.docker.com/engine/reference/commandline/cp/&lt;/A&gt;&amp;nbsp; but it is not very clear what my DEST_PATH is (since cmd I have run docker ps and the result is the following image).&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fotolunes2.PNG" style="width: 969px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/683iB181D272A5FAB746/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 14:48:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/create-my-custom-theme-and-upload-it-to-docker-desktop-for/m-p/84584#M25762</guid>
      <dc:creator>carloshc95</dc:creator>
      <dc:date>2020-06-08T14:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Create my custom theme and upload it to Docker Desktop for Windows</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/create-my-custom-theme-and-upload-it-to-docker-desktop-for/m-p/84585#M25763</link>
      <description>&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/81875"&gt;@carloshc95&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you have sdk4.x based project, you don't need to copy or make changes directly on docker containers. You make changes in your custom modules and use run.bat/run.sh to launch or reload the customizations.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope you have read the README.md file which you get when you generate the aio project.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A sample of readme file is located here, it have plenty of info. You have to read and follow it:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/abhinavmishra14/alfresco-metadataextraction-demo/blob/master/metadata-extractor-demo62/README.md" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/abhinavmishra14/alfresco-metadataextraction-demo/blob/master/metadata-extractor-demo62/README.md&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;To launch docker containers with alfresco and share :&lt;/U&gt;&lt;/P&gt;

&lt;PRE&gt;./run.sh build_start or ./run.bat build_start&lt;/PRE&gt;
&lt;P&gt;&lt;U&gt;Once you launched containers and made some changes to modules after launch, use following command to reload acs/share:&lt;/U&gt;&lt;/P&gt;

&lt;PRE&gt;./run.sh reload_acs or ./run.bat reload_acs

./run.sh reload_share or ./run.bat reload_share&lt;/PRE&gt;
&lt;P&gt;"Where is the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;aio / aio-share-jar / src / main / resources /&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;META-INF directory located?" --&amp;gt; It is at the same path in your custom module. You shouldn't looking for this path in containers. You need to put all your customizations in&amp;nbsp;&lt;STRONG&gt;aio-share-jar&lt;/STRONG&gt; module and reload share using the command shown above.&lt;/P&gt;

&lt;P&gt;&lt;U&gt;If you were to copy a file manually to any containers you can use following command:&lt;/U&gt;&lt;/P&gt;
&lt;PRE&gt;##### Get container name or short container id:

- `docker ps`

##### Get full container id:

- `docker inspect -f '{{.Id}}' CONTAINER_ID`

##### Copy file:

- `docker cp localFile FULLCONTAINER_ID:pathOnContainer`

Example, i want to copy custom-log4j.properties&amp;nbsp; from windows path to acs container:
- `docker cp C:\custom-log4j.properties ac23e51fd0b5c4cc11a12133ceea16d603e7f105d8d39873c75d7cfdd5942e40:/usr/local/tomcat/shared/classes/alfresco/extension`&lt;/PRE&gt;

&lt;P&gt;This "Alfresco 6.x with SDK4.x and docker command cheatseet" may be helpful to you:&amp;nbsp;&lt;A href="https://javaworld-abhinav.blogspot.com/2019/11/alfresco-6x-with-sdk4x-and-docker.html" target="_blank" rel="noopener nofollow noreferrer"&gt;https://javaworld-abhinav.blogspot.com/2019/11/alfresco-6x-with-sdk4x-and-docker.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 13:52:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/create-my-custom-theme-and-upload-it-to-docker-desktop-for/m-p/84585#M25763</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2020-06-09T13:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Create my custom theme and upload it to Docker Desktop for Windows</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/create-my-custom-theme-and-upload-it-to-docker-desktop-for/m-p/84586#M25764</link>
      <description>&lt;P&gt;&amp;nbsp;hi!&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/74498"&gt;@abhinavmishra14&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your solution. Since eclipse I am able to configure everything without using the docker. But I still can't find the route&lt;BR /&gt;&lt;STRONG&gt;Alfresco / tomcat / webapps / share / themes / greenTheme&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have maven installed (C: \ Program Files \ apache-maven-3.6.3), but I can't find tomcat if it's not from the Docker console.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 16:22:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/create-my-custom-theme-and-upload-it-to-docker-desktop-for/m-p/84586#M25764</guid>
      <dc:creator>carloshc95</dc:creator>
      <dc:date>2020-06-09T16:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Create my custom theme and upload it to Docker Desktop for Windows</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/create-my-custom-theme-and-upload-it-to-docker-desktop-for/m-p/84587#M25765</link>
      <description>&lt;P&gt;You can find the "&lt;SPAN class="ph filepath"&gt;greenTheme" by navigating to share container via SSH. You can look for various commands available in the cheatsheet blog i shared with you.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;##### SSH Into a docker image:

- `docker exec -t -i &amp;lt;containerName/Id&amp;gt; /bin/bash`

docker exec Options:
  -d, --detach               Detached mode: run command in the background
      --detach-keys string   Override the key sequence for detaching a container

  -e, --env list             Set environment variables

  -i, --interactive          Keep STDIN open even if not attached
      --privileged           Give extended privileges to the command

  -t, --tty                  Allocate a pseudo-TTY

  -u, --user string          Username or UID (format:
                             &amp;lt;name|uid&amp;gt;[:&amp;lt;group|gid&amp;gt;])

  -w, --workdir string       Working directory inside the container



Example (SSH into share container):

- `docker exec -t -i docker_acs6-aio-demo-project-share_1 /bin/bash`&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN class="ph filepath"&gt;Once you are logged in to the container, go to ('cd' to the path) : $TOMCAT_HOME/webapps/share/themes/greenTheme&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="ph filepath"&gt;Zip the&amp;nbsp;greenTheme folder and download it locally.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;You can take reference from these projects here:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://github.com/abhinavmishra14/share-theme-demo" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/abhinavmishra14/share-theme-demo&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A title="https://github.com/abhinavmishra14/share-theme-demo/tree/master/share62-theme-demo" href="https://github.com/abhinavmishra14/share-theme-demo/tree/master/share62-theme-demo" target="_self" rel="nofollow noopener noreferrer"&gt;https://github.com/abhinavmishra14/share-theme-demo/tree/master/share62-theme-demo&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 09 Jun 2020 16:36:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/create-my-custom-theme-and-upload-it-to-docker-desktop-for/m-p/84587#M25765</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2020-06-09T16:36:17Z</dc:date>
    </item>
  </channel>
</rss>

