<?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: Using the CLI to download existing web site and its assets? in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Using-the-CLI-to-download-existing-web-site-and-its-assets/m-p/522716#M26025</link>
    <description>&lt;P&gt;I wouldn't recomend this. The CLI/local environment shouldn't be used for this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The optimal workflow should - as already mentioned - be:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;create a &lt;A href="https://developers.hubspot.com/" target="_blank" rel="noopener"&gt;developer account&lt;/A&gt;(it's free)&lt;/LI&gt;
&lt;LI&gt;set up a local dev environment&lt;/LI&gt;
&lt;LI&gt;connect the live and dev environment to the local one&lt;/LI&gt;
&lt;LI&gt;develop(and test) a so called theme for your company/project locally&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;push it to the dev environment&lt;/LI&gt;
&lt;LI&gt;test it (build some pages with lorem ipsum/try your custom modules...)&lt;/LI&gt;
&lt;LI&gt;optimize the code after the test&lt;/LI&gt;
&lt;LI&gt;return to step6 as long as you want&lt;/LI&gt;
&lt;LI&gt;when finished push the latest state to the live environtment&lt;/LI&gt;
&lt;LI&gt;build pages in the live environment&lt;/LI&gt;
&lt;LI&gt;publish the pages&lt;/LI&gt;
&lt;LI&gt;done&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hope this helps&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anton&lt;/P&gt;</description>
    <pubDate>Mon, 08 Nov 2021 15:58:04 GMT</pubDate>
    <dc:creator>Anton</dc:creator>
    <dc:date>2021-11-08T15:58:04Z</dc:date>
    <item>
      <title>Using the CLI to download existing web site and its assets?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Using-the-CLI-to-download-existing-web-site-and-its-assets/m-p/520477#M25921</link>
      <description>&lt;P&gt;Is there a simple way to&amp;nbsp;use the CLI to download existing web site and its assets?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So they can be worked on locally, then re-uploaded?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 18:47:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Using-the-CLI-to-download-existing-web-site-and-its-assets/m-p/520477#M25921</guid>
      <dc:creator>silvacarl</dc:creator>
      <dc:date>2021-11-03T18:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using the CLI to download existing web site and its assets?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Using-the-CLI-to-download-existing-web-site-and-its-assets/m-p/520478#M25922</link>
      <description>&lt;P&gt;I guess in addition to that, can i develop a site locally and then when its ready upload it?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 18:49:15 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Using-the-CLI-to-download-existing-web-site-and-its-assets/m-p/520478#M25922</guid>
      <dc:creator>silvacarl</dc:creator>
      <dc:date>2021-11-03T18:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using the CLI to download existing web site and its assets?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Using-the-CLI-to-download-existing-web-site-and-its-assets/m-p/520977#M25955</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/120562"&gt;@silvacarl&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to get things right. HubSpot got templates/layouts and websites/landing-pages/thank-you-pages which are based on those templates/layouts.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can download/upload&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;templates/layouts&lt;/LI&gt;
&lt;LI&gt;assets from the file-manager&lt;/LI&gt;
&lt;LI&gt;HubDB tables(if you got them)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;via CLI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can't&amp;nbsp;download/upload pages that are build with the templates/layouts.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But you can export all websites/landing-pages/thank-you-pages but unfortunately not reupload them back to HubSpot.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Additional information:&lt;/P&gt;
&lt;P&gt;You could build yourself an "overengineered" &lt;A href="https://developers.hubspot.com/docs/api/cms/pages" target="_blank" rel="noopener"&gt;API solution&lt;/A&gt; for page editing but this is an overkill imo. ( still in beta right now)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To sum up things:&lt;/P&gt;
&lt;P&gt;The best-pracitse workflow is:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Create templates that you'd like to use mutliple times in CLI/locally and upload them to HubSpot - not every single page needs its own template&lt;/LI&gt;
&lt;LI&gt;Build your pages directly in HubSpot - you don't have an easy solution to do this locally&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hope this helps,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anton&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 13:59:28 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Using-the-CLI-to-download-existing-web-site-and-its-assets/m-p/520977#M25955</guid>
      <dc:creator>Anton</dc:creator>
      <dc:date>2021-11-04T13:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Using the CLI to download existing web site and its assets?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Using-the-CLI-to-download-existing-web-site-and-its-assets/m-p/521089#M25958</link>
      <description>&lt;P&gt;thank you!&amp;nbsp; i will check out those beta APIs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;being able to use all of our production tools, testing locally, and then uploading is what we need to do.&amp;nbsp; The drag and drop is nice, but we want to create a large site with many custom features, so doing it on a local dev machine is easier, then uploading.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 15:45:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Using-the-CLI-to-download-existing-web-site-and-its-assets/m-p/521089#M25958</guid>
      <dc:creator>silvacarl</dc:creator>
      <dc:date>2021-11-04T15:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Using the CLI to download existing web site and its assets?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Using-the-CLI-to-download-existing-web-site-and-its-assets/m-p/521090#M25959</link>
      <description>&lt;P&gt;also, what you poinetd to is EXACTLY what we wanted to find!&amp;nbsp; LOL!&amp;nbsp; even if it is in beta, we can try it out.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 15:46:38 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Using-the-CLI-to-download-existing-web-site-and-its-assets/m-p/521090#M25959</guid>
      <dc:creator>silvacarl</dc:creator>
      <dc:date>2021-11-04T15:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using the CLI to download existing web site and its assets?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Using-the-CLI-to-download-existing-web-site-and-its-assets/m-p/522716#M26025</link>
      <description>&lt;P&gt;I wouldn't recomend this. The CLI/local environment shouldn't be used for this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The optimal workflow should - as already mentioned - be:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;create a &lt;A href="https://developers.hubspot.com/" target="_blank" rel="noopener"&gt;developer account&lt;/A&gt;(it's free)&lt;/LI&gt;
&lt;LI&gt;set up a local dev environment&lt;/LI&gt;
&lt;LI&gt;connect the live and dev environment to the local one&lt;/LI&gt;
&lt;LI&gt;develop(and test) a so called theme for your company/project locally&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;push it to the dev environment&lt;/LI&gt;
&lt;LI&gt;test it (build some pages with lorem ipsum/try your custom modules...)&lt;/LI&gt;
&lt;LI&gt;optimize the code after the test&lt;/LI&gt;
&lt;LI&gt;return to step6 as long as you want&lt;/LI&gt;
&lt;LI&gt;when finished push the latest state to the live environtment&lt;/LI&gt;
&lt;LI&gt;build pages in the live environment&lt;/LI&gt;
&lt;LI&gt;publish the pages&lt;/LI&gt;
&lt;LI&gt;done&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hope this helps&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anton&lt;/P&gt;</description>
      <pubDate>Mon, 08 Nov 2021 15:58:04 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Using-the-CLI-to-download-existing-web-site-and-its-assets/m-p/522716#M26025</guid>
      <dc:creator>Anton</dc:creator>
      <dc:date>2021-11-08T15:58:04Z</dc:date>
    </item>
  </channel>
</rss>

