<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8608610523928821757</id><updated>2026-05-06T13:14:48.466+01:00</updated><category term="django"/><category term="python"/><category term="wagtail"/><category term="pip"/><title type='text'>LittleRipples Project</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://littleripplesproject.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://littleripplesproject.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>DJ Millward</name><uri>http://www.blogger.com/profile/00956188700712120760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5uFzd1oDU8E1oYBaMPDAXQqDF8voL7_YuinTX2a5FTfUVOLIhcJsm0I-K32ktkqqP5cpdEDbnRa81lsicGD0m2mUF8MzoNxHRAF-6A3SIXAwEC4ScJzDjgmq73ZC6OlU/s220/surfing2008.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>651</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8608610523928821757.post-8681425616629230106</id><published>2023-02-24T14:47:00.000+00:00</published><updated>2023-02-24T14:47:31.034+00:00</updated><title type='text'>SlackAPIPostOperator unable to send to private slack channel. </title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&amp;nbsp;&lt;br /&gt;I am using&amp;nbsp;SlackAPIPostOperator from an Airflow Dag.&amp;nbsp; And have successfully made a bot that will send messages to my Slack Channel&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;color: #d4d4d4; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;slack_post&lt;/span&gt; = SlackAPIPostOperator(&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #d4d4d4; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;task_id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;slack_notification&quot;&lt;/span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #d4d4d4; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;channel&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#my_slack_channel&quot;&lt;/span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #d4d4d4; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;username&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;airflow&quot;&lt;/span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #d4d4d4; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;text&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;A test message from Airflow. Please ignore&quot;&lt;/span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #d4d4d4; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;token&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#######&quot;&lt;/span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #d4d4d4; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;dag&lt;/span&gt;=&lt;span style=&quot;color: #9cdcfe;&quot;&gt;dag&lt;/span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #d4d4d4; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;However, when I use the same logic on a Private channel it wouldn&#39;t work.&amp;nbsp; And I couldn&#39;t see my bot to be able to &#39;invite&#39; it to the channel.&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To fix this ...&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;p-rich_text_section&quot; style=&quot;background-color: #f8f8f8; box-sizing: inherit; color: #1d1c1d; counter-reset: list-0 0 list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; font-variant-ligatures: common-ligatures;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;To grant your bot permission to join private channels, you will need to ensure that it has the&amp;nbsp;&lt;code class=&quot;c-mrkdwn__code&quot; data-stringify-type=&quot;code&quot; style=&quot;--saf-0: rgba(var(--sk_foreground_low,29,28,29),0.13); background-color: rgba(var(--sk_foreground_min,29,28,29),0.04); border-radius: 3px; border: 1px solid var(--saf-0); box-sizing: inherit; color: rgba(var(--sk_raspberry_red,224,30,90),1); font-variant-ligatures: none; line-height: 1.50001; overflow-wrap: break-word; padding: 2px 3px 1px; tab-size: 4; white-space: pre-wrap; word-break: normal;&quot;&gt;channels:join&lt;/code&gt;&amp;nbsp;and&amp;nbsp;&lt;code class=&quot;c-mrkdwn__code&quot; data-stringify-type=&quot;code&quot; style=&quot;--saf-0: rgba(var(--sk_foreground_low,29,28,29),0.13); background-color: rgba(var(--sk_foreground_min,29,28,29),0.04); border-radius: 3px; border: 1px solid var(--saf-0); box-sizing: inherit; color: rgba(var(--sk_raspberry_red,224,30,90),1); font-variant-ligatures: none; line-height: 1.50001; overflow-wrap: break-word; padding: 2px 3px 1px; tab-size: 4; white-space: pre-wrap; word-break: normal;&quot;&gt;channels:read&lt;/code&gt;&amp;nbsp;OAuth scopes. Here’s how you can check and modify your bot’s scopes:&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol class=&quot;p-rich_text_list p-rich_text_list__ordered&quot; data-border=&quot;0&quot; data-indent=&quot;0&quot; data-stringify-type=&quot;ordered-list&quot; style=&quot;background-color: #f8f8f8; box-sizing: inherit; color: #1d1c1d; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0; font-variant-ligatures: common-ligatures; list-style-type: none; margin: 0px; padding: 0px;&quot;&gt;&lt;li data-stringify-border=&quot;0&quot; data-stringify-indent=&quot;0&quot; style=&quot;box-sizing: inherit; list-style-type: none; margin-bottom: 0px; margin-left: 28px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;Go to the Slack API website and navigate to the “OAuth &amp;amp; Permissions” section of your app’s settings.&lt;/span&gt;&lt;/li&gt;&lt;li data-stringify-border=&quot;0&quot; data-stringify-indent=&quot;0&quot; style=&quot;box-sizing: inherit; list-style-type: none; margin-bottom: 0px; margin-left: 28px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;Scroll down to the “Scopes” section and check that your bot has the&amp;nbsp;&lt;code class=&quot;c-mrkdwn__code&quot; data-stringify-type=&quot;code&quot; style=&quot;--saf-0: rgba(var(--sk_foreground_low,29,28,29),0.13); background-color: rgba(var(--sk_foreground_min,29,28,29),0.04); border-radius: 3px; border: 1px solid var(--saf-0); box-sizing: inherit; color: rgba(var(--sk_raspberry_red,224,30,90),1); font-variant-ligatures: none; line-height: 1.50001; overflow-wrap: break-word; padding: 2px 3px 1px; tab-size: 4; white-space: pre-wrap; word-break: normal;&quot;&gt;channels:join&lt;/code&gt;&amp;nbsp;and&amp;nbsp;&lt;code class=&quot;c-mrkdwn__code&quot; data-stringify-type=&quot;code&quot; style=&quot;--saf-0: rgba(var(--sk_foreground_low,29,28,29),0.13); background-color: rgba(var(--sk_foreground_min,29,28,29),0.04); border-radius: 3px; border: 1px solid var(--saf-0); box-sizing: inherit; color: rgba(var(--sk_raspberry_red,224,30,90),1); font-variant-ligatures: none; line-height: 1.50001; overflow-wrap: break-word; padding: 2px 3px 1px; tab-size: 4; white-space: pre-wrap; word-break: normal;&quot;&gt;channels:read&lt;/code&gt;&amp;nbsp;scopes.&lt;/span&gt;&lt;/li&gt;&lt;li data-stringify-border=&quot;0&quot; data-stringify-indent=&quot;0&quot; style=&quot;box-sizing: inherit; list-style-type: none; margin-bottom: 0px; margin-left: 28px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;If the scopes are not already added, click on the “Add an OAuth Scope” button and select the scopes from the dropdown list.&lt;/span&gt;&lt;/li&gt;&lt;li data-stringify-border=&quot;0&quot; data-stringify-indent=&quot;0&quot; style=&quot;box-sizing: inherit; list-style-type: none; margin-bottom: 0px; margin-left: 28px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;After adding the scopes, make sure to re-install your app in the workspace to apply the changes.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class=&quot;p-rich_text_section&quot; style=&quot;background-color: #f8f8f8; box-sizing: inherit; color: #1d1c1d; counter-reset: list-0 0 list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; font-variant-ligatures: common-ligatures;&quot;&gt;&lt;span aria-label=&quot;&quot; class=&quot;c-mrkdwn__br&quot; data-stringify-type=&quot;paragraph-break&quot; style=&quot;box-sizing: inherit; display: block; height: 8px;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;After , that I had to re-invite the Bot to the Private Channel&amp;nbsp; ( through the add people ) and it worked.&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://littleripplesproject.blogspot.com/feeds/8681425616629230106/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8608610523928821757/8681425616629230106' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/8681425616629230106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/8681425616629230106'/><link rel='alternate' type='text/html' href='http://littleripplesproject.blogspot.com/2023/02/slackapipostoperator-unable-to-send-to.html' title='SlackAPIPostOperator unable to send to private slack channel. '/><author><name>DJ Millward</name><uri>http://www.blogger.com/profile/00956188700712120760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5uFzd1oDU8E1oYBaMPDAXQqDF8voL7_YuinTX2a5FTfUVOLIhcJsm0I-K32ktkqqP5cpdEDbnRa81lsicGD0m2mUF8MzoNxHRAF-6A3SIXAwEC4ScJzDjgmq73ZC6OlU/s220/surfing2008.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8608610523928821757.post-2035196338482879327</id><published>2023-01-04T10:42:00.000+00:00</published><updated>2023-01-04T10:42:05.431+00:00</updated><title type='text'>In Wagtail GeoLocation Widget how to set a Default location ( and set zoom ) </title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;span style=&quot;background-color: #f7f7f8; color: #374151; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space: pre-wrap;&quot;&gt;To set the default map location in the &lt;/span&gt;&lt;code style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: var(--tw-prose-code); font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace !important; font-size: 0.875em; font-weight: 600; white-space: pre-wrap;&quot;&gt;wagtailgeowidget&lt;/code&gt;&lt;span style=&quot;background-color: #f7f7f8; color: #374151; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space: pre-wrap;&quot;&gt; package, you can define the &lt;/span&gt;&lt;code style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: var(--tw-prose-code); font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace !important; font-size: 0.875em; font-weight: 600; white-space: pre-wrap;&quot;&gt;GEO_WIDGET_DEFAULT_LOCATION&lt;/code&gt;&lt;span style=&quot;background-color: #f7f7f8; color: #374151; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space: pre-wrap;&quot;&gt; setting in your Django settings file.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f7f7f8; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #374151; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; margin: 1.25em 0px; white-space: pre-wrap;&quot;&gt;Here is an example of how to do this:&lt;/p&gt;&lt;pre style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f7f7f8; border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #374151; font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace !important; font-size: 0.875em; line-height: 1.71429; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; padding: 0px;&quot;&gt;&lt;div class=&quot;bg-black mb-4 rounded-md&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: rgba(0,0,0,var(--tw-bg-opacity)); border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; margin-bottom: 1rem;&quot;&gt;&lt;div class=&quot;flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-text-opacity: 1; --tw-translate-x: 0; --tw-translate-y: 0; align-items: center; background-color: rgba(52,53,65,var(--tw-bg-opacity)); border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: rgba(217,217,227,var(--tw-text-opacity)); display: flex; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 0.75rem; line-height: 1rem; padding: 0.5rem 1rem; position: relative;&quot;&gt;&lt;button class=&quot;flex ml-auto gap-2&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; appearance: button; background-image: none; border-color: rgb(217, 217, 227); border-style: solid; border-width: 0px; cursor: pointer; display: flex; font-family: inherit; font-size: 12px; font-weight: inherit; gap: 0.5rem; line-height: inherit; margin: 0px 0px 0px auto; padding: 0px;&quot;&gt;&lt;br /&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;p-4 overflow-y-auto&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; overflow-y: auto; padding: 1rem;&quot;&gt;&lt;code class=&quot;!whitespace-pre-wrap hljs language-python&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none; border-radius: 0.3em; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: white; font-family: inherit; font-size: inherit; font-weight: inherit; hyphens: none; line-height: 1.5; overflow-wrap: normal; padding: 0.1em; tab-size: 4; white-space: normal; word-break: normal; word-spacing: normal;&quot;&gt;GEO_WIDGET_DEFAULT_LOCATION = {&lt;span class=&quot;hljs-string&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #00a67d;&quot;&gt;&quot;lat&quot;&lt;/span&gt;: &lt;span class=&quot;hljs-number&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #df3079;&quot;&gt;50.5230&lt;/span&gt;, &lt;span class=&quot;hljs-string&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #00a67d;&quot;&gt;&quot;lng&quot;&lt;/span&gt;: -&lt;span class=&quot;hljs-number&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #df3079;&quot;&gt;4.6558&lt;/span&gt;}
&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;p style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f7f7f8; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #374151; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; margin: 1.25em 0px; white-space: pre-wrap;&quot;&gt;This will set the default map location to the coordinates 50.5230° N, 4.6558° W (Bodmin, Cornwall, United Kingdom).&lt;/p&gt;&lt;p style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f7f7f8; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #374151; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; margin: 1.25em 0px; white-space: pre-wrap;&quot;&gt;The &lt;code style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: var(--tw-prose-code); font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace !important; font-size: 0.875em; font-weight: 600;&quot;&gt;GEO_WIDGET_DEFAULT_LOCATION&lt;/code&gt; setting should be a dictionary with keys &lt;code style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: var(--tw-prose-code); font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace !important; font-size: 0.875em; font-weight: 600;&quot;&gt;&#39;lat&#39;&lt;/code&gt; and &lt;code style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: var(--tw-prose-code); font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace !important; font-size: 0.875em; font-weight: 600;&quot;&gt;&#39;lng&#39;&lt;/code&gt; representing the latitude and longitude, respectively. The values should be float values.&lt;/p&gt;&lt;p style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f7f7f8; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #374151; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; margin: 1.25em 0px; white-space: pre-wrap;&quot;&gt;You can also set the default map location dynamically based on the value of a field in your model by defining a callable as the value of the &lt;code style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: var(--tw-prose-code); font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace !important; font-size: 0.875em; font-weight: 600;&quot;&gt;GEO_WIDGET_DEFAULT_LOCATION&lt;/code&gt; setting.&lt;/p&gt;&lt;p style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f7f7f8; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #374151; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; margin: 1.25em 0px; white-space: pre-wrap;&quot;&gt;Here&#39;s an example of how to do this:&lt;/p&gt;&lt;pre style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f7f7f8; border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #374151; font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace !important; font-size: 0.875em; line-height: 1.71429; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; padding: 0px;&quot;&gt;&lt;div class=&quot;bg-black mb-4 rounded-md&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: rgba(0,0,0,var(--tw-bg-opacity)); border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; margin-bottom: 1rem;&quot;&gt;&lt;div class=&quot;p-4 overflow-y-auto&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; overflow-y: auto; padding: 1rem;&quot;&gt;&lt;code class=&quot;!whitespace-pre-wrap hljs language-python&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none; border-radius: 0.3em; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: white; font-family: inherit; font-size: inherit; font-weight: inherit; hyphens: none; line-height: 1.5; overflow-wrap: normal; padding: 0.1em; tab-size: 4; white-space: normal; word-break: normal; word-spacing: normal;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #2e95d3;&quot;&gt;from&lt;/span&gt; django.conf &lt;span class=&quot;hljs-keyword&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #2e95d3;&quot;&gt;import&lt;/span&gt; settings

&lt;span class=&quot;hljs-keyword&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #2e95d3;&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;hljs-title function_&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #f22c3d;&quot;&gt;get_default_location&lt;/span&gt;():
    &lt;span class=&quot;hljs-comment&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: rgba(255, 255, 255, 0.5);&quot;&gt;# Code to retrieve default location from model goes here&lt;/span&gt;
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #2e95d3;&quot;&gt;return&lt;/span&gt; {&lt;span class=&quot;hljs-string&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #00a67d;&quot;&gt;&quot;lat&quot;&lt;/span&gt;: &lt;span class=&quot;hljs-number&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #df3079;&quot;&gt;50.5230&lt;/span&gt;, &lt;span class=&quot;hljs-string&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #00a67d;&quot;&gt;&quot;lng&quot;&lt;/span&gt;: -&lt;span class=&quot;hljs-number&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #df3079;&quot;&gt;4.6558&lt;/span&gt;}

GEO_WIDGET_DEFAULT_LOCATION = get_default_location
&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;p style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f7f7f8; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #374151; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; margin: 1.25em 0px 0px; white-space: pre-wrap;&quot;&gt;This will set the default map location to the value returned by the &lt;code style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: var(--tw-prose-code); font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace !important; font-size: 0.875em; font-weight: 600;&quot;&gt;get_default_location&lt;/code&gt; function.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://littleripplesproject.blogspot.com/feeds/2035196338482879327/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8608610523928821757/2035196338482879327' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/2035196338482879327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/2035196338482879327'/><link rel='alternate' type='text/html' href='http://littleripplesproject.blogspot.com/2023/01/in-wagtail-geolocation-widget-how-to.html' title='In Wagtail GeoLocation Widget how to set a Default location ( and set zoom ) '/><author><name>DJ Millward</name><uri>http://www.blogger.com/profile/00956188700712120760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5uFzd1oDU8E1oYBaMPDAXQqDF8voL7_YuinTX2a5FTfUVOLIhcJsm0I-K32ktkqqP5cpdEDbnRa81lsicGD0m2mUF8MzoNxHRAF-6A3SIXAwEC4ScJzDjgmq73ZC6OlU/s220/surfing2008.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8608610523928821757.post-6771038589985357197</id><published>2022-05-31T11:03:00.001+01:00</published><updated>2022-05-31T11:03:03.615+01:00</updated><title type='text'>Django - Grabbing a JSON object from QueryDict</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;br /&gt;What I&#39;m doing here is passing some JSON through the &#39;rest.framework&#39; .&amp;nbsp; The problem is that when using &#39;request.json&#39;&amp;nbsp; I&#39;m seeing the following being returned.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; line-height: 18px;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #ce9178; font-family: Menlo, Monaco, Courier New, monospace;&quot;&gt;&lt;span style=&quot;font-size: 12px; white-space: pre;&quot;&gt;&amp;lt;QueryDict: {&#39;&#39;: [&#39;{&quot;time&quot;:{&quot;0&quot;:&quot;06:00&quot;,&quot;1&quot;:&quot;07:00&quot;,&quot;2&quot;:&quot;08:00&quot;,&quot;3&quot;:&quot;09:00&quot;,&quot;4&quot;:&quot;10...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;What I need to do is extract the JSON out .&amp;nbsp; To do this , the following works.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: Menlo, Monaco, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12px; line-height: 18px; white-space: pre;&quot;&gt;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;list&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;data&lt;/span&gt;.values())[&lt;span style=&quot;color: #b5cea8;&quot;&gt;0&lt;/span&gt;]&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://littleripplesproject.blogspot.com/feeds/6771038589985357197/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8608610523928821757/6771038589985357197' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/6771038589985357197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/6771038589985357197'/><link rel='alternate' type='text/html' href='http://littleripplesproject.blogspot.com/2022/05/django-grabbing-json-object-from.html' title='Django - Grabbing a JSON object from QueryDict'/><author><name>DJ Millward</name><uri>http://www.blogger.com/profile/00956188700712120760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5uFzd1oDU8E1oYBaMPDAXQqDF8voL7_YuinTX2a5FTfUVOLIhcJsm0I-K32ktkqqP5cpdEDbnRa81lsicGD0m2mUF8MzoNxHRAF-6A3SIXAwEC4ScJzDjgmq73ZC6OlU/s220/surfing2008.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8608610523928821757.post-1373094584475175024</id><published>2022-05-25T17:43:00.002+01:00</published><updated>2022-05-25T17:43:29.275+01:00</updated><title type='text'>M1 Chip issue with AWS Lambda SAM Layers</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Just a quick note , if you&#39;ve searched and found this blog then I expect you already know deep down that the M1 chip is your issue.&amp;nbsp; There is a solution though.&amp;nbsp; Let me explain.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;So, what we&#39;ve been doing is using Lambda Layers to install Python packages on our Lambda installation.&amp;nbsp; However, when putting the same code on my Mac ( M1 Chip ) it doesn&#39;t work !&amp;nbsp;&lt;br /&gt;&lt;br /&gt;https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;It does work if we take the zip file from the AMD64 chipped Mac , and put that on my Mac and proceed.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;That is the solution we&#39;re having to use at the moment , the zip needs to be compiled on the AMD64 chip , doing it on the M1 chip won&#39;t work.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://littleripplesproject.blogspot.com/feeds/1373094584475175024/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8608610523928821757/1373094584475175024' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/1373094584475175024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/1373094584475175024'/><link rel='alternate' type='text/html' href='http://littleripplesproject.blogspot.com/2022/05/m1-chip-issue-with-aws-lambda-sam-layers.html' title='M1 Chip issue with AWS Lambda SAM Layers'/><author><name>DJ Millward</name><uri>http://www.blogger.com/profile/00956188700712120760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5uFzd1oDU8E1oYBaMPDAXQqDF8voL7_YuinTX2a5FTfUVOLIhcJsm0I-K32ktkqqP5cpdEDbnRa81lsicGD0m2mUF8MzoNxHRAF-6A3SIXAwEC4ScJzDjgmq73ZC6OlU/s220/surfing2008.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8608610523928821757.post-8659632907614450936</id><published>2022-05-17T11:14:00.000+01:00</published><updated>2022-05-17T11:14:05.777+01:00</updated><title type='text'>Could not &#39;pipenv install email&#39; - &#39;python setup.py egg_info did not run successfully.&#39; error. </title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;Here&#39;s the error code I was getting.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; line-height: 18px;&quot;&gt;&lt;span style=&quot;color: #9cdcfe; font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;Installing email...
Error:  An error occurred while installing email!
Error text: Collecting email
  Using cached email-4.0.2.tar.gz (1.2 MB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status &#39;error&#39;

  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─&amp;gt; [1 lines of output]
      ERROR: Can not execute `setup.py` since setuptools is not available in the build environment.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─&amp;gt; See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

This is likely caused by a bug in email. Report this to its maintainers.
✘ Installation Failed &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;color: #dcdcaa; font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: #1e1e1e; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;The recommended solution across the web seemed to be to run the following.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;pipenv install --upgrade setuptools&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;However, this didn&#39;t work for me.&amp;nbsp; I needed to use the &#39;--pre&#39; tag.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;pipenv install --pre email&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This now works, the version I had the issue with was &#39;email-4.0.2&#39;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So, if you have a &#39;email-4.0.2 won&#39;t pipenv install&#39; issue then I hope this post helps.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://littleripplesproject.blogspot.com/feeds/8659632907614450936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8608610523928821757/8659632907614450936' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/8659632907614450936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/8659632907614450936'/><link rel='alternate' type='text/html' href='http://littleripplesproject.blogspot.com/2022/05/could-not-pipenv-install-email-python.html' title='Could not &#39;pipenv install email&#39; - &#39;python setup.py egg_info did not run successfully.&#39; error. '/><author><name>DJ Millward</name><uri>http://www.blogger.com/profile/00956188700712120760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5uFzd1oDU8E1oYBaMPDAXQqDF8voL7_YuinTX2a5FTfUVOLIhcJsm0I-K32ktkqqP5cpdEDbnRa81lsicGD0m2mUF8MzoNxHRAF-6A3SIXAwEC4ScJzDjgmq73ZC6OlU/s220/surfing2008.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8608610523928821757.post-900543189827222326</id><published>2022-04-07T14:49:00.005+01:00</published><updated>2022-04-07T14:49:19.121+01:00</updated><title type='text'>Wordpress installation on Docker - How to access the Database </title><content type='html'>&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&amp;nbsp;After running through this blog on how to create a Wordpress site on Docker.&amp;nbsp; ( Which works excellently )&amp;nbsp;&lt;a href=&quot;https://davidyeiser.com/tutorials/docker-wordpress-theme-setup&quot;&gt;https://davidyeiser.com/tutorials/docker-wordpress-theme-setup&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;After doing so, I couldn&#39;t quite work out what details I needed to use in Sequel Pro / Sequel Ace.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;br /&gt;There&#39;s a line that I needed to add to the Wordpress DB setup though, and that was to add the ports .&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; line-height: 18px; text-align: left; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;ports&lt;/span&gt;:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;      - &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;3366:3306&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;So my entire file looks like this.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; line-height: 18px; text-align: left; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;version&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;3&#39;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;services&lt;/span&gt;:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;  &lt;span style=&quot;color: #569cd6;&quot;&gt;db&lt;/span&gt;:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;image&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;mysql:5.7&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;volumes&lt;/span&gt;:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;      - &lt;span style=&quot;color: #ce9178;&quot;&gt;db_data:/var/lib/mysql&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;ports&lt;/span&gt;:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;      - &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;3366:3306&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;restart&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;always&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;environment&lt;/span&gt;:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;      &lt;span style=&quot;color: #569cd6;&quot;&gt;MYSQL_ROOT_PASSWORD&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;somewordpress&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;      &lt;span style=&quot;color: #569cd6;&quot;&gt;MYSQL_DATABASE&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;wordpress&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;      &lt;span style=&quot;color: #569cd6;&quot;&gt;MYSQL_USER&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;wordpress&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;      &lt;span style=&quot;color: #569cd6;&quot;&gt;MYSQL_PASSWORD&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;wordpress&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;  &lt;span style=&quot;color: #569cd6;&quot;&gt;wordpress&lt;/span&gt;:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;depends_on&lt;/span&gt;:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;      - &lt;span style=&quot;color: #ce9178;&quot;&gt;db&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;image&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;wordpress:5.1.1-php7.3-apache&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;ports&lt;/span&gt;:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;      - &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;8000:80&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;restart&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;always&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;environment&lt;/span&gt;:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;      &lt;span style=&quot;color: #569cd6;&quot;&gt;WORDPRESS_DB_HOST&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;db:3306&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;      &lt;span style=&quot;color: #569cd6;&quot;&gt;WORDPRESS_DB_USER&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;wordpress&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;      &lt;span style=&quot;color: #569cd6;&quot;&gt;WORDPRESS_DB_PASSWORD&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;wordpress&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;working_dir&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;/var/www/html&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;volumes&lt;/span&gt;:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;      - &lt;span style=&quot;color: #ce9178;&quot;&gt;./wp-content:/var/www/html/wp-content&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;      - &lt;span style=&quot;color: #ce9178;&quot;&gt;./uploads.ini:/usr/local/etc/php/conf.d/uploads.ini&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;volumes&lt;/span&gt;:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;  &lt;span style=&quot;color: #569cd6;&quot;&gt;db_data&lt;/span&gt;:&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;And then I can use&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhM31Ar1xlhPowJp0ddOLif_4aKbCsFYH4B9nwWzjJ9wr7jD4k0KtikDOv6r4uq3gUiA_DODU8_iIdDNxfQIUVRN4jOjL76H6rxkVRMcpP6VBSq02ktJ19D_WK9unrp0-RKZNK0oWS-DnrpcQoF-WEijP6lKihLaFsL0J9nLZzo4-1Mfk3WtFEGzrN5&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;470&quot; data-original-width=&quot;906&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhM31Ar1xlhPowJp0ddOLif_4aKbCsFYH4B9nwWzjJ9wr7jD4k0KtikDOv6r4uq3gUiA_DODU8_iIdDNxfQIUVRN4jOjL76H6rxkVRMcpP6VBSq02ktJ19D_WK9unrp0-RKZNK0oWS-DnrpcQoF-WEijP6lKihLaFsL0J9nLZzo4-1Mfk3WtFEGzrN5&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://littleripplesproject.blogspot.com/feeds/900543189827222326/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8608610523928821757/900543189827222326' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/900543189827222326'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/900543189827222326'/><link rel='alternate' type='text/html' href='http://littleripplesproject.blogspot.com/2022/04/wordpress-installation-on-docker-how-to.html' title='Wordpress installation on Docker - How to access the Database '/><author><name>DJ Millward</name><uri>http://www.blogger.com/profile/00956188700712120760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5uFzd1oDU8E1oYBaMPDAXQqDF8voL7_YuinTX2a5FTfUVOLIhcJsm0I-K32ktkqqP5cpdEDbnRa81lsicGD0m2mUF8MzoNxHRAF-6A3SIXAwEC4ScJzDjgmq73ZC6OlU/s220/surfing2008.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEhM31Ar1xlhPowJp0ddOLif_4aKbCsFYH4B9nwWzjJ9wr7jD4k0KtikDOv6r4uq3gUiA_DODU8_iIdDNxfQIUVRN4jOjL76H6rxkVRMcpP6VBSq02ktJ19D_WK9unrp0-RKZNK0oWS-DnrpcQoF-WEijP6lKihLaFsL0J9nLZzo4-1Mfk3WtFEGzrN5=s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8608610523928821757.post-6988019336346413790</id><published>2022-03-29T13:18:00.001+01:00</published><updated>2022-03-29T13:18:10.017+01:00</updated><title type='text'>Vue.js not building correctly in &#39;dist&#39; folder &#39;npm run build&#39;</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&amp;nbsp;&#39;&lt;span style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;npm run build&#39; &#39;dist&#39; folder not working.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;I&#39;d been hitting a bit of a brick wall with this task, so thought it&#39;d be a good idea to commit it to the blog.  Incase someone else finds it an can save themselves a heap of time.  

The task I was trying to achieve was &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;span style=&quot;background-color: white; color: #172b4d; font-size: 16px; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #172b4d; letter-spacing: -0.01em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;How to host a Vue.js project on Firebase&#39;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #172b4d;&quot;&gt;&lt;span style=&quot;letter-spacing: -0.01em;&quot;&gt;And I was following this blog and youtube video for guidance.&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href=&quot;https://medium.com/@rachidsakara/how-to-deploy-vue-js-applications-with-firebase-hosting-40cfa7f724e4&quot; target=&quot;_blank&quot;&gt;How to deploy vue.js applications with firebase hosting&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style=&quot;color: #172b4d;&quot;&gt;&lt;span style=&quot;letter-spacing: -0.16px;&quot;&gt;And Net Ninja&#39;s&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h1 class=&quot;title style-scope ytd-video-primary-info-renderer&quot; style=&quot;-webkit-box-orient: vertical; -webkit-line-clamp: 2; background: rgb(249, 249, 249); border: 0px; color: var(--ytd-video-primary-info-renderer-title-color,var(--yt-spec-text-primary)); display: -webkit-box; font-size: var(--ytd-video-primary-info-renderer-title-font-size,var(--yt-navbar-title-font-size,inherit)); font-weight: 400; line-height: 2.6rem; margin: 0px; max-height: 5.2rem; overflow: hidden; padding: 0px; text-overflow: ellipsis; text-shadow: var(--ytd-video-primary-info-renderer-title-text-shadow,none); transform: var(--ytd-video-primary-info-renderer-title-transform,none);&quot;&gt;&lt;yt-formatted-string class=&quot;style-scope ytd-video-primary-info-renderer&quot; force-default-style=&quot;&quot; style=&quot;word-break: break-word;&quot;&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=a-0W40NM0dI&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Firebase Hosting Tutorial #4 - Deploying a Vue Site&lt;/span&gt;&lt;/a&gt;&lt;/yt-formatted-string&gt;&lt;/h1&gt;&lt;p&gt;&lt;span style=&quot;color: #172b4d; letter-spacing: -0.01em;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;But on a site ( that was already built and working locally ) I could only see the Firebase hosting holding message .&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&#39;Firebase Hosting Setup Complete&#39;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjgbTzzramKdZS1Phtphy4JcnZ19yQvSHiOh8twl-jFtZXYKVeaYtoxttrrWVwQ0KK6kWeseMDu4KDPX0wYF88yb7bdexvxvWABeOZPPcwCwzpssDIe9u_kzve6o1ru2MSPIMgmkwYvLlSGNaJFQrtKcaMKBkap0CyzcJyw2Sm7T41aq97B9aPuxyfk&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;541&quot; data-original-width=&quot;856&quot; height=&quot;202&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjgbTzzramKdZS1Phtphy4JcnZ19yQvSHiOh8twl-jFtZXYKVeaYtoxttrrWVwQ0KK6kWeseMDu4KDPX0wYF88yb7bdexvxvWABeOZPPcwCwzpssDIe9u_kzve6o1ru2MSPIMgmkwYvLlSGNaJFQrtKcaMKBkap0CyzcJyw2Sm7T41aq97B9aPuxyfk&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #172b4d; font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;letter-spacing: -0.16px;&quot;&gt;I could however could create a new Vue.js website ( boiler plate ) and work from that, but building up from scratch again would be excruciating.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #172b4d; letter-spacing: -0.01em;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;Let&#39;s take a look at process I was following and where it was getting stuck.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;code-block sc-dqBHgY gSNZUT&quot; style=&quot;background-color: white; border-radius: 3px; clear: both; color: #172b4d; display: grid; font-size: 16px; grid-template-columns: minmax(0px, 1fr); margin: 0.75rem 0px 0px; max-width: 100%; overflow-wrap: normal; padding: 0px; position: relative; tab-size: 4; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;prismjs css-1xfvm4v&quot; data-code-lang=&quot;&quot; data-ds--code--code-block=&quot;&quot; style=&quot;background-attachment: local, scroll, scroll; background-color: var(--ds--code--bg-color,#F4F5F7); background-image: linear-gradient(to left, rgb(244, 245, 247) 8px, transparent 8px), linear-gradient(to left, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px), linear-gradient(to right, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px); background-position: 100% 0px, 100% 0px, 0px 0px; border-radius: 3px; border-style: none; display: flex; font-size: 0.875rem; grid-column: 1 / auto; line-height: 1.5rem; overflow-x: auto; white-space: pre;&quot;&gt;&lt;code style=&quot;-webkit-border-image: unset; -webkit-box-align: unset; -webkit-box-decoration-break: unset; -webkit-box-direction: unset; -webkit-box-flex: unset; -webkit-box-ordinal-group: unset; -webkit-box-orient: unset; -webkit-box-pack: unset; -webkit-box-reflect: unset; -webkit-font-smoothing: unset; -webkit-highlight: unset; -webkit-hyphenate-character: unset; -webkit-line-break: unset; -webkit-line-clamp: unset; -webkit-locale: unset; -webkit-mask-box-image: unset; -webkit-mask-composite: unset; -webkit-mask: unset; -webkit-perspective-origin-x: unset; -webkit-perspective-origin-y: unset; -webkit-print-color-adjust: unset; -webkit-rtl-ordering: unset; -webkit-ruby-position: unset; -webkit-tap-highlight-color: unset; -webkit-text-combine: unset; -webkit-text-decorations-in-effect: unset; -webkit-text-fill-color: unset; -webkit-text-orientation: unset; -webkit-text-security: unset; -webkit-text-stroke: unset; -webkit-transform-origin-x: unset; -webkit-transform-origin-y: unset; -webkit-transform-origin-z: unset; -webkit-user-drag: unset; -webkit-user-modify: unset; -webkit-writing-mode: unset; accent-color: unset; alignment-baseline: unset; animation: unset; app-region: unset; appearance: unset; aspect-ratio: unset; backdrop-filter: unset; backface-visibility: unset; background-attachment: unset; background-blend-mode: unset; background-clip: unset; background-color: unset; background-image: linear-gradient(to right,var(--ds--code--line-number-bg-color,#EBECF0),var(--ds--code--line-number-bg-color,#EBECF0) calc(1ch + 16px),transparent calc(1ch + 16px),transparent); background-origin: unset; background-position: unset; background-repeat: unset; background-size: unset; baseline-shift: unset; block-size: unset; border-block: unset; border-collapse: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-inline: unset; border-radius: unset; border-spacing: unset; border-start-end-radius: unset; border-start-start-radius: unset; border: unset; box-shadow: unset; box-sizing: unset; break-after: unset; break-before: unset; break-inside: unset; buffered-rendering: unset; caption-side: unset; caret-color: unset; clear: unset; clip-path: unset; clip-rule: unset; clip: unset; color-interpolation-filters: unset; color-interpolation: unset; color-rendering: unset; color-scheme: unset; color: unset; column-fill: unset; column-rule: unset; column-span: unset; columns: unset; contain-intrinsic-block-size: unset; contain-intrinsic-inline-size: unset; contain-intrinsic-size: unset; contain: unset; content-visibility: unset; content: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; cursor: unset; cx: unset; cy: unset; d: unset; display: unset; dominant-baseline: unset; empty-cells: unset; fill-opacity: unset; fill-rule: unset; fill: unset; filter: unset; flex-flow: unset; flex: 1 0 auto; float: unset; flood-color: unset; flood-opacity: unset; font-feature-settings: unset; font-kerning: unset; font-optical-sizing: unset; font-size: unset; font-stretch: unset; font-style: unset; font-synthesis: unset; font-variant: unset; font-variation-settings: unset; font-weight: unset; forced-color-adjust: unset; gap: unset; grid-area: unset; grid: unset; height: unset; hyphens: unset; image-orientation: unset; image-rendering: unset; inline-size: unset; inset-block: unset; inset-inline: unset; inset: unset; isolation: unset; letter-spacing: unset; lighting-color: unset; line-break: unset; line-height: unset; list-style: unset; margin-block: unset; margin-inline: unset; margin: unset; marker: unset; mask-type: unset; mask: unset; max-block-size: unset; max-height: unset; max-inline-size: unset; max-width: unset; min-block-size: unset; min-height: unset; min-inline-size: unset; min-width: unset; mix-blend-mode: unset; object-fit: unset; object-position: unset; offset: unset; opacity: unset; order: unset; orphans: unset; outline-offset: unset; outline: unset; overflow-anchor: unset; overflow-clip-margin: unset; overflow-wrap: unset; overflow: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; overscroll-behavior: unset; padding-block: unset; padding-bottom: 8px; padding-inline: unset; padding-left: 0px; padding-right: 8px !important; padding-top: 8px; page-orientation: unset; page: unset; paint-order: unset; perspective-origin: unset; perspective: unset; place-content: unset; place-items: unset; place-self: unset; pointer-events: unset; position: unset; quotes: unset; r: unset; resize: unset; ruby-position: unset; rx: unset; ry: unset; scroll-behavior: unset; scroll-margin-block: unset; scroll-margin-inline: unset; scroll-margin: unset; scroll-padding-block: unset; scroll-padding-inline: unset; scroll-padding: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; scrollbar-gutter: unset; shape-image-threshold: unset; shape-margin: unset; shape-outside: unset; shape-rendering: unset; size: unset; speak: unset; stop-color: unset; stop-opacity: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-linecap: unset; stroke-linejoin: unset; stroke-miterlimit: unset; stroke-opacity: unset; stroke-width: unset; stroke: unset; tab-size: unset; table-layout: unset; text-align-last: unset; text-align: unset; text-anchor: unset; text-combine-upright: unset; text-decoration-skip-ink: unset; text-decoration: unset; text-emphasis-position: unset; text-emphasis: unset; text-indent: unset; text-orientation: unset; text-overflow: unset; text-rendering: unset; text-shadow: unset; text-size-adjust: unset; text-transform: unset; text-underline-offset: unset; text-underline-position: unset; touch-action: unset; transform-box: unset; transform-origin: unset; transform-style: unset; transform: unset; transition: unset; user-select: unset; vector-effect: unset; vertical-align: unset; visibility: unset; widows: unset; width: unset; will-change: unset; word-break: unset; word-spacing: unset; writing-mode: unset; x: unset; y: unset; z-index: unset; zoom: unset;&quot;&gt;&lt;span class=&quot;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;$. firebase init&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;div&gt;&lt;span class=&quot;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;color: #172b4d; letter-spacing: -0.01em;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;Scroll down to the first &#39;Hosting config&#39; choice and click on &#39;spacebar&#39; and then &#39;return&#39;.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;There is already a public folder in use, so we&#39;ll want to set the public directory as &#39;dist&#39;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;As we&#39;re using Vue.js which is a javascript app that rewrites all the pages through the index page, then we need to select &#39;y&#39; in response to , &lt;b&gt;r&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;b&gt;ewrite all urls to /index.html . 

&lt;/b&gt;This creates a dummy index page. 

&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhKcPY7FXBLJgUB0Usj0-ZvflyxhGPxUUF1o5QN-u30uMbvKG-gEOFXJtqMiSZ4H-xn7o0hwuN-beB_yHk_vRQRMv9HD3crSAbigI7ns6ix5qSq-jQj0jHz7RcN3CdCnBoyeQIA45QLqulqbQ4INIfSzzGdhLqDScDewbrUCNrWrgfe-6YjR8Lw_Mjk&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;110&quot; data-original-width=&quot;814&quot; height=&quot;43&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhKcPY7FXBLJgUB0Usj0-ZvflyxhGPxUUF1o5QN-u30uMbvKG-gEOFXJtqMiSZ4H-xn7o0hwuN-beB_yHk_vRQRMv9HD3crSAbigI7ns6ix5qSq-jQj0jHz7RcN3CdCnBoyeQIA45QLqulqbQ4INIfSzzGdhLqDScDewbrUCNrWrgfe-6YjR8Lw_Mjk&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #172b4d; font-size: 16px; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;We don’t want to deploy this , we now want to build our vue application so that all the files go inside this ‘dist’ folder and then we want to deploy it. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;code-block sc-glUWqk gOyaIi&quot; style=&quot;background-color: white; border-radius: 3px; clear: both; color: #172b4d; display: grid; font-size: 16px; grid-template-columns: minmax(0px, 1fr); margin: 0.75rem 0px 0px; max-width: 100%; overflow-wrap: normal; padding: 0px; position: relative; tab-size: 4; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;prismjs css-1xfvm4v&quot; data-code-lang=&quot;&quot; data-ds--code--code-block=&quot;&quot; style=&quot;background-attachment: local, scroll, scroll; background-color: var(--ds--code--bg-color,#F4F5F7); background-image: linear-gradient(to left, rgb(244, 245, 247) 8px, transparent 8px), linear-gradient(to left, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px), linear-gradient(to right, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px); background-position: 100% 0px, 100% 0px, 0px 0px; border-radius: 3px; border-style: none; display: flex; font-size: 0.875rem; grid-column: 1 / auto; line-height: 1.5rem; overflow-x: auto; white-space: pre;&quot;&gt;&lt;code style=&quot;-webkit-border-image: unset; -webkit-box-align: unset; -webkit-box-decoration-break: unset; -webkit-box-direction: unset; -webkit-box-flex: unset; -webkit-box-ordinal-group: unset; -webkit-box-orient: unset; -webkit-box-pack: unset; -webkit-box-reflect: unset; -webkit-font-smoothing: unset; -webkit-highlight: unset; -webkit-hyphenate-character: unset; -webkit-line-break: unset; -webkit-line-clamp: unset; -webkit-locale: unset; -webkit-mask-box-image: unset; -webkit-mask-composite: unset; -webkit-mask: unset; -webkit-perspective-origin-x: unset; -webkit-perspective-origin-y: unset; -webkit-print-color-adjust: unset; -webkit-rtl-ordering: unset; -webkit-ruby-position: unset; -webkit-tap-highlight-color: unset; -webkit-text-combine: unset; -webkit-text-decorations-in-effect: unset; -webkit-text-fill-color: unset; -webkit-text-orientation: unset; -webkit-text-security: unset; -webkit-text-stroke: unset; -webkit-transform-origin-x: unset; -webkit-transform-origin-y: unset; -webkit-transform-origin-z: unset; -webkit-user-drag: unset; -webkit-user-modify: unset; -webkit-writing-mode: unset; accent-color: unset; alignment-baseline: unset; animation: unset; app-region: unset; appearance: unset; aspect-ratio: unset; backdrop-filter: unset; backface-visibility: unset; background-attachment: unset; background-blend-mode: unset; background-clip: unset; background-color: unset; background-image: linear-gradient(to right,var(--ds--code--line-number-bg-color,#EBECF0),var(--ds--code--line-number-bg-color,#EBECF0) calc(1ch + 16px),transparent calc(1ch + 16px),transparent); background-origin: unset; background-position: unset; background-repeat: unset; background-size: unset; baseline-shift: unset; block-size: unset; border-block: unset; border-collapse: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-inline: unset; border-radius: unset; border-spacing: unset; border-start-end-radius: unset; border-start-start-radius: unset; border: unset; box-shadow: unset; box-sizing: unset; break-after: unset; break-before: unset; break-inside: unset; buffered-rendering: unset; caption-side: unset; caret-color: unset; clear: unset; clip-path: unset; clip-rule: unset; clip: unset; color-interpolation-filters: unset; color-interpolation: unset; color-rendering: unset; color-scheme: unset; color: unset; column-fill: unset; column-rule: unset; column-span: unset; columns: unset; contain-intrinsic-block-size: unset; contain-intrinsic-inline-size: unset; contain-intrinsic-size: unset; contain: unset; content-visibility: unset; content: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; cursor: unset; cx: unset; cy: unset; d: unset; display: unset; dominant-baseline: unset; empty-cells: unset; fill-opacity: unset; fill-rule: unset; fill: unset; filter: unset; flex-flow: unset; flex: 1 0 auto; float: unset; flood-color: unset; flood-opacity: unset; font-feature-settings: unset; font-kerning: unset; font-optical-sizing: unset; font-size: unset; font-stretch: unset; font-style: unset; font-synthesis: unset; font-variant: unset; font-variation-settings: unset; font-weight: unset; forced-color-adjust: unset; gap: unset; grid-area: unset; grid: unset; height: unset; hyphens: unset; image-orientation: unset; image-rendering: unset; inline-size: unset; inset-block: unset; inset-inline: unset; inset: unset; isolation: unset; letter-spacing: unset; lighting-color: unset; line-break: unset; line-height: unset; list-style: unset; margin-block: unset; margin-inline: unset; margin: unset; marker: unset; mask-type: unset; mask: unset; max-block-size: unset; max-height: unset; max-inline-size: unset; max-width: unset; min-block-size: unset; min-height: unset; min-inline-size: unset; min-width: unset; mix-blend-mode: unset; object-fit: unset; object-position: unset; offset: unset; opacity: unset; order: unset; orphans: unset; outline-offset: unset; outline: unset; overflow-anchor: unset; overflow-clip-margin: unset; overflow-wrap: unset; overflow: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; overscroll-behavior: unset; padding-block: unset; padding-bottom: 8px; padding-inline: unset; padding-left: 0px; padding-right: 8px !important; padding-top: 8px; page-orientation: unset; page: unset; paint-order: unset; perspective-origin: unset; perspective: unset; place-content: unset; place-items: unset; place-self: unset; pointer-events: unset; position: unset; quotes: unset; r: unset; resize: unset; ruby-position: unset; rx: unset; ry: unset; scroll-behavior: unset; scroll-margin-block: unset; scroll-margin-inline: unset; scroll-margin: unset; scroll-padding-block: unset; scroll-padding-inline: unset; scroll-padding: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; scrollbar-gutter: unset; shape-image-threshold: unset; shape-margin: unset; shape-outside: unset; shape-rendering: unset; size: unset; speak: unset; stop-color: unset; stop-opacity: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-linecap: unset; stroke-linejoin: unset; stroke-miterlimit: unset; stroke-opacity: unset; stroke-width: unset; stroke: unset; tab-size: unset; table-layout: unset; text-align-last: unset; text-align: unset; text-anchor: unset; text-combine-upright: unset; text-decoration-skip-ink: unset; text-decoration: unset; text-emphasis-position: unset; text-emphasis: unset; text-indent: unset; text-orientation: unset; text-overflow: unset; text-rendering: unset; text-shadow: unset; text-size-adjust: unset; text-transform: unset; text-underline-offset: unset; text-underline-position: unset; touch-action: unset; transform-box: unset; transform-origin: unset; transform-style: unset; transform: unset; transition: unset; user-select: unset; vector-effect: unset; vertical-align: unset; visibility: unset; widows: unset; width: unset; will-change: unset; word-break: unset; word-spacing: unset; writing-mode: unset; x: unset; y: unset; z-index: unset; zoom: unset;&quot;&gt;&lt;span class=&quot;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;1   npm run build&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;1483&quot; style=&quot;background-color: white; color: #172b4d; font-size: 16px; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p data-renderer-start-pos=&quot;1485&quot; style=&quot;background-color: white; color: #172b4d; font-size: 16px; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;strong data-renderer-mark=&quot;true&quot;&gt;And we should now be able to view our site with.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;code-block sc-glUWqk gOyaIi&quot; style=&quot;background-color: white; border-radius: 3px; clear: both; color: #172b4d; display: grid; font-size: 16px; grid-template-columns: minmax(0px, 1fr); margin: 0.75rem 0px 0px; max-width: 100%; overflow-wrap: normal; padding: 0px; position: relative; tab-size: 4; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;sc-dlyikq ckdEtx&quot; style=&quot;-webkit-box-pack: end; display: flex; grid-column: 1 / auto; justify-content: flex-end; position: sticky; top: 0px;&quot;&gt;&lt;div role=&quot;presentation&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;div style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;button aria-haspopup=&quot;true&quot; aria-label=&quot;Copy&quot; class=&quot;copy-to-clipboard css-xjqg96&quot; style=&quot;-webkit-box-align: baseline; -webkit-box-pack: center; align-items: baseline; background: none rgb(244, 245, 247); border-color: rgb(255, 255, 255); border-radius: 4px; border-style: solid; color: #42526e; cursor: pointer; display: flex; font-size: inherit; font-style: normal; font-weight: 500; height: 32px; justify-content: center; line-height: 1.71429em; max-width: 100%; opacity: 0; outline: none; padding: 2px; position: absolute; right: 6px; top: 4px; transition: opacity 0.2s ease 0s; vertical-align: middle; white-space: nowrap; width: 32px;&quot; tabindex=&quot;0&quot; type=&quot;button&quot;&gt;&lt;span class=&quot;css-1ujqpe8&quot; style=&quot;-webkit-box-flex: 0; align-self: center; display: flex; flex-grow: 0; flex-shrink: 0; font-size: 0px; line-height: 0; margin: 0px 2px; opacity: 1; transition: opacity 0.3s ease 0s; user-select: none;&quot;&gt;&lt;span aria-label=&quot;Copy&quot; class=&quot;css-pxzk9z&quot; role=&quot;img&quot; style=&quot;--icon-primary-color: currentColor; --icon-secondary-color: var(--ds-surface, #FFFFFF); display: inline-block; flex-shrink: 0; line-height: 1;&quot;&gt;&lt;svg height=&quot;24&quot; role=&quot;presentation&quot; viewbox=&quot;0 0 24 24&quot; width=&quot;24&quot;&gt;&lt;g fill=&quot;currentColor&quot;&gt;&lt;/g&gt;&lt;/svg&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;path d=&quot;M10 19h8V8h-8v11zM8 7.992C8 6.892 8.902 6 10.009 6h7.982C19.101 6 20 6.893 20 7.992v11.016c0 1.1-.902 1.992-2.009 1.992H10.01A2.001 2.001 0 018 19.008V7.992z&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M5 16V4.992C5 3.892 5.902 3 7.009 3H15v13H5zm2 0h8V5H7v11z&quot;&gt;&lt;/path&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;span class=&quot;prismjs css-1xfvm4v&quot; data-code-lang=&quot;&quot; data-ds--code--code-block=&quot;&quot; style=&quot;background-attachment: local, scroll, scroll; background-color: var(--ds--code--bg-color,#F4F5F7); background-image: linear-gradient(to left, rgb(244, 245, 247) 8px, transparent 8px), linear-gradient(to left, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px), linear-gradient(to right, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px); background-position: 100% 0px, 100% 0px, 0px 0px; border-radius: 3px; border-style: none; display: flex; font-size: 0.875rem; grid-column: 1 / auto; line-height: 1.5rem; overflow-x: auto; white-space: pre;&quot;&gt;&lt;code style=&quot;-webkit-border-image: unset; -webkit-box-align: unset; -webkit-box-decoration-break: unset; -webkit-box-direction: unset; -webkit-box-flex: unset; -webkit-box-ordinal-group: unset; -webkit-box-orient: unset; -webkit-box-pack: unset; -webkit-box-reflect: unset; -webkit-font-smoothing: unset; -webkit-highlight: unset; -webkit-hyphenate-character: unset; -webkit-line-break: unset; -webkit-line-clamp: unset; -webkit-locale: unset; -webkit-mask-box-image: unset; -webkit-mask-composite: unset; -webkit-mask: unset; -webkit-perspective-origin-x: unset; -webkit-perspective-origin-y: unset; -webkit-print-color-adjust: unset; -webkit-rtl-ordering: unset; -webkit-ruby-position: unset; -webkit-tap-highlight-color: unset; -webkit-text-combine: unset; -webkit-text-decorations-in-effect: unset; -webkit-text-fill-color: unset; -webkit-text-orientation: unset; -webkit-text-security: unset; -webkit-text-stroke: unset; -webkit-transform-origin-x: unset; -webkit-transform-origin-y: unset; -webkit-transform-origin-z: unset; -webkit-user-drag: unset; -webkit-user-modify: unset; -webkit-writing-mode: unset; accent-color: unset; alignment-baseline: unset; animation: unset; app-region: unset; appearance: unset; aspect-ratio: unset; backdrop-filter: unset; backface-visibility: unset; background-attachment: unset; background-blend-mode: unset; background-clip: unset; background-color: unset; background-image: linear-gradient(to right,var(--ds--code--line-number-bg-color,#EBECF0),var(--ds--code--line-number-bg-color,#EBECF0) calc(1ch + 16px),transparent calc(1ch + 16px),transparent); background-origin: unset; background-position: unset; background-repeat: unset; background-size: unset; baseline-shift: unset; block-size: unset; border-block: unset; border-collapse: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-inline: unset; border-radius: unset; border-spacing: unset; border-start-end-radius: unset; border-start-start-radius: unset; border: unset; box-shadow: unset; box-sizing: unset; break-after: unset; break-before: unset; break-inside: unset; buffered-rendering: unset; caption-side: unset; caret-color: unset; clear: unset; clip-path: unset; clip-rule: unset; clip: unset; color-interpolation-filters: unset; color-interpolation: unset; color-rendering: unset; color-scheme: unset; color: unset; column-fill: unset; column-rule: unset; column-span: unset; columns: unset; contain-intrinsic-block-size: unset; contain-intrinsic-inline-size: unset; contain-intrinsic-size: unset; contain: unset; content-visibility: unset; content: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; cursor: unset; cx: unset; cy: unset; d: unset; display: unset; dominant-baseline: unset; empty-cells: unset; fill-opacity: unset; fill-rule: unset; fill: unset; filter: unset; flex-flow: unset; flex: 1 0 auto; float: unset; flood-color: unset; flood-opacity: unset; font-feature-settings: unset; font-kerning: unset; font-optical-sizing: unset; font-size: unset; font-stretch: unset; font-style: unset; font-synthesis: unset; font-variant: unset; font-variation-settings: unset; font-weight: unset; forced-color-adjust: unset; gap: unset; grid-area: unset; grid: unset; height: unset; hyphens: unset; image-orientation: unset; image-rendering: unset; inline-size: unset; inset-block: unset; inset-inline: unset; inset: unset; isolation: unset; letter-spacing: unset; lighting-color: unset; line-break: unset; line-height: unset; list-style: unset; margin-block: unset; margin-inline: unset; margin: unset; marker: unset; mask-type: unset; mask: unset; max-block-size: unset; max-height: unset; max-inline-size: unset; max-width: unset; min-block-size: unset; min-height: unset; min-inline-size: unset; min-width: unset; mix-blend-mode: unset; object-fit: unset; object-position: unset; offset: unset; opacity: unset; order: unset; orphans: unset; outline-offset: unset; outline: unset; overflow-anchor: unset; overflow-clip-margin: unset; overflow-wrap: unset; overflow: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; overscroll-behavior: unset; padding-block: unset; padding-bottom: 8px; padding-inline: unset; padding-left: 0px; padding-right: 8px !important; padding-top: 8px; page-orientation: unset; page: unset; paint-order: unset; perspective-origin: unset; perspective: unset; place-content: unset; place-items: unset; place-self: unset; pointer-events: unset; position: unset; quotes: unset; r: unset; resize: unset; ruby-position: unset; rx: unset; ry: unset; scroll-behavior: unset; scroll-margin-block: unset; scroll-margin-inline: unset; scroll-margin: unset; scroll-padding-block: unset; scroll-padding-inline: unset; scroll-padding: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; scrollbar-gutter: unset; shape-image-threshold: unset; shape-margin: unset; shape-outside: unset; shape-rendering: unset; size: unset; speak: unset; stop-color: unset; stop-opacity: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-linecap: unset; stroke-linejoin: unset; stroke-miterlimit: unset; stroke-opacity: unset; stroke-width: unset; stroke: unset; tab-size: unset; table-layout: unset; text-align-last: unset; text-align: unset; text-anchor: unset; text-combine-upright: unset; text-decoration-skip-ink: unset; text-decoration: unset; text-emphasis-position: unset; text-emphasis: unset; text-indent: unset; text-orientation: unset; text-overflow: unset; text-rendering: unset; text-shadow: unset; text-size-adjust: unset; text-transform: unset; text-underline-offset: unset; text-underline-position: unset; touch-action: unset; transform-box: unset; transform-origin: unset; transform-style: unset; transform: unset; transition: unset; user-select: unset; vector-effect: unset; vertical-align: unset; visibility: unset; widows: unset; width: unset; will-change: unset; word-break: unset; word-spacing: unset; writing-mode: unset; x: unset; y: unset; z-index: unset; zoom: unset;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;&quot;&gt;firebase serve&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;1530&quot; style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;ak-editor-panel sc-cbMPqi edRQeC&quot; data-panel-type=&quot;error&quot; style=&quot;-webkit-box-align: baseline; align-items: baseline; background-color: #ffebe6; border-radius: 3px; clear: both; color: #172b4d; display: flex; margin: 0.75rem 0px 0px; min-width: 48px; padding: 8px; position: relative; white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;div class=&quot;ak-editor-panel__icon&quot; style=&quot;box-sizing: content-box; color: #de350b; flex-shrink: 0; height: 24px; margin: 0px; padding: 0px 8px 0px 0px; text-align: center; user-select: none; width: 24px;&quot;&gt;&lt;span aria-label=&quot;Panel error&quot; class=&quot;css-pxzk9z&quot; role=&quot;img&quot; style=&quot;--icon-primary-color: currentColor; --icon-secondary-color: var(--ds-surface, #FFFFFF); display: inline-flex; flex-shrink: 0; line-height: 1; vertical-align: middle;&quot;&gt;&lt;svg fill=&quot;none&quot; height=&quot;24&quot; role=&quot;presentation&quot; viewbox=&quot;0 0 24 24&quot; width=&quot;24&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;&lt;/svg&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;path clip-rule=&quot;evenodd&quot; d=&quot;M13.8562 11.9112L16.5088 9.26C16.7433 9.02545 16.8751 8.70733 16.8751 8.37563C16.8751 8.04392 16.7433 7.7258 16.5088 7.49125C16.2742 7.2567 15.9561 7.12493 15.6244 7.12493C15.2927 7.12493 14.9746 7.2567 14.74 7.49125L12.09 10.1438L9.4375 7.49125C9.20295 7.25686 8.8849 7.12526 8.55331 7.12537C8.22172 7.12549 7.90376 7.25732 7.66937 7.49188C7.43499 7.72643 7.30338 8.04448 7.3035 8.37607C7.30361 8.70766 7.43545 9.02561 7.67 9.26L10.32 11.91L7.67 14.5625C7.4423 14.7983 7.31631 15.114 7.31916 15.4418C7.32201 15.7695 7.45347 16.083 7.68523 16.3148C7.91699 16.5465 8.2305 16.678 8.55825 16.6808C8.88599 16.6837 9.20175 16.5577 9.4375 16.33L12.0888 13.68L14.74 16.33C14.8561 16.4461 14.9939 16.5383 15.1455 16.6012C15.2972 16.664 15.4597 16.6964 15.6239 16.6965C15.7881 16.6966 15.9507 16.6643 16.1024 16.6015C16.2541 16.5387 16.392 16.4467 16.5081 16.3306C16.6243 16.2146 16.7164 16.0768 16.7793 15.9251C16.8422 15.7734 16.8746 15.6109 16.8746 15.4467C16.8747 15.2825 16.8424 15.1199 16.7796 14.9682C16.7168 14.8165 16.6248 14.6786 16.5088 14.5625L13.8562 11.9112V11.9112ZM12 22C9.34784 22 6.8043 20.9464 4.92893 19.0711C3.05357 17.1957 2 14.6522 2 12C2 9.34784 3.05357 6.8043 4.92893 4.92893C6.8043 3.05357 9.34784 2 12 2C14.6522 2 17.1957 3.05357 19.0711 4.92893C20.9464 6.8043 22 9.34784 22 12C22 14.6522 20.9464 17.1957 19.0711 19.0711C17.1957 20.9464 14.6522 22 12 22V22Z&quot; fill-rule=&quot;evenodd&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;ak-editor-panel__content&quot; style=&quot;flex: 1 0 0px; margin: 1px 0px; min-width: 0px; padding: 0px;&quot;&gt;&lt;p data-renderer-start-pos=&quot;1533&quot; style=&quot;letter-spacing: -0.005em; line-height: 1.714; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;And this gives us the same ‘Firebase Hosting’ message we’re seeing before &lt;span data-emoji-id=&quot;1f615&quot; data-emoji-short-name=&quot;:confused:&quot; data-emoji-text=&quot;😕&quot;&gt;&lt;span aria-label=&quot;:confused:&quot; class=&quot;f1omp8gy emoji-common-node emoji-common-emoji-image&quot; style=&quot;background-color: transparent; border-radius: 5px; display: inline-block; margin: -1px 0px; vertical-align: middle;&quot; title=&quot;:confused:&quot;&gt;&lt;img alt=&quot;:confused:&quot; class=&quot;emoji&quot; data-emoji-id=&quot;1f615&quot; data-emoji-short-name=&quot;:confused:&quot; data-emoji-text=&quot;😕&quot; height=&quot;20&quot; loading=&quot;lazy&quot; src=&quot;https://pf-emoji-service--cdn.us-east-1.prod.public.atl-paas.net/standard/a51a7674-8d5d-4495-a2d2-a67c090f5c3b/32x32/1f615.png&quot; style=&quot;border: 0px; display: block; margin: 0px; padding: 0px; visibility: visible;&quot; width=&quot;20&quot; /&gt;&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #172b4d; font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: white; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;On my basic vue.js install though, I could see that it was working fine.   One thing that caught my eye was that the &#39;dist&#39; folder was still empty.  
Hold on ! No, the issue was another &#39;dist&#39; folder had been created and I had one in the &#39;root&#39; of the project and one in the &#39;app&#39; folder. 

&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;ol class=&quot;ak-ol&quot; data-indent-level=&quot;1&quot; style=&quot;background-color: white; box-sizing: border-box; color: #172b4d; display: flow-root; margin: 10px 0px 0px; padding: 0px 0px 0px 24px; white-space: pre-wrap;&quot;&gt;&lt;li&gt;&lt;p data-renderer-start-pos=&quot;2118&quot; style=&quot;letter-spacing: -0.005em; line-height: 1.714; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt; I removed both the ‘dist’ folders and started again. &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;margin-top: 4px;&quot;&gt;&lt;p data-renderer-start-pos=&quot;2176&quot; style=&quot;letter-spacing: -0.005em; line-height: 1.714; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;Ran ‘fiebase init’ and chose the hosting as before. &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;margin-top: 4px;&quot;&gt;&lt;p data-renderer-start-pos=&quot;2232&quot; style=&quot;letter-spacing: -0.005em; line-height: 1.714; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;The ‘dist’ folder was created in Root .  But I manually moved it to the ‘app’ folder&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;margin-top: 4px;&quot;&gt;&lt;p data-renderer-start-pos=&quot;2320&quot; style=&quot;letter-spacing: -0.005em; line-height: 1.714; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;I then ran ‘npm run build’ .  this created the new files. &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;margin-top: 4px;&quot;&gt;&lt;p data-renderer-start-pos=&quot;2382&quot; style=&quot;letter-spacing: -0.005em; line-height: 1.714; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt; In ‘firebase.json’ I had to add the following code &lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;code-block sc-glUWqk gOyaIi&quot; style=&quot;border-radius: 3px; clear: both; display: grid; grid-template-columns: minmax(0px, 1fr); margin: 0.75rem 0px 0px; max-width: 100%; overflow-wrap: normal; padding: 0px; position: relative; tab-size: 4;&quot;&gt;&lt;span class=&quot;sc-dlyikq ckdEtx&quot; style=&quot;-webkit-box-pack: end; display: flex; grid-column: 1 / auto; justify-content: flex-end; position: sticky; top: 0px;&quot;&gt;&lt;div role=&quot;presentation&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;div style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;button aria-haspopup=&quot;true&quot; aria-label=&quot;Copy&quot; class=&quot;copy-to-clipboard css-xjqg96&quot; style=&quot;-webkit-box-align: baseline; -webkit-box-pack: center; align-items: baseline; background: none rgb(244, 245, 247); border-color: rgb(255, 255, 255); border-radius: 4px; border-style: solid; color: #42526e; cursor: pointer; display: flex; font-style: normal; font-weight: 500; height: 32px; justify-content: center; line-height: 1.71429em; max-width: 100%; opacity: 0; outline: none; padding: 2px; position: absolute; right: 6px; top: 4px; transition: opacity 0.2s ease 0s; vertical-align: middle; white-space: nowrap; width: 32px;&quot; tabindex=&quot;0&quot; type=&quot;button&quot;&gt;&lt;span class=&quot;css-1ujqpe8&quot; style=&quot;-webkit-box-flex: 0; align-self: center; display: flex; flex-grow: 0; flex-shrink: 0; line-height: 0; margin: 0px 2px; opacity: 1; transition: opacity 0.3s ease 0s; user-select: none;&quot;&gt;&lt;span aria-label=&quot;Copy&quot; class=&quot;css-pxzk9z&quot; role=&quot;img&quot; style=&quot;--icon-primary-color: currentColor; --icon-secondary-color: var(--ds-surface, #FFFFFF); display: inline-block; flex-shrink: 0; line-height: 1;&quot;&gt;&lt;svg height=&quot;24&quot; role=&quot;presentation&quot; viewbox=&quot;0 0 24 24&quot; width=&quot;24&quot;&gt;&lt;g fill=&quot;currentColor&quot;&gt;&lt;/g&gt;&lt;/svg&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;path d=&quot;M10 19h8V8h-8v11zM8 7.992C8 6.892 8.902 6 10.009 6h7.982C19.101 6 20 6.893 20 7.992v11.016c0 1.1-.902 1.992-2.009 1.992H10.01A2.001 2.001 0 018 19.008V7.992z&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M5 16V4.992C5 3.892 5.902 3 7.009 3H15v13H5zm2 0h8V5H7v11z&quot;&gt;&lt;/path&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;span class=&quot;prismjs css-1xfvm4v&quot; data-code-lang=&quot;&quot; data-ds--code--code-block=&quot;&quot; style=&quot;background-attachment: local, scroll, scroll; background-color: var(--ds--code--bg-color,#F4F5F7); background-image: linear-gradient(to left, rgb(244, 245, 247) 8px, transparent 8px), linear-gradient(to left, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px), linear-gradient(to right, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px); background-position: 100% 0px, 100% 0px, 0px 0px; border-radius: 3px; border-style: none; display: flex; grid-column: 1 / auto; line-height: 1.5rem; overflow-x: auto; white-space: pre;&quot;&gt;&lt;code style=&quot;-webkit-border-image: unset; -webkit-box-align: unset; -webkit-box-decoration-break: unset; -webkit-box-direction: unset; -webkit-box-flex: unset; -webkit-box-ordinal-group: unset; -webkit-box-orient: unset; -webkit-box-pack: unset; -webkit-box-reflect: unset; -webkit-font-smoothing: unset; -webkit-highlight: unset; -webkit-hyphenate-character: unset; -webkit-line-break: unset; -webkit-line-clamp: unset; -webkit-locale: unset; -webkit-mask-box-image: unset; -webkit-mask-composite: unset; -webkit-mask: unset; -webkit-perspective-origin-x: unset; -webkit-perspective-origin-y: unset; -webkit-print-color-adjust: unset; -webkit-rtl-ordering: unset; -webkit-ruby-position: unset; -webkit-tap-highlight-color: unset; -webkit-text-combine: unset; -webkit-text-decorations-in-effect: unset; -webkit-text-fill-color: unset; -webkit-text-orientation: unset; -webkit-text-security: unset; -webkit-text-stroke: unset; -webkit-transform-origin-x: unset; -webkit-transform-origin-y: unset; -webkit-transform-origin-z: unset; -webkit-user-drag: unset; -webkit-user-modify: unset; -webkit-writing-mode: unset; accent-color: unset; alignment-baseline: unset; animation: unset; app-region: unset; appearance: unset; aspect-ratio: unset; backdrop-filter: unset; backface-visibility: unset; background-attachment: unset; background-blend-mode: unset; background-clip: unset; background-color: unset; background-image: linear-gradient(to right,var(--ds--code--line-number-bg-color,#EBECF0),var(--ds--code--line-number-bg-color,#EBECF0) calc(1ch + 16px),transparent calc(1ch + 16px),transparent); background-origin: unset; background-position: unset; background-repeat: unset; background-size: unset; baseline-shift: unset; block-size: unset; border-block: unset; border-collapse: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-inline: unset; border-radius: unset; border-spacing: unset; border-start-end-radius: unset; border-start-start-radius: unset; border: unset; box-shadow: unset; box-sizing: unset; break-after: unset; break-before: unset; break-inside: unset; buffered-rendering: unset; caption-side: unset; caret-color: unset; clear: unset; clip-path: unset; clip-rule: unset; clip: unset; color-interpolation-filters: unset; color-interpolation: unset; color-rendering: unset; color-scheme: unset; color: unset; column-fill: unset; column-rule: unset; column-span: unset; columns: unset; contain-intrinsic-block-size: unset; contain-intrinsic-inline-size: unset; contain-intrinsic-size: unset; contain: unset; content-visibility: unset; content: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; cursor: unset; cx: unset; cy: unset; d: unset; display: unset; dominant-baseline: unset; empty-cells: unset; fill-opacity: unset; fill-rule: unset; fill: unset; filter: unset; flex-flow: unset; flex: 1 0 auto; float: unset; flood-color: unset; flood-opacity: unset; font-feature-settings: unset; font-kerning: unset; font-optical-sizing: unset; font-stretch: unset; font-style: unset; font-synthesis: unset; font-variant: unset; font-variation-settings: unset; font-weight: unset; forced-color-adjust: unset; gap: unset; grid-area: unset; grid: unset; height: unset; hyphens: unset; image-orientation: unset; image-rendering: unset; inline-size: unset; inset-block: unset; inset-inline: unset; inset: unset; isolation: unset; letter-spacing: unset; lighting-color: unset; line-break: unset; line-height: unset; list-style: unset; margin-block: unset; margin-inline: unset; margin: unset; marker: unset; mask-type: unset; mask: unset; max-block-size: unset; max-height: unset; max-inline-size: unset; max-width: unset; min-block-size: unset; min-height: unset; min-inline-size: unset; min-width: unset; mix-blend-mode: unset; object-fit: unset; object-position: unset; offset: unset; opacity: unset; order: unset; orphans: unset; outline-offset: unset; outline: unset; overflow-anchor: unset; overflow-clip-margin: unset; overflow-wrap: unset; overflow: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; overscroll-behavior: unset; padding-block: unset; padding-bottom: 8px; padding-inline: unset; padding-left: 0px; padding-right: 8px !important; padding-top: 8px; page-orientation: unset; page: unset; paint-order: unset; perspective-origin: unset; perspective: unset; place-content: unset; place-items: unset; place-self: unset; pointer-events: unset; position: unset; quotes: unset; r: unset; resize: unset; ruby-position: unset; rx: unset; ry: unset; scroll-behavior: unset; scroll-margin-block: unset; scroll-margin-inline: unset; scroll-margin: unset; scroll-padding-block: unset; scroll-padding-inline: unset; scroll-padding: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; scrollbar-gutter: unset; shape-image-threshold: unset; shape-margin: unset; shape-outside: unset; shape-rendering: unset; size: unset; speak: unset; stop-color: unset; stop-opacity: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-linecap: unset; stroke-linejoin: unset; stroke-miterlimit: unset; stroke-opacity: unset; stroke-width: unset; stroke: unset; tab-size: unset; table-layout: unset; text-align-last: unset; text-align: unset; text-anchor: unset; text-combine-upright: unset; text-decoration-skip-ink: unset; text-decoration: unset; text-emphasis-position: unset; text-emphasis: unset; text-indent: unset; text-orientation: unset; text-overflow: unset; text-rendering: unset; text-shadow: unset; text-size-adjust: unset; text-transform: unset; text-underline-offset: unset; text-underline-position: unset; touch-action: unset; transform-box: unset; transform-origin: unset; transform-style: unset; transform: unset; transition: unset; user-select: unset; vector-effect: unset; vertical-align: unset; visibility: unset; widows: unset; width: unset; will-change: unset; word-break: unset; word-spacing: unset; writing-mode: unset; x: unset; y: unset; z-index: unset; zoom: unset;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;&quot;&gt;  &quot;hosting&quot;: {
&lt;/span&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;2&lt;/span&gt;    &quot;public&quot;: &quot;app/dist&quot;,
&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;2498&quot; style=&quot;letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;margin-top: 4px;&quot;&gt;&lt;p data-renderer-start-pos=&quot;2502&quot; style=&quot;letter-spacing: -0.005em; line-height: 1.714; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;Ran ‘firebase serve’. &lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;ak-editor-panel sc-cbMPqi edRQeC&quot; data-panel-type=&quot;success&quot; style=&quot;-webkit-box-align: baseline; -webkit-text-stroke-width: 0px; align-items: baseline; background-color: #e3fcef; border-radius: 3px; clear: both; color: #172b4d; display: flex; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0.75rem 0px 0px; min-width: 48px; orphans: 2; padding: 8px; position: relative; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-break: break-word; word-spacing: 0px;&quot;&gt;&lt;div class=&quot;ak-editor-panel__content&quot; style=&quot;flex: 1 0 0px; margin: 1px 0px; min-width: 0px; padding: 0px;&quot;&gt;&lt;p data-renderer-start-pos=&quot;2059&quot; style=&quot;font-weight: normal; letter-spacing: -0.005em; line-height: 1.714; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;So I have the site showing using ‘firebase serve’ . &lt;span data-emoji-id=&quot;1f642&quot; data-emoji-short-name=&quot;:slight_smile:&quot; data-emoji-text=&quot;🙂&quot;&gt;&lt;span aria-label=&quot;:slight_smile:&quot; class=&quot;f1omp8gy emoji-common-node emoji-common-emoji-image&quot; style=&quot;background-color: transparent; border-radius: 5px; display: inline-block; margin: -1px 0px; vertical-align: middle;&quot; title=&quot;:slight_smile:&quot;&gt;&lt;img alt=&quot;:slight_smile:&quot; class=&quot;emoji&quot; data-emoji-id=&quot;1f642&quot; data-emoji-short-name=&quot;:slight_smile:&quot; data-emoji-text=&quot;🙂&quot; height=&quot;20&quot; loading=&quot;lazy&quot; src=&quot;https://pf-emoji-service--cdn.us-east-1.prod.public.atl-paas.net/standard/a51a7674-8d5d-4495-a2d2-a67c090f5c3b/32x32/1f642.png&quot; style=&quot;border: 0px; display: block; margin: 0px; padding: 0px; visibility: visible;&quot; width=&quot;20&quot; /&gt;&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;span style=&quot;color: #172b4d; font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: white; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;ol class=&quot;ak-ol&quot; data-indent-level=&quot;1&quot; style=&quot;background-color: white; box-sizing: border-box; color: #172b4d; display: flow-root; margin: 10px 0px 0px; padding: 0px 0px 0px 24px; white-space: pre-wrap;&quot;&gt;&lt;li style=&quot;margin-top: 4px;&quot;&gt;&lt;div class=&quot;code-block sc-glUWqk gOyaIi&quot; style=&quot;border-radius: 3px; clear: both; display: grid; grid-template-columns: minmax(0px, 1fr); margin: 0.75rem 0px 0px; max-width: 100%; overflow-wrap: normal; padding: 0px; position: relative; tab-size: 4;&quot;&gt;&lt;span class=&quot;prismjs css-1xfvm4v&quot; data-code-lang=&quot;&quot; data-ds--code--code-block=&quot;&quot; style=&quot;background-attachment: local, scroll, scroll; background-color: var(--ds--code--bg-color,#F4F5F7); background-image: linear-gradient(to left, rgb(244, 245, 247) 8px, transparent 8px), linear-gradient(to left, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px), linear-gradient(to right, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px); background-position: 100% 0px, 100% 0px, 0px 0px; border-radius: 3px; border-style: none; display: flex; grid-column: 1 / auto; line-height: 1.5rem; overflow-x: auto; white-space: pre;&quot;&gt;&lt;code style=&quot;-webkit-border-image: unset; -webkit-box-align: unset; -webkit-box-decoration-break: unset; -webkit-box-direction: unset; -webkit-box-flex: unset; -webkit-box-ordinal-group: unset; -webkit-box-orient: unset; -webkit-box-pack: unset; -webkit-box-reflect: unset; -webkit-font-smoothing: unset; -webkit-highlight: unset; -webkit-hyphenate-character: unset; -webkit-line-break: unset; -webkit-line-clamp: unset; -webkit-locale: unset; -webkit-mask-box-image: unset; -webkit-mask-composite: unset; -webkit-mask: unset; -webkit-perspective-origin-x: unset; -webkit-perspective-origin-y: unset; -webkit-print-color-adjust: unset; -webkit-rtl-ordering: unset; -webkit-ruby-position: unset; -webkit-tap-highlight-color: unset; -webkit-text-combine: unset; -webkit-text-decorations-in-effect: unset; -webkit-text-fill-color: unset; -webkit-text-orientation: unset; -webkit-text-security: unset; -webkit-text-stroke: unset; -webkit-transform-origin-x: unset; -webkit-transform-origin-y: unset; -webkit-transform-origin-z: unset; -webkit-user-drag: unset; -webkit-user-modify: unset; -webkit-writing-mode: unset; accent-color: unset; alignment-baseline: unset; animation: unset; app-region: unset; appearance: unset; aspect-ratio: unset; backdrop-filter: unset; backface-visibility: unset; background-attachment: unset; background-blend-mode: unset; background-clip: unset; background-color: unset; background-image: linear-gradient(to right,var(--ds--code--line-number-bg-color,#EBECF0),var(--ds--code--line-number-bg-color,#EBECF0) calc(1ch + 16px),transparent calc(1ch + 16px),transparent); background-origin: unset; background-position: unset; background-repeat: unset; background-size: unset; baseline-shift: unset; block-size: unset; border-block: unset; border-collapse: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-inline: unset; border-radius: unset; border-spacing: unset; border-start-end-radius: unset; border-start-start-radius: unset; border: unset; box-shadow: unset; box-sizing: unset; break-after: unset; break-before: unset; break-inside: unset; buffered-rendering: unset; caption-side: unset; caret-color: unset; clear: unset; clip-path: unset; clip-rule: unset; clip: unset; color-interpolation-filters: unset; color-interpolation: unset; color-rendering: unset; color-scheme: unset; color: unset; column-fill: unset; column-rule: unset; column-span: unset; columns: unset; contain-intrinsic-block-size: unset; contain-intrinsic-inline-size: unset; contain-intrinsic-size: unset; contain: unset; content-visibility: unset; content: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; cursor: unset; cx: unset; cy: unset; d: unset; display: unset; dominant-baseline: unset; empty-cells: unset; fill-opacity: unset; fill-rule: unset; fill: unset; filter: unset; flex-flow: unset; flex: 1 0 auto; float: unset; flood-color: unset; flood-opacity: unset; font-feature-settings: unset; font-kerning: unset; font-optical-sizing: unset; font-stretch: unset; font-style: unset; font-synthesis: unset; font-variant: unset; font-variation-settings: unset; font-weight: unset; forced-color-adjust: unset; gap: unset; grid-area: unset; grid: unset; height: unset; hyphens: unset; image-orientation: unset; image-rendering: unset; inline-size: unset; inset-block: unset; inset-inline: unset; inset: unset; isolation: unset; letter-spacing: unset; lighting-color: unset; line-break: unset; line-height: unset; list-style: unset; margin-block: unset; margin-inline: unset; margin: unset; marker: unset; mask-type: unset; mask: unset; max-block-size: unset; max-height: unset; max-inline-size: unset; max-width: unset; min-block-size: unset; min-height: unset; min-inline-size: unset; min-width: unset; mix-blend-mode: unset; object-fit: unset; object-position: unset; offset: unset; opacity: unset; order: unset; orphans: unset; outline-offset: unset; outline: unset; overflow-anchor: unset; overflow-clip-margin: unset; overflow-wrap: unset; overflow: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; overscroll-behavior: unset; padding-block: unset; padding-bottom: 8px; padding-inline: unset; padding-left: 0px; padding-right: 8px !important; padding-top: 8px; page-orientation: unset; page: unset; paint-order: unset; perspective-origin: unset; perspective: unset; place-content: unset; place-items: unset; place-self: unset; pointer-events: unset; position: unset; quotes: unset; r: unset; resize: unset; ruby-position: unset; rx: unset; ry: unset; scroll-behavior: unset; scroll-margin-block: unset; scroll-margin-inline: unset; scroll-margin: unset; scroll-padding-block: unset; scroll-padding-inline: unset; scroll-padding: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; scrollbar-gutter: unset; shape-image-threshold: unset; shape-margin: unset; shape-outside: unset; shape-rendering: unset; size: unset; speak: unset; stop-color: unset; stop-opacity: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-linecap: unset; stroke-linejoin: unset; stroke-miterlimit: unset; stroke-opacity: unset; stroke-width: unset; stroke: unset; tab-size: unset; table-layout: unset; text-align-last: unset; text-align: unset; text-anchor: unset; text-combine-upright: unset; text-decoration-skip-ink: unset; text-decoration: unset; text-emphasis-position: unset; text-emphasis: unset; text-indent: unset; text-orientation: unset; text-overflow: unset; text-rendering: unset; text-shadow: unset; text-size-adjust: unset; text-transform: unset; text-underline-offset: unset; text-underline-position: unset; touch-action: unset; transform-box: unset; transform-origin: unset; transform-style: unset; transform: unset; transition: unset; user-select: unset; vector-effect: unset; vertical-align: unset; visibility: unset; widows: unset; width: unset; will-change: unset; word-break: unset; word-spacing: unset; writing-mode: unset; x: unset; y: unset; z-index: unset; zoom: unset;&quot;&gt;&lt;span class=&quot;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;firebase deploy --only hosting&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;
And I can now see it on the app online :)  I hope this saves someone a heap of time, as it took me a while to work this one out :/&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #172b4d; font-family: -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Noto Sans&amp;quot;, Ubuntu, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #172b4d; font-family: -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Noto Sans&amp;quot;, Ubuntu, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #172b4d; font-family: -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Noto Sans&amp;quot;, Ubuntu, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #172b4d; font-family: -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Noto Sans&amp;quot;, Ubuntu, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #172b4d; font-family: -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Noto Sans&amp;quot;, Ubuntu, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #172b4d; font-family: -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Noto Sans&amp;quot;, Ubuntu, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #172b4d; font-family: -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Noto Sans&amp;quot;, Ubuntu, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #172b4d; font-family: -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Noto Sans&amp;quot;, Ubuntu, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #172b4d; font-family: -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Noto Sans&amp;quot;, Ubuntu, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #172b4d; font-family: -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Noto Sans&amp;quot;, Ubuntu, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #172b4d; font-family: -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Noto Sans&amp;quot;, Ubuntu, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://littleripplesproject.blogspot.com/feeds/6988019336346413790/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8608610523928821757/6988019336346413790' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/6988019336346413790'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/6988019336346413790'/><link rel='alternate' type='text/html' href='http://littleripplesproject.blogspot.com/2022/03/vuejs-not-building-correctly-in-dist.html' title='Vue.js not building correctly in &#39;dist&#39; folder &#39;npm run build&#39;'/><author><name>DJ Millward</name><uri>http://www.blogger.com/profile/00956188700712120760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5uFzd1oDU8E1oYBaMPDAXQqDF8voL7_YuinTX2a5FTfUVOLIhcJsm0I-K32ktkqqP5cpdEDbnRa81lsicGD0m2mUF8MzoNxHRAF-6A3SIXAwEC4ScJzDjgmq73ZC6OlU/s220/surfing2008.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEjgbTzzramKdZS1Phtphy4JcnZ19yQvSHiOh8twl-jFtZXYKVeaYtoxttrrWVwQ0KK6kWeseMDu4KDPX0wYF88yb7bdexvxvWABeOZPPcwCwzpssDIe9u_kzve6o1ru2MSPIMgmkwYvLlSGNaJFQrtKcaMKBkap0CyzcJyw2Sm7T41aq97B9aPuxyfk=s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8608610523928821757.post-5275817648017865804</id><published>2022-03-29T12:55:00.000+01:00</published><updated>2022-03-29T12:55:17.333+01:00</updated><title type='text'>CodeRed CMS - How to Order ( weight ) the Navigation snippets </title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&amp;nbsp;The task was simple, I&#39;d added a load of menu items to the top menu using snippets but I wanted to change the order&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;What no drag and drop !&amp;nbsp; And neither could I see an input box to enter a position.&amp;nbsp; &amp;nbsp;Surely I wouldn&#39;t have to get my hands dirty and write some code for this.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Here&#39;s an easy fix though.&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;As the navigation uses flexbox .&amp;nbsp; All you need to do is call the Bootstrap Order class. &lt;br /&gt;&lt;br /&gt;And then in your &#39;navigation&#39; item &#39;snippet&#39; just add the ordering like this&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjCykAXg69gMDCXpRb60f5Gl6JJKFKuOhPevZgeV-3N7gaz4-nNuSgcrB9OolZoz1PUs3gxsvXLsvsuk18Evb8xYapAmb6IN3luY9rTLoaoMZgz5IePVmIiULHwhLrTltG-KTm7Sq8lO6d9N4cEuTdmYuCmL2yTQiZTg0yhwh5iBpm1NzBudkaXDX1B&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;505&quot; data-original-width=&quot;647&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjCykAXg69gMDCXpRb60f5Gl6JJKFKuOhPevZgeV-3N7gaz4-nNuSgcrB9OolZoz1PUs3gxsvXLsvsuk18Evb8xYapAmb6IN3luY9rTLoaoMZgz5IePVmIiULHwhLrTltG-KTm7Sq8lO6d9N4cEuTdmYuCmL2yTQiZTg0yhwh5iBpm1NzBudkaXDX1B&quot; width=&quot;307&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://littleripplesproject.blogspot.com/feeds/5275817648017865804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8608610523928821757/5275817648017865804' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/5275817648017865804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/5275817648017865804'/><link rel='alternate' type='text/html' href='http://littleripplesproject.blogspot.com/2022/03/codered-cms-how-to-order-weight.html' title='CodeRed CMS - How to Order ( weight ) the Navigation snippets '/><author><name>DJ Millward</name><uri>http://www.blogger.com/profile/00956188700712120760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5uFzd1oDU8E1oYBaMPDAXQqDF8voL7_YuinTX2a5FTfUVOLIhcJsm0I-K32ktkqqP5cpdEDbnRa81lsicGD0m2mUF8MzoNxHRAF-6A3SIXAwEC4ScJzDjgmq73ZC6OlU/s220/surfing2008.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEjCykAXg69gMDCXpRb60f5Gl6JJKFKuOhPevZgeV-3N7gaz4-nNuSgcrB9OolZoz1PUs3gxsvXLsvsuk18Evb8xYapAmb6IN3luY9rTLoaoMZgz5IePVmIiULHwhLrTltG-KTm7Sq8lO6d9N4cEuTdmYuCmL2yTQiZTg0yhwh5iBpm1NzBudkaXDX1B=s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8608610523928821757.post-5098312621852291867</id><published>2022-03-16T11:09:00.004+00:00</published><updated>2022-03-16T11:09:52.196+00:00</updated><title type='text'>Gsutil - How to empty a GCS bucket</title><content type='html'>&lt;p&gt;&amp;nbsp;Although I&amp;nbsp; couldn&#39;t find a &#39;gsutil&#39; command to empty a bucket as such the following will remove and then we add the bucket.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I&#39;ve also add the code here for how to do this from an Airflow DAG .&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;% gsutil -m rm -r gs://djem_photos&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;% gsutil -m mkdir gs://djem_photos&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: Menlo, Monaco, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12px; line-height: 18px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #c586c0;&quot;&gt;from&lt;/span&gt; airflow.operators &lt;span style=&quot;color: #c586c0;&quot;&gt;import&lt;/span&gt; bash_operator
&lt;span style=&quot;color: #9cdcfe;&quot;&gt;
bucket&lt;/span&gt; = &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;gs://temp_gp_tasks&#39;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #c586c0;&quot;&gt;with&lt;/span&gt; models.DAG(&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;remove_files_from_gcs&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;schedule_interval&lt;/span&gt;=&lt;span style=&quot;color: #569cd6;&quot;&gt;None&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;default_args&lt;/span&gt;=&lt;span style=&quot;color: #9cdcfe;&quot;&gt;default_dag_args&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;catchup&lt;/span&gt;=&lt;span style=&quot;color: #569cd6;&quot;&gt;True&lt;/span&gt;) &lt;span style=&quot;color: #c586c0;&quot;&gt;as&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;dag&lt;/span&gt;:&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;remove_gcs_bucket&lt;/span&gt; = bash_operator.BashOperator(&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;task_id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;remove_gcs_bucket&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;bash_command&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;gsutil -m rm -r &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;{bucket}&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;format&lt;/span&gt;(&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #9cdcfe;&quot;&gt;bucket&lt;/span&gt;=&lt;span style=&quot;color: #9cdcfe;&quot;&gt;bucket&lt;/span&gt;))&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;recreate_gcs_bucket&lt;/span&gt; = bash_operator.BashOperator(&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;task_id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;recreate_gcs_bucket&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;bash_command&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;gsutil -m mkdir &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;{bucket}&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;format&lt;/span&gt;(&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #9cdcfe;&quot;&gt;bucket&lt;/span&gt;=&lt;span style=&quot;color: #9cdcfe;&quot;&gt;bucket&lt;/span&gt;))        &lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;remove_gcs_bucket&lt;/span&gt; &amp;gt;&amp;gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;recreate_gcs_bucket&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://littleripplesproject.blogspot.com/feeds/5098312621852291867/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8608610523928821757/5098312621852291867' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/5098312621852291867'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/5098312621852291867'/><link rel='alternate' type='text/html' href='http://littleripplesproject.blogspot.com/2022/03/gsutil-how-to-empty-gcs-bucket.html' title='Gsutil - How to empty a GCS bucket'/><author><name>DJ Millward</name><uri>http://www.blogger.com/profile/00956188700712120760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5uFzd1oDU8E1oYBaMPDAXQqDF8voL7_YuinTX2a5FTfUVOLIhcJsm0I-K32ktkqqP5cpdEDbnRa81lsicGD0m2mUF8MzoNxHRAF-6A3SIXAwEC4ScJzDjgmq73ZC6OlU/s220/surfing2008.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8608610523928821757.post-8421014209583987578</id><published>2022-03-07T16:31:00.004+00:00</published><updated>2022-03-07T16:31:31.814+00:00</updated><title type='text'>Airflow Connection Code Example - Access connection data from code</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&amp;nbsp;Here&#39;s a straight forward piece of code, but I found this solution difficult to find and uncover .&amp;nbsp; So here&#39;s the solution to getting the data from the Airflow connection in to my DAG - in Google Cloud Platform&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; line-height: 18px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #c586c0;&quot;&gt;from&lt;/span&gt; airflow.hooks.base_hook &lt;span style=&quot;color: #c586c0;&quot;&gt;import&lt;/span&gt; BaseHook&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;conn&lt;/span&gt; = BaseHook.get_connection(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;my_conn&#39;&lt;/span&gt;)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;def&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;connect_to_somewhere&lt;/span&gt;():    &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #4ec9b0;&quot;&gt;logging&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;info&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;conn&lt;/span&gt;.login)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #4ec9b0;&quot;&gt;logging&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;info&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;conn&lt;/span&gt;.password)     &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;Hope that helps someone out there !&amp;nbsp;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://littleripplesproject.blogspot.com/feeds/8421014209583987578/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8608610523928821757/8421014209583987578' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/8421014209583987578'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/8421014209583987578'/><link rel='alternate' type='text/html' href='http://littleripplesproject.blogspot.com/2022/03/airflow-connection-code-example-access.html' title='Airflow Connection Code Example - Access connection data from code'/><author><name>DJ Millward</name><uri>http://www.blogger.com/profile/00956188700712120760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5uFzd1oDU8E1oYBaMPDAXQqDF8voL7_YuinTX2a5FTfUVOLIhcJsm0I-K32ktkqqP5cpdEDbnRa81lsicGD0m2mUF8MzoNxHRAF-6A3SIXAwEC4ScJzDjgmq73ZC6OlU/s220/surfing2008.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8608610523928821757.post-5567438153451649754</id><published>2022-03-03T10:52:00.005+00:00</published><updated>2022-03-03T10:52:48.928+00:00</updated><title type='text'>GCP DAGS &quot; Given * file, /home/airflow/dags/* , could not be opened.</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;Although this post is about solving my specific issue with locating the &#39;googleads.yaml&#39; and it&#39;s &#39;private_key&#39; file , it&#39;s will also be useful to others who want to Access any other file that they have uploaded.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;I had the following code that I could not get to work.&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;code-block sc-dfVpRl jWiXQH&quot; style=&quot;background-color: white; border-radius: 3px; clear: both; color: #172b4d; display: grid; grid-template-columns: minmax(0px, 1fr); margin: 0.75rem 0px 0px; max-width: 100%; overflow-wrap: normal; padding: 0px; position: relative; tab-size: 4; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;prismjs css-1xfvm4v&quot; data-code-lang=&quot;&quot; data-ds--code--code-block=&quot;&quot; style=&quot;background-attachment: local, scroll, scroll; background-color: var(--ds--code--bg-color,#F4F5F7); background-image: linear-gradient(to left, rgb(244, 245, 247) 8px, transparent 8px), linear-gradient(to left, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px), linear-gradient(to right, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px); background-position: 100% 0px, 100% 0px, 0px 0px; border-radius: 3px; border-style: none; display: flex; grid-column: 1 / auto; line-height: 1.5rem; overflow-x: auto; white-space: pre;&quot;&gt;&lt;code style=&quot;-webkit-border-image: unset; -webkit-box-align: unset; -webkit-box-decoration-break: unset; -webkit-box-direction: unset; -webkit-box-flex: unset; -webkit-box-ordinal-group: unset; -webkit-box-orient: unset; -webkit-box-pack: unset; -webkit-box-reflect: unset; -webkit-font-smoothing: unset; -webkit-highlight: unset; -webkit-hyphenate-character: unset; -webkit-line-break: unset; -webkit-line-clamp: unset; -webkit-locale: unset; -webkit-mask-box-image: unset; -webkit-mask-composite: unset; -webkit-mask: unset; -webkit-perspective-origin-x: unset; -webkit-perspective-origin-y: unset; -webkit-print-color-adjust: unset; -webkit-rtl-ordering: unset; -webkit-ruby-position: unset; -webkit-tap-highlight-color: unset; -webkit-text-combine: unset; -webkit-text-decorations-in-effect: unset; -webkit-text-emphasis-position: unset; -webkit-text-emphasis: unset; -webkit-text-fill-color: unset; -webkit-text-orientation: unset; -webkit-text-security: unset; -webkit-text-stroke: unset; -webkit-transform-origin-x: unset; -webkit-transform-origin-y: unset; -webkit-transform-origin-z: unset; -webkit-user-drag: unset; -webkit-user-modify: unset; -webkit-writing-mode: unset; accent-color: unset; alignment-baseline: unset; animation: unset; app-region: unset; appearance: unset; aspect-ratio: unset; backdrop-filter: unset; backface-visibility: unset; background-attachment: unset; background-blend-mode: unset; background-clip: unset; background-color: unset; background-image: linear-gradient(to right,var(--ds--code--line-number-bg-color,#EBECF0),var(--ds--code--line-number-bg-color,#EBECF0) calc(1ch + 16px),transparent calc(1ch + 16px),transparent); background-origin: unset; background-position: unset; background-repeat: unset; background-size: unset; baseline-shift: unset; block-size: unset; border-block: unset; border-collapse: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-inline: unset; border-radius: unset; border-spacing: unset; border-start-end-radius: unset; border-start-start-radius: unset; border: unset; box-shadow: unset; box-sizing: unset; break-after: unset; break-before: unset; break-inside: unset; buffered-rendering: unset; caption-side: unset; caret-color: unset; clear: unset; clip-path: unset; clip-rule: unset; clip: unset; color-interpolation-filters: unset; color-interpolation: unset; color-rendering: unset; color-scheme: unset; color: unset; column-fill: unset; column-rule: unset; column-span: unset; columns: unset; contain-intrinsic-block-size: unset; contain-intrinsic-inline-size: unset; contain-intrinsic-size: unset; contain: unset; content-visibility: unset; content: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; cursor: unset; cx: unset; cy: unset; d: unset; display: unset; dominant-baseline: unset; empty-cells: unset; fill-opacity: unset; fill-rule: unset; fill: unset; filter: unset; flex-flow: unset; flex: 1 0 auto; float: unset; flood-color: unset; flood-opacity: unset; font-feature-settings: unset; font-kerning: unset; font-optical-sizing: unset; font-stretch: unset; font-style: unset; font-synthesis: unset; font-variant: unset; font-variation-settings: unset; font-weight: unset; forced-color-adjust: unset; gap: unset; grid-area: unset; grid: unset; height: unset; hyphens: unset; image-orientation: unset; image-rendering: unset; inline-size: unset; inset-block: unset; inset-inline: unset; inset: unset; isolation: unset; letter-spacing: unset; lighting-color: unset; line-break: unset; line-height: unset; list-style: unset; margin-block: unset; margin-inline: unset; margin: unset; marker: unset; mask-type: unset; mask: unset; max-block-size: unset; max-height: unset; max-inline-size: unset; max-width: unset; min-block-size: unset; min-height: unset; min-inline-size: unset; min-width: unset; mix-blend-mode: unset; object-fit: unset; object-position: unset; offset: unset; opacity: unset; order: unset; orphans: unset; outline-offset: unset; outline: unset; overflow-anchor: unset; overflow-clip-margin: unset; overflow-wrap: unset; overflow: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; overscroll-behavior: unset; padding-block: unset; padding-bottom: 8px; padding-inline: unset; padding-left: 0px; padding-right: 8px !important; padding-top: 8px; page-orientation: unset; page: unset; paint-order: unset; perspective-origin: unset; perspective: unset; place-content: unset; place-items: unset; place-self: unset; pointer-events: unset; position: unset; quotes: unset; r: unset; resize: unset; ruby-position: unset; rx: unset; ry: unset; scroll-behavior: unset; scroll-margin-block: unset; scroll-margin-inline: unset; scroll-margin: unset; scroll-padding-block: unset; scroll-padding-inline: unset; scroll-padding: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; scrollbar-gutter: unset; shape-image-threshold: unset; shape-margin: unset; shape-outside: unset; shape-rendering: unset; size: unset; speak: unset; stop-color: unset; stop-opacity: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-linecap: unset; stroke-linejoin: unset; stroke-miterlimit: unset; stroke-opacity: unset; stroke-width: unset; stroke: unset; tab-size: unset; table-layout: unset; text-align-last: unset; text-align: unset; text-anchor: unset; text-combine-upright: unset; text-decoration-skip-ink: unset; text-decoration: unset; text-indent: unset; text-orientation: unset; text-overflow: unset; text-rendering: unset; text-shadow: unset; text-size-adjust: unset; text-transform: unset; text-underline-offset: unset; text-underline-position: unset; touch-action: unset; transform-box: unset; transform-origin: unset; transform-style: unset; transform: unset; transition: unset; user-select: unset; vector-effect: unset; vertical-align: unset; visibility: unset; widows: unset; width: unset; will-change: unset; word-break: unset; word-spacing: unset; writing-mode: unset; x: unset; y: unset; z-index: unset; zoom: unset;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span class=&quot;&quot;&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;FOLDER_PATH = &#39;~/dags/&#39;
&lt;/span&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;2&lt;/span&gt;
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;3&lt;/span&gt;def gam_traffic():
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;4&lt;/span&gt;    client = ad_manager.AdManagerClient.LoadFromStorage(FOLDER_PATH + &#39;googleads.yaml&#39;)
&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;314&quot; style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&amp;nbsp;
I&#39;d tried other FOLDER names , like the &lt;b&gt;gs://&lt;/b&gt; bucket address and the full address like &lt;/span&gt;&lt;/p&gt;&lt;h2 class=&quot;cfc-space-first ng-star-inserted&quot; sandboxuid=&quot;0&quot; style=&quot;background-color: white; border: 0px; bottom: auto; box-sizing: border-box; font-weight: 500; line-height: 28px; margin-bottom: 8px; margin-left: 0px; margin-right: 0px; margin-top: 0px !important; max-width: 512px; outline: 0px; overflow-wrap: break-word; padding: 0px; position: relative; text-rendering: auto; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;europe-west1-composer-XXX-XXXX-bucket.&amp;nbsp; All to no avail.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;ak-editor-panel sc-RefOD iPSNaD&quot; data-panel-type=&quot;note&quot; style=&quot;-webkit-box-align: baseline; align-items: baseline; background-color: #eae6ff; border-radius: 3px; clear: both; color: #172b4d; display: flex; margin: 0.75rem 0px 0px; min-width: 48px; padding: 8px; position: relative; white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;div class=&quot;ak-editor-panel__content&quot; style=&quot;flex: 1 0 0px; margin: 1px 0px; min-width: 0px; padding: 0px;&quot;&gt;&lt;p data-renderer-start-pos=&quot;1082&quot; style=&quot;letter-spacing: -0.005em; line-height: 1.714; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;RED HERRING ALERT&lt;br /&gt;&lt;br /&gt;Using the gs:// bucket address worked fine for Saving and Retrieving .csv files using Python Panda, but I couldn’t get the address to work when using the Python Open command.  My assumption now is that the Python Panda library must contain some ‘magic’ that process this address when it see that the URI starts with ‘gs://’&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;1427&quot; style=&quot;color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;

To solve my issue and find the path I needed then I ran the following &lt;span style=&quot;letter-spacing: -0.08px;&quot;&gt;tasks to prove what folder we are in , and all the files and folders in it. 
&lt;/span&gt;
&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;code-block sc-dfVpRl jWiXQH&quot; style=&quot;border-radius: 3px; clear: both; display: grid; grid-template-columns: minmax(0px, 1fr); margin: 0.75rem 0px 0px; max-width: 100%; overflow-wrap: normal; padding: 0px; position: relative; tab-size: 4;&quot;&gt;&lt;span class=&quot;prismjs css-1xfvm4v&quot; data-code-lang=&quot;&quot; data-ds--code--code-block=&quot;&quot; style=&quot;background-attachment: local, scroll, scroll; background-color: var(--ds--code--bg-color,#F4F5F7); background-image: linear-gradient(to left, rgb(244, 245, 247) 8px, transparent 8px), linear-gradient(to left, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px), linear-gradient(to right, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px); background-position: 100% 0px, 100% 0px, 0px 0px; border-radius: 3px; border-style: none; color: #172b4d; display: flex; grid-column: 1 / auto; line-height: 1.5rem; overflow-x: auto; white-space: pre;&quot;&gt;&lt;code style=&quot;-webkit-border-image: unset; -webkit-box-align: unset; -webkit-box-decoration-break: unset; -webkit-box-direction: unset; -webkit-box-flex: unset; -webkit-box-ordinal-group: unset; -webkit-box-orient: unset; -webkit-box-pack: unset; -webkit-box-reflect: unset; -webkit-font-smoothing: unset; -webkit-highlight: unset; -webkit-hyphenate-character: unset; -webkit-line-break: unset; -webkit-line-clamp: unset; -webkit-locale: unset; -webkit-mask-box-image: unset; -webkit-mask-composite: unset; -webkit-mask: unset; -webkit-perspective-origin-x: unset; -webkit-perspective-origin-y: unset; -webkit-print-color-adjust: unset; -webkit-rtl-ordering: unset; -webkit-ruby-position: unset; -webkit-tap-highlight-color: unset; -webkit-text-combine: unset; -webkit-text-decorations-in-effect: unset; -webkit-text-emphasis-position: unset; -webkit-text-emphasis: unset; -webkit-text-fill-color: unset; -webkit-text-orientation: unset; -webkit-text-security: unset; -webkit-text-stroke: unset; -webkit-transform-origin-x: unset; -webkit-transform-origin-y: unset; -webkit-transform-origin-z: unset; -webkit-user-drag: unset; -webkit-user-modify: unset; -webkit-writing-mode: unset; accent-color: unset; alignment-baseline: unset; animation: unset; app-region: unset; appearance: unset; aspect-ratio: unset; backdrop-filter: unset; backface-visibility: unset; background-attachment: unset; background-blend-mode: unset; background-clip: unset; background-color: unset; background-image: linear-gradient(to right,var(--ds--code--line-number-bg-color,#EBECF0),var(--ds--code--line-number-bg-color,#EBECF0) calc(1ch + 16px),transparent calc(1ch + 16px),transparent); background-origin: unset; background-position: unset; background-repeat: unset; background-size: unset; baseline-shift: unset; block-size: unset; border-block: unset; border-collapse: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-inline: unset; border-radius: unset; border-spacing: unset; border-start-end-radius: unset; border-start-start-radius: unset; border: unset; box-shadow: unset; box-sizing: unset; break-after: unset; break-before: unset; break-inside: unset; buffered-rendering: unset; caption-side: unset; caret-color: unset; clear: unset; clip-path: unset; clip-rule: unset; clip: unset; color-interpolation-filters: unset; color-interpolation: unset; color-rendering: unset; color-scheme: unset; color: unset; column-fill: unset; column-rule: unset; column-span: unset; columns: unset; contain-intrinsic-block-size: unset; contain-intrinsic-inline-size: unset; contain-intrinsic-size: unset; contain: unset; content-visibility: unset; content: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; cursor: unset; cx: unset; cy: unset; d: unset; display: unset; dominant-baseline: unset; empty-cells: unset; fill-opacity: unset; fill-rule: unset; fill: unset; filter: unset; flex-flow: unset; flex: 1 0 auto; float: unset; flood-color: unset; flood-opacity: unset; font-feature-settings: unset; font-kerning: unset; font-optical-sizing: unset; font-stretch: unset; font-style: unset; font-synthesis: unset; font-variant: unset; font-variation-settings: unset; font-weight: unset; forced-color-adjust: unset; gap: unset; grid-area: unset; grid: unset; height: unset; hyphens: unset; image-orientation: unset; image-rendering: unset; inline-size: unset; inset-block: unset; inset-inline: unset; inset: unset; isolation: unset; letter-spacing: unset; lighting-color: unset; line-break: unset; line-height: unset; list-style: unset; margin-block: unset; margin-inline: unset; margin: unset; marker: unset; mask-type: unset; mask: unset; max-block-size: unset; max-height: unset; max-inline-size: unset; max-width: unset; min-block-size: unset; min-height: unset; min-inline-size: unset; min-width: unset; mix-blend-mode: unset; object-fit: unset; object-position: unset; offset: unset; opacity: unset; order: unset; orphans: unset; outline-offset: unset; outline: unset; overflow-anchor: unset; overflow-clip-margin: unset; overflow-wrap: unset; overflow: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; overscroll-behavior: unset; padding-block: unset; padding-bottom: 8px; padding-inline: unset; padding-left: 0px; padding-right: 8px !important; padding-top: 8px; page-orientation: unset; page: unset; paint-order: unset; perspective-origin: unset; perspective: unset; place-content: unset; place-items: unset; place-self: unset; pointer-events: unset; position: unset; quotes: unset; r: unset; resize: unset; ruby-position: unset; rx: unset; ry: unset; scroll-behavior: unset; scroll-margin-block: unset; scroll-margin-inline: unset; scroll-margin: unset; scroll-padding-block: unset; scroll-padding-inline: unset; scroll-padding: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; scrollbar-gutter: unset; shape-image-threshold: unset; shape-margin: unset; shape-outside: unset; shape-rendering: unset; size: unset; speak: unset; stop-color: unset; stop-opacity: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-linecap: unset; stroke-linejoin: unset; stroke-miterlimit: unset; stroke-opacity: unset; stroke-width: unset; stroke: unset; tab-size: unset; table-layout: unset; text-align-last: unset; text-align: unset; text-anchor: unset; text-combine-upright: unset; text-decoration-skip-ink: unset; text-decoration: unset; text-indent: unset; text-orientation: unset; text-overflow: unset; text-rendering: unset; text-shadow: unset; text-size-adjust: unset; text-transform: unset; text-underline-offset: unset; text-underline-position: unset; touch-action: unset; transform-box: unset; transform-origin: unset; transform-style: unset; transform: unset; transition: unset; user-select: unset; vector-effect: unset; vertical-align: unset; visibility: unset; widows: unset; width: unset; will-change: unset; word-break: unset; word-spacing: unset; writing-mode: unset; x: unset; y: unset; z-index: unset; zoom: unset;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span class=&quot;&quot;&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;import os
&lt;/span&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;2&lt;/span&gt;
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;3&lt;/span&gt;# Print working dir
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;4&lt;/span&gt;def print_working_dir():
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;5&lt;/span&gt;    directory = os.getcwd()
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;6&lt;/span&gt;    # Iterating through the json
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;7&lt;/span&gt;    logging.info(directory)
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;8&lt;/span&gt;    return &quot;success&quot;
&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;651&quot; style=&quot;letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;code-block sc-dfVpRl jWiXQH&quot; style=&quot;border-radius: 3px; clear: both; display: grid; grid-template-columns: minmax(0px, 1fr); margin: 0.75rem 0px 0px; max-width: 100%; overflow-wrap: normal; padding: 0px; position: relative; tab-size: 4;&quot;&gt;&lt;span class=&quot;sc-gxMtzJ knjeyr&quot; style=&quot;-webkit-box-pack: end; display: flex; grid-column: 1 / auto; justify-content: flex-end; position: sticky; top: 0px;&quot;&gt;&lt;div role=&quot;presentation&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;div style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;button aria-haspopup=&quot;true&quot; aria-label=&quot;Copy&quot; class=&quot;copy-to-clipboard css-xjqg96&quot; style=&quot;-webkit-box-align: baseline; -webkit-box-pack: center; align-items: baseline; background: none rgb(244, 245, 247); border-color: rgb(255, 255, 255); border-radius: 4px; border-style: solid; color: #42526e; cursor: pointer; display: flex; font-style: normal; font-weight: 500; height: 32px; justify-content: center; line-height: 1.71429em; max-width: 100%; opacity: 0; outline: none; padding: 2px; position: absolute; right: 6px; top: 4px; transition: opacity 0.2s ease 0s; vertical-align: middle; white-space: nowrap; width: 32px;&quot; tabindex=&quot;0&quot; type=&quot;button&quot;&gt;&lt;span class=&quot;css-1ujqpe8&quot; style=&quot;-webkit-box-flex: 0; align-self: center; display: flex; flex-grow: 0; flex-shrink: 0; line-height: 0; margin: 0px 2px; opacity: 1; transition: opacity 0.3s ease 0s; user-select: none;&quot;&gt;&lt;span aria-label=&quot;Copy&quot; class=&quot;css-pxzk9z&quot; role=&quot;img&quot; style=&quot;--icon-primary-color: currentColor; --icon-secondary-color: var(--ds-surface, #FFFFFF); display: inline-block; flex-shrink: 0; line-height: 1;&quot;&gt;&lt;svg height=&quot;24&quot; role=&quot;presentation&quot; viewbox=&quot;0 0 24 24&quot; width=&quot;24&quot;&gt;&lt;g fill=&quot;currentColor&quot;&gt;&lt;/g&gt;&lt;/svg&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;path d=&quot;M10 19h8V8h-8v11zM8 7.992C8 6.892 8.902 6 10.009 6h7.982C19.101 6 20 6.893 20 7.992v11.016c0 1.1-.902 1.992-2.009 1.992H10.01A2.001 2.001 0 018 19.008V7.992z&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M5 16V4.992C5 3.892 5.902 3 7.009 3H15v13H5zm2 0h8V5H7v11z&quot;&gt;&lt;/path&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;span class=&quot;prismjs css-1xfvm4v&quot; data-code-lang=&quot;&quot; data-ds--code--code-block=&quot;&quot; style=&quot;background-attachment: local, scroll, scroll; background-color: var(--ds--code--bg-color,#F4F5F7); background-image: linear-gradient(to left, rgb(244, 245, 247) 8px, transparent 8px), linear-gradient(to left, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px), linear-gradient(to right, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px); background-position: 100% 0px, 100% 0px, 0px 0px; border-radius: 3px; border-style: none; color: #172b4d; display: flex; grid-column: 1 / auto; line-height: 1.5rem; overflow-x: auto; white-space: pre;&quot;&gt;&lt;code style=&quot;-webkit-border-image: unset; -webkit-box-align: unset; -webkit-box-decoration-break: unset; -webkit-box-direction: unset; -webkit-box-flex: unset; -webkit-box-ordinal-group: unset; -webkit-box-orient: unset; -webkit-box-pack: unset; -webkit-box-reflect: unset; -webkit-font-smoothing: unset; -webkit-highlight: unset; -webkit-hyphenate-character: unset; -webkit-line-break: unset; -webkit-line-clamp: unset; -webkit-locale: unset; -webkit-mask-box-image: unset; -webkit-mask-composite: unset; -webkit-mask: unset; -webkit-perspective-origin-x: unset; -webkit-perspective-origin-y: unset; -webkit-print-color-adjust: unset; -webkit-rtl-ordering: unset; -webkit-ruby-position: unset; -webkit-tap-highlight-color: unset; -webkit-text-combine: unset; -webkit-text-decorations-in-effect: unset; -webkit-text-emphasis-position: unset; -webkit-text-emphasis: unset; -webkit-text-fill-color: unset; -webkit-text-orientation: unset; -webkit-text-security: unset; -webkit-text-stroke: unset; -webkit-transform-origin-x: unset; -webkit-transform-origin-y: unset; -webkit-transform-origin-z: unset; -webkit-user-drag: unset; -webkit-user-modify: unset; -webkit-writing-mode: unset; accent-color: unset; alignment-baseline: unset; animation: unset; app-region: unset; appearance: unset; aspect-ratio: unset; backdrop-filter: unset; backface-visibility: unset; background-attachment: unset; background-blend-mode: unset; background-clip: unset; background-color: unset; background-image: linear-gradient(to right,var(--ds--code--line-number-bg-color,#EBECF0),var(--ds--code--line-number-bg-color,#EBECF0) calc(1ch + 16px),transparent calc(1ch + 16px),transparent); background-origin: unset; background-position: unset; background-repeat: unset; background-size: unset; baseline-shift: unset; block-size: unset; border-block: unset; border-collapse: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-inline: unset; border-radius: unset; border-spacing: unset; border-start-end-radius: unset; border-start-start-radius: unset; border: unset; box-shadow: unset; box-sizing: unset; break-after: unset; break-before: unset; break-inside: unset; buffered-rendering: unset; caption-side: unset; caret-color: unset; clear: unset; clip-path: unset; clip-rule: unset; clip: unset; color-interpolation-filters: unset; color-interpolation: unset; color-rendering: unset; color-scheme: unset; color: unset; column-fill: unset; column-rule: unset; column-span: unset; columns: unset; contain-intrinsic-block-size: unset; contain-intrinsic-inline-size: unset; contain-intrinsic-size: unset; contain: unset; content-visibility: unset; content: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; cursor: unset; cx: unset; cy: unset; d: unset; display: unset; dominant-baseline: unset; empty-cells: unset; fill-opacity: unset; fill-rule: unset; fill: unset; filter: unset; flex-flow: unset; flex: 1 0 auto; float: unset; flood-color: unset; flood-opacity: unset; font-feature-settings: unset; font-kerning: unset; font-optical-sizing: unset; font-stretch: unset; font-style: unset; font-synthesis: unset; font-variant: unset; font-variation-settings: unset; font-weight: unset; forced-color-adjust: unset; gap: unset; grid-area: unset; grid: unset; height: unset; hyphens: unset; image-orientation: unset; image-rendering: unset; inline-size: unset; inset-block: unset; inset-inline: unset; inset: unset; isolation: unset; letter-spacing: unset; lighting-color: unset; line-break: unset; line-height: unset; list-style: unset; margin-block: unset; margin-inline: unset; margin: unset; marker: unset; mask-type: unset; mask: unset; max-block-size: unset; max-height: unset; max-inline-size: unset; max-width: unset; min-block-size: unset; min-height: unset; min-inline-size: unset; min-width: unset; mix-blend-mode: unset; object-fit: unset; object-position: unset; offset: unset; opacity: unset; order: unset; orphans: unset; outline-offset: unset; outline: unset; overflow-anchor: unset; overflow-clip-margin: unset; overflow-wrap: unset; overflow: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; overscroll-behavior: unset; padding-block: unset; padding-bottom: 8px; padding-inline: unset; padding-left: 0px; padding-right: 8px !important; padding-top: 8px; page-orientation: unset; page: unset; paint-order: unset; perspective-origin: unset; perspective: unset; place-content: unset; place-items: unset; place-self: unset; pointer-events: unset; position: unset; quotes: unset; r: unset; resize: unset; ruby-position: unset; rx: unset; ry: unset; scroll-behavior: unset; scroll-margin-block: unset; scroll-margin-inline: unset; scroll-margin: unset; scroll-padding-block: unset; scroll-padding-inline: unset; scroll-padding: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; scrollbar-gutter: unset; shape-image-threshold: unset; shape-margin: unset; shape-outside: unset; shape-rendering: unset; size: unset; speak: unset; stop-color: unset; stop-opacity: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-linecap: unset; stroke-linejoin: unset; stroke-miterlimit: unset; stroke-opacity: unset; stroke-width: unset; stroke: unset; tab-size: unset; table-layout: unset; text-align-last: unset; text-align: unset; text-anchor: unset; text-combine-upright: unset; text-decoration-skip-ink: unset; text-decoration: unset; text-indent: unset; text-orientation: unset; text-overflow: unset; text-rendering: unset; text-shadow: unset; text-size-adjust: unset; text-transform: unset; text-underline-offset: unset; text-underline-position: unset; touch-action: unset; transform-box: unset; transform-origin: unset; transform-style: unset; transform: unset; transition: unset; user-select: unset; vector-effect: unset; vertical-align: unset; visibility: unset; widows: unset; width: unset; will-change: unset; word-break: unset; word-spacing: unset; writing-mode: unset; x: unset; y: unset; z-index: unset; zoom: unset;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;&quot;&gt;import glob
&lt;/span&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;2&lt;/span&gt;
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;3&lt;/span&gt;# Print working dir
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;4&lt;/span&gt;def list_working_dir():
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;5&lt;/span&gt;    for filename in glob.iglob(&quot;./**/*&quot;, recursive=True):
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;6&lt;/span&gt;        logging.info(filename)
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;7&lt;/span&gt;        
&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;809&quot; style=&quot;letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;br /&gt;The second task takes ages to run, as its iterating through loads of folders.  In our case we intercepted the logs while it was running , as we could already see the information that we needed. &lt;br /&gt;&lt;br /&gt;In our case the filepath we needed was &lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;code-block sc-dfVpRl jWiXQH&quot; style=&quot;border-radius: 3px; clear: both; display: grid; grid-template-columns: minmax(0px, 1fr); margin: 0.75rem 0px 0px; max-width: 100%; overflow-wrap: normal; padding: 0px; position: relative; tab-size: 4;&quot;&gt;&lt;span class=&quot;sc-gxMtzJ knjeyr&quot; style=&quot;-webkit-box-pack: end; display: flex; grid-column: 1 / auto; justify-content: flex-end; position: sticky; top: 0px;&quot;&gt;&lt;div role=&quot;presentation&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;div style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;button aria-haspopup=&quot;true&quot; aria-label=&quot;Copy&quot; class=&quot;copy-to-clipboard css-xjqg96&quot; style=&quot;-webkit-box-align: baseline; -webkit-box-pack: center; align-items: baseline; background: none rgb(244, 245, 247); border-color: rgb(255, 255, 255); border-radius: 4px; border-style: solid; color: #42526e; cursor: pointer; display: flex; font-style: normal; font-weight: 500; height: 32px; justify-content: center; line-height: 1.71429em; max-width: 100%; opacity: 0; outline: none; padding: 2px; position: absolute; right: 6px; top: 4px; transition: opacity 0.2s ease 0s; vertical-align: middle; white-space: nowrap; width: 32px;&quot; tabindex=&quot;0&quot; type=&quot;button&quot;&gt;&lt;span class=&quot;css-1ujqpe8&quot; style=&quot;-webkit-box-flex: 0; align-self: center; display: flex; flex-grow: 0; flex-shrink: 0; line-height: 0; margin: 0px 2px; opacity: 1; transition: opacity 0.3s ease 0s; user-select: none;&quot;&gt;&lt;span aria-label=&quot;Copy&quot; class=&quot;css-pxzk9z&quot; role=&quot;img&quot; style=&quot;--icon-primary-color: currentColor; --icon-secondary-color: var(--ds-surface, #FFFFFF); display: inline-block; flex-shrink: 0; line-height: 1;&quot;&gt;&lt;svg height=&quot;24&quot; role=&quot;presentation&quot; viewbox=&quot;0 0 24 24&quot; width=&quot;24&quot;&gt;&lt;g fill=&quot;currentColor&quot;&gt;&lt;/g&gt;&lt;/svg&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;path d=&quot;M10 19h8V8h-8v11zM8 7.992C8 6.892 8.902 6 10.009 6h7.982C19.101 6 20 6.893 20 7.992v11.016c0 1.1-.902 1.992-2.009 1.992H10.01A2.001 2.001 0 018 19.008V7.992z&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M5 16V4.992C5 3.892 5.902 3 7.009 3H15v13H5zm2 0h8V5H7v11z&quot;&gt;&lt;/path&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;span class=&quot;prismjs css-1xfvm4v&quot; data-code-lang=&quot;&quot; data-ds--code--code-block=&quot;&quot; style=&quot;background-attachment: local, scroll, scroll; background-color: var(--ds--code--bg-color,#F4F5F7); background-image: linear-gradient(to left, rgb(244, 245, 247) 8px, transparent 8px), linear-gradient(to left, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px), linear-gradient(to right, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px); background-position: 100% 0px, 100% 0px, 0px 0px; border-radius: 3px; border-style: none; color: #172b4d; display: flex; grid-column: 1 / auto; line-height: 1.5rem; overflow-x: auto; white-space: pre;&quot;&gt;&lt;code style=&quot;-webkit-border-image: unset; -webkit-box-align: unset; -webkit-box-decoration-break: unset; -webkit-box-direction: unset; -webkit-box-flex: unset; -webkit-box-ordinal-group: unset; -webkit-box-orient: unset; -webkit-box-pack: unset; -webkit-box-reflect: unset; -webkit-font-smoothing: unset; -webkit-highlight: unset; -webkit-hyphenate-character: unset; -webkit-line-break: unset; -webkit-line-clamp: unset; -webkit-locale: unset; -webkit-mask-box-image: unset; -webkit-mask-composite: unset; -webkit-mask: unset; -webkit-perspective-origin-x: unset; -webkit-perspective-origin-y: unset; -webkit-print-color-adjust: unset; -webkit-rtl-ordering: unset; -webkit-ruby-position: unset; -webkit-tap-highlight-color: unset; -webkit-text-combine: unset; -webkit-text-decorations-in-effect: unset; -webkit-text-emphasis-position: unset; -webkit-text-emphasis: unset; -webkit-text-fill-color: unset; -webkit-text-orientation: unset; -webkit-text-security: unset; -webkit-text-stroke: unset; -webkit-transform-origin-x: unset; -webkit-transform-origin-y: unset; -webkit-transform-origin-z: unset; -webkit-user-drag: unset; -webkit-user-modify: unset; -webkit-writing-mode: unset; accent-color: unset; alignment-baseline: unset; animation: unset; app-region: unset; appearance: unset; aspect-ratio: unset; backdrop-filter: unset; backface-visibility: unset; background-attachment: unset; background-blend-mode: unset; background-clip: unset; background-color: unset; background-image: linear-gradient(to right,var(--ds--code--line-number-bg-color,#EBECF0),var(--ds--code--line-number-bg-color,#EBECF0) calc(1ch + 16px),transparent calc(1ch + 16px),transparent); background-origin: unset; background-position: unset; background-repeat: unset; background-size: unset; baseline-shift: unset; block-size: unset; border-block: unset; border-collapse: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-inline: unset; border-radius: unset; border-spacing: unset; border-start-end-radius: unset; border-start-start-radius: unset; border: unset; box-shadow: unset; box-sizing: unset; break-after: unset; break-before: unset; break-inside: unset; buffered-rendering: unset; caption-side: unset; caret-color: unset; clear: unset; clip-path: unset; clip-rule: unset; clip: unset; color-interpolation-filters: unset; color-interpolation: unset; color-rendering: unset; color-scheme: unset; color: unset; column-fill: unset; column-rule: unset; column-span: unset; columns: unset; contain-intrinsic-block-size: unset; contain-intrinsic-inline-size: unset; contain-intrinsic-size: unset; contain: unset; content-visibility: unset; content: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; cursor: unset; cx: unset; cy: unset; d: unset; display: unset; dominant-baseline: unset; empty-cells: unset; fill-opacity: unset; fill-rule: unset; fill: unset; filter: unset; flex-flow: unset; flex: 1 0 auto; float: unset; flood-color: unset; flood-opacity: unset; font-feature-settings: unset; font-kerning: unset; font-optical-sizing: unset; font-stretch: unset; font-style: unset; font-synthesis: unset; font-variant: unset; font-variation-settings: unset; font-weight: unset; forced-color-adjust: unset; gap: unset; grid-area: unset; grid: unset; height: unset; hyphens: unset; image-orientation: unset; image-rendering: unset; inline-size: unset; inset-block: unset; inset-inline: unset; inset: unset; isolation: unset; letter-spacing: unset; lighting-color: unset; line-break: unset; line-height: unset; list-style: unset; margin-block: unset; margin-inline: unset; margin: unset; marker: unset; mask-type: unset; mask: unset; max-block-size: unset; max-height: unset; max-inline-size: unset; max-width: unset; min-block-size: unset; min-height: unset; min-inline-size: unset; min-width: unset; mix-blend-mode: unset; object-fit: unset; object-position: unset; offset: unset; opacity: unset; order: unset; orphans: unset; outline-offset: unset; outline: unset; overflow-anchor: unset; overflow-clip-margin: unset; overflow-wrap: unset; overflow: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; overscroll-behavior: unset; padding-block: unset; padding-bottom: 8px; padding-inline: unset; padding-left: 0px; padding-right: 8px !important; padding-top: 8px; page-orientation: unset; page: unset; paint-order: unset; perspective-origin: unset; perspective: unset; place-content: unset; place-items: unset; place-self: unset; pointer-events: unset; position: unset; quotes: unset; r: unset; resize: unset; ruby-position: unset; rx: unset; ry: unset; scroll-behavior: unset; scroll-margin-block: unset; scroll-margin-inline: unset; scroll-margin: unset; scroll-padding-block: unset; scroll-padding-inline: unset; scroll-padding: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; scrollbar-gutter: unset; shape-image-threshold: unset; shape-margin: unset; shape-outside: unset; shape-rendering: unset; size: unset; speak: unset; stop-color: unset; stop-opacity: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-linecap: unset; stroke-linejoin: unset; stroke-miterlimit: unset; stroke-opacity: unset; stroke-width: unset; stroke: unset; tab-size: unset; table-layout: unset; text-align-last: unset; text-align: unset; text-anchor: unset; text-combine-upright: unset; text-decoration-skip-ink: unset; text-decoration: unset; text-indent: unset; text-orientation: unset; text-overflow: unset; text-rendering: unset; text-shadow: unset; text-size-adjust: unset; text-transform: unset; text-underline-offset: unset; text-underline-position: unset; touch-action: unset; transform-box: unset; transform-origin: unset; transform-style: unset; transform: unset; transition: unset; user-select: unset; vector-effect: unset; vertical-align: unset; visibility: unset; widows: unset; width: unset; will-change: unset; word-break: unset; word-spacing: unset; writing-mode: unset; x: unset; y: unset; z-index: unset; zoom: unset;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;&quot;&gt;./gcsfuse/dags/googleads.yaml&#39;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;ak-editor-panel sc-RefOD iPSNaD&quot; data-panel-type=&quot;note&quot; style=&quot;-webkit-box-align: baseline; align-items: baseline; background-color: #eae6ff; border-radius: 3px; clear: both; color: inherit; display: flex; margin: 0.75rem 0px 0px; min-width: 48px; padding: 8px; position: relative; word-break: break-word;&quot;&gt;&lt;div class=&quot;ak-editor-panel__icon&quot; style=&quot;box-sizing: content-box; color: #5243aa; flex-shrink: 0; height: 24px; margin: 0px; padding: 0px 8px 0px 0px; text-align: center; user-select: none; white-space: pre-wrap; width: 24px;&quot;&gt;&lt;span aria-label=&quot;Panel note&quot; class=&quot;css-pxzk9z&quot; role=&quot;img&quot; style=&quot;--icon-primary-color: currentColor; --icon-secondary-color: var(--ds-surface, #FFFFFF); display: inline-flex; flex-shrink: 0; line-height: 1; vertical-align: middle;&quot;&gt;&lt;svg fill=&quot;none&quot; height=&quot;24&quot; role=&quot;presentation&quot; viewbox=&quot;0 0 24 24&quot; width=&quot;24&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;&lt;/svg&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;path clip-rule=&quot;evenodd&quot; d=&quot;M7 2H17C17.663 2 18.2989 2.26339 18.7678 2.73223C19.2366 3.20107 19.5 3.83696 19.5 4.5V19.5C19.5 20.163 19.2366 20.7989 18.7678 21.2678C18.2989 21.7366 17.663 22 17 22H7C6.33696 22 5.70107 21.7366 5.23223 21.2678C4.76339 20.7989 4.5 20.163 4.5 19.5V4.5C4.5 3.83696 4.76339 3.20107 5.23223 2.73223C5.70107 2.26339 6.33696 2 7 2ZM8.875 7C8.70924 7 8.55027 7.06585 8.43306 7.18306C8.31585 7.30027 8.25 7.45924 8.25 7.625V8.875C8.25 9.04076 8.31585 9.19973 8.43306 9.31694C8.55027 9.43415 8.70924 9.5 8.875 9.5H15.125C15.2908 9.5 15.4497 9.43415 15.5669 9.31694C15.6842 9.19973 15.75 9.04076 15.75 8.875V7.625C15.75 7.45924 15.6842 7.30027 15.5669 7.18306C15.4497 7.06585 15.2908 7 15.125 7H8.875ZM8.875 12C8.70924 12 8.55027 12.0658 8.43306 12.1831C8.31585 12.3003 8.25 12.4592 8.25 12.625V13.875C8.25 14.0408 8.31585 14.1997 8.43306 14.3169C8.55027 14.4342 8.70924 14.5 8.875 14.5H12.625C12.7908 14.5 12.9497 14.4342 13.0669 14.3169C13.1842 14.1997 13.25 14.0408 13.25 13.875V12.625C13.25 12.4592 13.1842 12.3003 13.0669 12.1831C12.9497 12.0658 12.7908 12 12.625 12H8.875Z&quot; fill-rule=&quot;evenodd&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;ak-editor-panel__content&quot; style=&quot;color: #172b4d; flex: 1 0 0px; margin: 1px 0px; min-width: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;1427&quot; style=&quot;color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;
&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://littleripplesproject.blogspot.com/feeds/5567438153451649754/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8608610523928821757/5567438153451649754' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/5567438153451649754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/5567438153451649754'/><link rel='alternate' type='text/html' href='http://littleripplesproject.blogspot.com/2022/03/gcp-dags-given-file-homeairflowdags.html' title='GCP DAGS &quot; Given * file, /home/airflow/dags/* , could not be opened.'/><author><name>DJ Millward</name><uri>http://www.blogger.com/profile/00956188700712120760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5uFzd1oDU8E1oYBaMPDAXQqDF8voL7_YuinTX2a5FTfUVOLIhcJsm0I-K32ktkqqP5cpdEDbnRa81lsicGD0m2mUF8MzoNxHRAF-6A3SIXAwEC4ScJzDjgmq73ZC6OlU/s220/surfing2008.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8608610523928821757.post-2574668805314466855</id><published>2022-02-15T16:50:00.003+00:00</published><updated>2022-02-15T16:50:25.187+00:00</updated><title type='text'>Vue.js where can I get my firebaseConfig details from .  </title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&amp;nbsp;I have the following details that need filling in on my main.js page.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; line-height: 18px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;const&lt;/span&gt; &lt;span style=&quot;color: #4fc1ff;&quot;&gt;firebaseConfig&lt;/span&gt; = {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;apiKey&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;AAAAAAAAAAAAAAAAAAAAAAA&quot;&lt;/span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;authDomain&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;some-domain.firebaseapp.com&quot;&lt;/span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;projectId&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;some-project&quot;&lt;/span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;storageBucket&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;some-project&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;.appspot.com&quot;&lt;/span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;messagingSenderId&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;11111111111111&quot;&lt;/span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;appId&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;1:1&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;11111111111111&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;:web:&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;11111111111111&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;measurementId&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;G-88888888&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;};&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;Where do we get the firebaseConfig information from ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;First off let&#39;s get the API key.&amp;nbsp; &amp;nbsp;Go to your Firebase Project page&amp;nbsp;https://console.firebase.google.com/projec&lt;br /&gt;&lt;br /&gt;Next to Project overview &amp;gt; click on Project settings.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; class=&quot;placeholder&quot; height=&quot;240&quot; id=&quot;aafad276121e9&quot; src=&quot;https://www.blogger.com/img/transparent.gif&quot; style=&quot;background-color: #d8d8d8; background-image: url(&#39;https://fonts.gstatic.com/s/i/materialiconsextended/insert_photo/v6/grey600-24dp/1x/baseline_insert_photo_grey600_24dp.png&#39;); background-position: center; background-repeat: no-repeat; opacity: 0.6;&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;br /&gt;The next page will have your &#39;&lt;span style=&quot;background-color: white; color: rgba(0, 0, 0, 0.54);&quot;&gt;Web API Key&#39;&amp;nbsp; .&amp;nbsp; However if it says &#39;Not configured&#39; then all you need to do is go into your Authentication page first and then come back to this page.&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;You&#39;ll see it&#39;s filled in now :)&lt;br /&gt;&lt;br /&gt;However to see all your details on this page.&amp;nbsp; just type in &#39;&lt;span style=&quot;background-color: #eeeeee; white-space: pre;&quot;&gt;firebaseConfig&#39; and all the details are there in code lower on the page. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://littleripplesproject.blogspot.com/feeds/2574668805314466855/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8608610523928821757/2574668805314466855' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/2574668805314466855'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/2574668805314466855'/><link rel='alternate' type='text/html' href='http://littleripplesproject.blogspot.com/2022/02/vuejs-where-can-i-get-my-firebaseconfig.html' title='Vue.js where can I get my firebaseConfig details from .  '/><author><name>DJ Millward</name><uri>http://www.blogger.com/profile/00956188700712120760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5uFzd1oDU8E1oYBaMPDAXQqDF8voL7_YuinTX2a5FTfUVOLIhcJsm0I-K32ktkqqP5cpdEDbnRa81lsicGD0m2mUF8MzoNxHRAF-6A3SIXAwEC4ScJzDjgmq73ZC6OlU/s220/surfing2008.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8608610523928821757.post-5665988142092790489</id><published>2022-02-11T11:19:00.005+00:00</published><updated>2022-02-11T11:27:54.145+00:00</updated><title type='text'>Defining &#39;S3ToGCSOperator&#39; in GCP Airflow DAG. </title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&amp;nbsp;I have the following operator that I want to use in this DAG.&amp;nbsp;&amp;nbsp;&lt;span style=&quot;background-color: #1e1e1e; color: #d4d4d4; white-space: pre;&quot;&gt;3ToGCSOperator&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; line-height: 18px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;transfer_data_s3_to_gcs&lt;/span&gt; = S3ToGCSOperator(&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;task_id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;data_transfer_gcs_to_gcs&#39;&lt;/span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;However I need to define the import.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Which is&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; line-height: 18px; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #c586c0;&quot;&gt;from&lt;/span&gt; airflow.providers.google.cloud.operators.s3_to_gcs &lt;span style=&quot;color: #c586c0;&quot;&gt;import&lt;/span&gt; S3ToGCSOperator&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;What you need to do is&amp;nbsp;&lt;span style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;your Environment in GCP and navigate to the ‘PYPI PACKAGES’ TAB. 
&lt;/span&gt;&lt;br /&gt;And add the package&amp;nbsp;https://airflow.apache.org/docs/apache-airflow-providers-google/stable/index.html&lt;/span&gt;&lt;/p&gt;&lt;h2 style=&quot;background-color: white; box-sizing: border-box; color: #707070; font-weight: 500; line-height: 1.2; margin-bottom: 20px; margin-top: 40px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;apache-airflow-providers-google&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;However I then got this error.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p data-renderer-start-pos=&quot;8401&quot; style=&quot;background-color: #ffebe6; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;UPDATE operation on this environment failed 5 minutes ago with the following error message:&lt;/span&gt;&lt;/p&gt;&lt;p data-renderer-start-pos=&quot;8494&quot; style=&quot;background-color: #ffebe6; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;Failed to install PyPI packages. apache-airflow-providers-google 6.3.0 has requirement google-ads&amp;lt;14.0.1,&amp;gt;=12.0.0, but you have google-ads 7.0.0.&lt;/span&gt;&lt;/p&gt;&lt;p data-renderer-start-pos=&quot;8641&quot; style=&quot;background-color: #ffebe6; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&amp;nbsp;Check the Cloud Build log at &lt;a class=&quot;sc-dNLxif kFXRWW&quot; data-renderer-mark=&quot;true&quot; href=&quot;https://console.cloud.google.com/cloud-build/builds/1c49172d-1e9e-4716-8f7c-7cdaecc9ad84?project=412301587586&quot; style=&quot;text-decoration-line: none;&quot; title=&quot;https://console.cloud.google.com/cloud-build/builds/1c49172d-1e9e-4716-8f7c-7cdaecc9ad84?project=412301587586&quot;&gt;https://console.cloud.google.com/cloud-build/builds/%%?project=4%&lt;/a&gt;% for details. For detailed instructions see &lt;a class=&quot;sc-dNLxif kFXRWW&quot; data-renderer-mark=&quot;true&quot; href=&quot;https://cloud.google.com/composer/docs/troubleshooting-package-installatio&quot; style=&quot;text-decoration-line: none;&quot; title=&quot;https://cloud.google.com/composer/docs/troubleshooting-package-installatio&quot;&gt;https://cloud.google.com/composer/docs/troubleshooting-package-installatio&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;So what you need to do first in&amp;nbsp;&lt;span style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;‘PYPI PACKAGES’  is install &lt;/span&gt;oogle-ads. Version =&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;&amp;gt;=12.0.0,&amp;lt;14.0.1.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: #f2dede; color: #e43921; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; white-space: pre;&quot;&gt;ModuleNotFoundError: No module named &#39;airflow.providers.google.cloud.operators.s3_to_gcs&#39;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;And then you&#39;ll be able to do it.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://littleripplesproject.blogspot.com/feeds/5665988142092790489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8608610523928821757/5665988142092790489' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/5665988142092790489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/5665988142092790489'/><link rel='alternate' type='text/html' href='http://littleripplesproject.blogspot.com/2022/02/defining-s3togcsoperator-in-gcp-airflow.html' title='Defining &#39;S3ToGCSOperator&#39; in GCP Airflow DAG. '/><author><name>DJ Millward</name><uri>http://www.blogger.com/profile/00956188700712120760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5uFzd1oDU8E1oYBaMPDAXQqDF8voL7_YuinTX2a5FTfUVOLIhcJsm0I-K32ktkqqP5cpdEDbnRa81lsicGD0m2mUF8MzoNxHRAF-6A3SIXAwEC4ScJzDjgmq73ZC6OlU/s220/surfing2008.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8608610523928821757.post-8041001607070043748</id><published>2022-02-01T10:41:00.003+00:00</published><updated>2022-02-01T10:41:26.764+00:00</updated><title type='text'>Create a written date in Javascript &#39;moment&#39; library. </title><content type='html'>&lt;p&gt;The dates I&#39;m outputting at the moment look like this.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEitXbqc-68m8jQahrR4F39AAomRGf9-8H2SxJZcvpfFVemxagTUwpPYAMUysRLj0lx7Qs2-0eF0tn_-_grrXXgGo0UY1PCE0RWePMVbapmLmSpkA8zTL9XDtI82GgJu-Azh7IcEFInbIJ8LJUvt_uOQ0Jp21JkzYLxn-F4jTIqrEzFEx5bS5ZhvRzqy&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;212&quot; data-original-width=&quot;666&quot; height=&quot;102&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEitXbqc-68m8jQahrR4F39AAomRGf9-8H2SxJZcvpfFVemxagTUwpPYAMUysRLj0lx7Qs2-0eF0tn_-_grrXXgGo0UY1PCE0RWePMVbapmLmSpkA8zTL9XDtI82GgJu-Azh7IcEFInbIJ8LJUvt_uOQ0Jp21JkzYLxn-F4jTIqrEzFEx5bS5ZhvRzqy&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Which looks like this with &#39;moment&#39;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: Menlo, Monaco, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12px; line-height: 18px; white-space: pre;&quot;&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;const&lt;/span&gt; &lt;span style=&quot;color: #4fc1ff;&quot;&gt;written_date&lt;/span&gt; = &lt;span style=&quot;color: #dcdcaa;&quot;&gt;moment&lt;/span&gt;(&lt;span style=&quot;color: #4fc1ff;&quot;&gt;my_date&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;format&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;MMM d YYYY&#39;&lt;/span&gt;);&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;However, what I want is more of a fullText response.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Moment has these name types.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: Menlo, Monaco, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12px; line-height: 18px; white-space: pre;&quot;&gt;&lt;div&gt;  &lt;span style=&quot;color: #569cd6;&quot;&gt;type&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;RelativeTimeKey&lt;/span&gt; = &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;s&#39;&lt;/span&gt; | &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;ss&#39;&lt;/span&gt; | &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;m&#39;&lt;/span&gt; | &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;mm&#39;&lt;/span&gt; | &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;h&#39;&lt;/span&gt; | &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;hh&#39;&lt;/span&gt; | &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;d&#39;&lt;/span&gt; | &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;dd&#39;&lt;/span&gt; | &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;w&#39;&lt;/span&gt; | &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;ww&#39;&lt;/span&gt; | &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;M&#39;&lt;/span&gt; | &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;MM&#39;&lt;/span&gt; | &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;y&#39;&lt;/span&gt; | &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;yy&#39;&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #569cd6;&quot;&gt;type&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;CalendarKey&lt;/span&gt; = &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;sameDay&#39;&lt;/span&gt; | &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;nextDay&#39;&lt;/span&gt; | &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;lastDay&#39;&lt;/span&gt; | &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;nextWeek&#39;&lt;/span&gt; | &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;lastWeek&#39;&lt;/span&gt; | &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;sameElse&#39;&lt;/span&gt; | &lt;span style=&quot;color: #4ec9b0;&quot;&gt;string&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #569cd6;&quot;&gt;type&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;LongDateFormatKey&lt;/span&gt; = &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;LTS&#39;&lt;/span&gt; | &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;LT&#39;&lt;/span&gt; | &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;L&#39;&lt;/span&gt; | &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;LL&#39;&lt;/span&gt; | &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;LLL&#39;&lt;/span&gt; | &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;LLLL&#39;&lt;/span&gt; | &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;lts&#39;&lt;/span&gt; | &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;lt&#39;&lt;/span&gt; | &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;l&#39;&lt;/span&gt; | &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;ll&#39;&lt;/span&gt; | &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;lll&#39;&lt;/span&gt; | &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;llll&#39;&lt;/span&gt;;

&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;For what I wanted to achieve this works for me.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: Menlo, Monaco, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12px; line-height: 18px; white-space: pre;&quot;&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;const&lt;/span&gt; &lt;span style=&quot;color: #4fc1ff;&quot;&gt;written_date&lt;/span&gt; = &lt;span style=&quot;color: #dcdcaa;&quot;&gt;moment&lt;/span&gt;(&lt;span style=&quot;color: #4fc1ff;&quot;&gt;my_date&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;format&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;ddd LL&#39;&lt;/span&gt;);&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEha5JqCF8kDQPaAJwDzr9EYoFFZUI_D6MImpKpamEfzNGIjlXgVd_uYksyynb4LCO_8UbC7HDeob9DtIBZmNYEP6sB7B7ntXGd0ooYN6E7pfUcHjIHLBjhja_FF9Q9vPUl7RVZ6Jf9Qmmhika9rF1Fsy_8rpR7fEIzKKcARtSrKftS1weCtjY9JRkqm&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;151&quot; data-original-width=&quot;670&quot; height=&quot;72&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEha5JqCF8kDQPaAJwDzr9EYoFFZUI_D6MImpKpamEfzNGIjlXgVd_uYksyynb4LCO_8UbC7HDeob9DtIBZmNYEP6sB7B7ntXGd0ooYN6E7pfUcHjIHLBjhja_FF9Q9vPUl7RVZ6Jf9Qmmhika9rF1Fsy_8rpR7fEIzKKcARtSrKftS1weCtjY9JRkqm&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://littleripplesproject.blogspot.com/feeds/8041001607070043748/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8608610523928821757/8041001607070043748' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/8041001607070043748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/8041001607070043748'/><link rel='alternate' type='text/html' href='http://littleripplesproject.blogspot.com/2022/02/create-written-date-in-javascript.html' title='Create a written date in Javascript &#39;moment&#39; library. '/><author><name>DJ Millward</name><uri>http://www.blogger.com/profile/00956188700712120760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5uFzd1oDU8E1oYBaMPDAXQqDF8voL7_YuinTX2a5FTfUVOLIhcJsm0I-K32ktkqqP5cpdEDbnRa81lsicGD0m2mUF8MzoNxHRAF-6A3SIXAwEC4ScJzDjgmq73ZC6OlU/s220/surfing2008.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEitXbqc-68m8jQahrR4F39AAomRGf9-8H2SxJZcvpfFVemxagTUwpPYAMUysRLj0lx7Qs2-0eF0tn_-_grrXXgGo0UY1PCE0RWePMVbapmLmSpkA8zTL9XDtI82GgJu-Azh7IcEFInbIJ8LJUvt_uOQ0Jp21JkzYLxn-F4jTIqrEzFEx5bS5ZhvRzqy=s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8608610523928821757.post-5665270846028195058</id><published>2022-01-26T10:15:00.001+00:00</published><updated>2022-01-26T10:15:09.866+00:00</updated><title type='text'>Vue.js - How to use Set VUEX values in main.js</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&amp;nbsp;The answer to &#39;How to use Set VUEX values in main.js&#39; is that you don&#39;t !&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;Another niche note from myself for a Google search term that I made that this blog would have save me a bit of time chasing around the houses.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I highly recommend the YouTube video for solving this and other Vuex issues -&amp;nbsp;&lt;a href=&quot;https://www.youtube.com/watch?v=oxUyIzDbZts&amp;amp;t=629s&quot;&gt;https://www.youtube.com/watch?v=oxUyIzDbZts&amp;amp;t=629s&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The issue I had to solve was that I&#39;d written some code where I was using &#39;localStorage&#39; when the value should be stored in VUEX .&amp;nbsp; This was being done in the main.js page.&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;color: #d4d4d4; white-space: pre;&quot;&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #d4d4d4; white-space: pre;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;firebase&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;auth&lt;/span&gt;().&lt;span style=&quot;color: #dcdcaa;&quot;&gt;onAuthStateChanged&lt;/span&gt;(&lt;span style=&quot;color: #569cd6;&quot;&gt;async&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt; (&lt;span style=&quot;color: #9cdcfe;&quot;&gt;user&lt;/span&gt;) {&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #d4d4d4; white-space: pre;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;console&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;log&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Auth State Checked&#39;&lt;/span&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #d4d4d4; white-space: pre;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;  &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: #9cdcfe;&quot;&gt;user&lt;/span&gt;) {&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #d4d4d4; white-space: pre;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;user&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getIdTokenResult&lt;/span&gt;().&lt;span style=&quot;color: #dcdcaa;&quot;&gt;then&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;idTokenResult&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;=&amp;gt;&lt;/span&gt; {&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #d4d4d4; white-space: pre;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;      &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: #9cdcfe;&quot;&gt;idTokenResult&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;claims&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;admin&lt;/span&gt; === &lt;span style=&quot;color: #569cd6;&quot;&gt;true&lt;/span&gt;) {&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #d4d4d4; white-space: pre;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;localStorage&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;adminClaim&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;true&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #d4d4d4; white-space: pre;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;      }&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #d4d4d4; white-space: pre;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    });&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #d4d4d4; white-space: pre;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;  }&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #d4d4d4; white-space: pre;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;})&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;The main thing here is, we can&#39;t use Vuex from the main.js page and you can&#39;t &#39;commit&#39; to Vuex from here.&amp;nbsp; That will done in a VUEX &#39;action&#39;.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;In store/index.js&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; line-height: 18px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #c586c0;&quot;&gt;export&lt;/span&gt; &lt;span style=&quot;color: #c586c0;&quot;&gt;default&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;Vuex&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;Store&lt;/span&gt;({&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;state:&lt;/span&gt; {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;adminRole:&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;  },&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;mutations:&lt;/span&gt; {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #6a9955;&quot;&gt;//syncrous&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #dcdcaa;&quot;&gt;setAdminRole&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;state&lt;/span&gt;, &lt;span style=&quot;color: #9cdcfe;&quot;&gt;payload&lt;/span&gt;) {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;      &lt;span style=&quot;color: #9cdcfe;&quot;&gt;state&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;adminRole&lt;/span&gt; = &lt;span style=&quot;color: #9cdcfe;&quot;&gt;payload&lt;/span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    }&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;  },&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;actions:&lt;/span&gt; {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #6a9955;&quot;&gt;//asyncronous&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;async&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;setAdminRole&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;state&lt;/span&gt;) {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;      &lt;span style=&quot;color: #9cdcfe;&quot;&gt;firebase&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;auth&lt;/span&gt;().&lt;span style=&quot;color: #dcdcaa;&quot;&gt;onAuthStateChanged&lt;/span&gt;(&lt;span style=&quot;color: #569cd6;&quot;&gt;async&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt; (&lt;span style=&quot;color: #9cdcfe;&quot;&gt;user&lt;/span&gt;) {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;      &lt;span style=&quot;color: #9cdcfe;&quot;&gt;console&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;log&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Auth State Checked&#39;&lt;/span&gt;)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;      &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: #9cdcfe;&quot;&gt;user&lt;/span&gt;) {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;user&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getIdTokenResult&lt;/span&gt;().&lt;span style=&quot;color: #dcdcaa;&quot;&gt;then&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;idTokenResult&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;=&amp;gt;&lt;/span&gt; {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;          &lt;span style=&quot;color: #9cdcfe;&quot;&gt;console&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;log&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;IdTokenResult for user&#39;&lt;/span&gt;, &lt;span style=&quot;color: #9cdcfe;&quot;&gt;idTokenResult&lt;/span&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;          &lt;span style=&quot;color: #9cdcfe;&quot;&gt;console&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;log&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;idTokenResult.claims.admin&#39;&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;idTokenResult&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;claims&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;admin&lt;/span&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;          &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: #9cdcfe;&quot;&gt;idTokenResult&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;claims&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;admin&lt;/span&gt; === &lt;span style=&quot;color: #569cd6;&quot;&gt;true&lt;/span&gt;) {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;            &lt;span style=&quot;color: #9cdcfe;&quot;&gt;state&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;commit&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;setAdminRole&quot;&lt;/span&gt;, &lt;span style=&quot;color: #569cd6;&quot;&gt;true&lt;/span&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;          }&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;        });&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;      }&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    })&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;      &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    }&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;  },&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;modules:&lt;/span&gt; {},&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;getters:&lt;/span&gt; {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #dcdcaa;&quot;&gt;getAdminRole&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;state&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;state&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;adminRole&lt;/span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;  },&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;});&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;And then in App.vue we can Dispatch our &#39;action&#39; like this.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; line-height: 18px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #c586c0;&quot;&gt;export&lt;/span&gt; &lt;span style=&quot;color: #c586c0;&quot;&gt;default&lt;/span&gt; {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #dcdcaa;&quot;&gt;mounted&lt;/span&gt;(){&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;        &lt;span style=&quot;color: #569cd6;&quot;&gt;this&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$store&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;dispatch&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;setAdminRole&quot;&lt;/span&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    } &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;};&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;Next up is to call it in the page you want to access that data.&amp;nbsp; In our case the TopHeader page.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p class=&quot;p1&quot; style=&quot;font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;i&gt;Note in the video above at 8.40, he talks about timing issues.&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &lt;/span&gt;Which is why mounted doesn’t work and we need to use computed.&lt;/i&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; line-height: 18px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #c586c0;&quot;&gt;export&lt;/span&gt; &lt;span style=&quot;color: #c586c0;&quot;&gt;default&lt;/span&gt; {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;  &lt;span style=&quot;color: #dcdcaa;&quot;&gt;data&lt;/span&gt;() {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;  },&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;name:&lt;/span&gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;top-header&quot;&lt;/span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;  &lt;span style=&quot;color: #dcdcaa;&quot;&gt;mounted&lt;/span&gt;() {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;  },&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;computed:&lt;/span&gt; {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #dcdcaa;&quot;&gt;adminRole&lt;/span&gt;(){&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;      &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;this&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$store&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;getters&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;getAdminRole&lt;/span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    },&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;  }&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;};&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;This will load a data variable &#39;adminRole&#39; with our Boolean task.&amp;nbsp; So using&amp;nbsp;&lt;br /&gt;&lt;br /&gt;{{ adminRole }}&lt;br /&gt;&lt;br /&gt;in the template, would output either True or False.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://littleripplesproject.blogspot.com/feeds/5665270846028195058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8608610523928821757/5665270846028195058' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/5665270846028195058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/5665270846028195058'/><link rel='alternate' type='text/html' href='http://littleripplesproject.blogspot.com/2022/01/vuejs-how-to-use-set-vuex-values-in.html' title='Vue.js - How to use Set VUEX values in main.js'/><author><name>DJ Millward</name><uri>http://www.blogger.com/profile/00956188700712120760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5uFzd1oDU8E1oYBaMPDAXQqDF8voL7_YuinTX2a5FTfUVOLIhcJsm0I-K32ktkqqP5cpdEDbnRa81lsicGD0m2mUF8MzoNxHRAF-6A3SIXAwEC4ScJzDjgmq73ZC6OlU/s220/surfing2008.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8608610523928821757.post-3440039113404952482</id><published>2022-01-25T11:02:00.001+00:00</published><updated>2022-01-25T11:02:27.358+00:00</updated><title type='text'>Firebase Functions Claims setting one makes my other &#39;claims&#39; undefined ! </title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;In my&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; white-space: pre-wrap;&quot;&gt; app we have 2 roles that we need to add to the ‘claims’ .&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;ak-editor-panel sc-kkGfuU fnoVsJ&quot; data-panel-type=&quot;note&quot; style=&quot;-webkit-box-align: baseline; align-items: baseline; background-color: #eae6ff; border-radius: 3px; border: none; clear: both; color: #172b4d; display: flex; margin: 0.75rem 0px 0px; min-width: 48px; padding: 8px; position: relative; white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;div class=&quot;ak-editor-panel__icon&quot; style=&quot;box-sizing: content-box; color: #5243aa; flex-shrink: 0; height: 24px; margin: 0px; padding: 0px 8px 0px 0px; text-align: center; user-select: none; width: 24px;&quot;&gt;&lt;span aria-label=&quot;Panel note&quot; class=&quot;css-pxzk9z&quot; role=&quot;img&quot; style=&quot;--icon-primary-color: currentColor; --icon-secondary-color: var(--ds-background-default, #FFFFFF); display: inline; flex-shrink: 0; line-height: 1; vertical-align: middle;&quot;&gt;&lt;svg height=&quot;24&quot; role=&quot;presentation&quot; viewbox=&quot;0 0 24 24&quot; width=&quot;24&quot;&gt;&lt;/svg&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;path d=&quot;M8 4h8a2 2 0 012 2v12a2 2 0 01-2 2H8a2 2 0 01-2-2V6a2 2 0 012-2zm1.5 4a.5.5 0 00-.5.5v1a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-1a.5.5 0 00-.5-.5h-5zm0 4a.5.5 0 00-.5.5v1a.5.5 0 00.5.5h3a.5.5 0 00.5-.5v-1a.5.5 0 00-.5-.5h-3z&quot; fill-rule=&quot;evenodd&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;ak-editor-panel__content&quot; style=&quot;flex: 1 0 0px; margin: 1px 0px; min-width: 0px; padding: 0px;&quot;&gt;&lt;p data-renderer-start-pos=&quot;432&quot; style=&quot;letter-spacing: -0.005em; line-height: 1.714; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span data-card-url=&quot;https://cloud.google.com/identity-platform/docs/how-to-configure-custom-claims&quot; data-inline-card=&quot;true&quot;&gt;&lt;span class=&quot;loader-wrapper&quot;&gt;&lt;a class=&quot;sc-hmzhuo cyyJQv&quot; data-testid=&quot;inline-card-resolved-view&quot; href=&quot;https://cloud.google.com/identity-platform/docs/how-to-configure-custom-claims&quot; role=&quot;button&quot; style=&quot;-webkit-box-decoration-break: clone; background-color: white; border-radius: 3px; box-shadow: var(--ds-card,0 1px 1px rgba(9,30,66,0.25),0 0 1px 1px rgba(9,30,66,0.13)); color: #0052cc; cursor: pointer; display: inline; line-height: 16px; padding: 1px 0.24em 2px; text-decoration-line: none; transition: all 0.1s ease-in-out 0s; user-select: text;&quot; tabindex=&quot;0&quot;&gt;&lt;span class=&quot;sc-gisBJw guKjte&quot; style=&quot;hyphens: auto; overflow-wrap: break-word; word-break: break-word;&quot;&gt;&lt;span class=&quot;sc-kgAjT culOfD&quot; style=&quot;display: inline-block; margin-right: 4px; position: relative;&quot;&gt;&lt;span class=&quot;sc-cJSrbW kffueT&quot; style=&quot;display: inline-block; height: 0px; opacity: 0; width: 14px;&quot;&gt;&lt;/span&gt;&lt;img class=&quot;smart-link-icon sc-bSbAYC gBhkDG&quot; data-testid=&quot;inline-card-icon-and-title-image&quot; src=&quot;https://www.gstatic.com/devrel-devsite/prod/v2da93aa60669b71438f99bb5fb68249484fcf793f7af3b913066e15e86e01923/cloud/images/favicons/onecloud/super_cloud.png&quot; style=&quot;border-radius: 2px; border: 0px; height: 14px; left: 7px; margin: 0px 4px 0px 0px; padding: 0px; position: absolute; top: 8px; transform: translate(-50%, -50%); user-select: none; width: 14px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;sc-ksYbfQ jHwjmi&quot;&gt;Configuring custom claims on users &amp;nbsp;|&amp;nbsp; Identity Platform Documentation &amp;nbsp;|&amp;nbsp; Google Cloud&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;437&quot; style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;These are &lt;/span&gt;&lt;/p&gt;&lt;ol class=&quot;ak-ol&quot; data-indent-level=&quot;1&quot; style=&quot;background-color: white; box-sizing: border-box; color: #172b4d; display: flow-root; margin: 12px 0px 0px; padding: 0px 0px 0px 24px; white-space: pre-wrap;&quot;&gt;&lt;li&gt;&lt;p data-renderer-start-pos=&quot;451&quot; style=&quot;letter-spacing: -0.005em; line-height: 1.714; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;Admin&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;margin-top: 4px;&quot;&gt;&lt;p data-renderer-start-pos=&quot;460&quot; style=&quot;letter-spacing: -0.005em; line-height: 1.714; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;Coordinator&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;span style=&quot;color: #172b4d; font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;
Which in my Cloud Function I set the claim to either &#39;true&#39; or &#39;false&#39; . Which is &#39;Add&#39; and &#39;Remove&#39; respectively. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #172b4d; font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #172b4d; font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #172b4d;&quot;&gt;&lt;span style=&quot;letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;However I was noticing that when setting one it was making the other claim &#39;undefined&#39; .  Here&#39;s what one of my functions looked like.

&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;&quot; style=&quot;background-color: #f4f5f7; color: #172b4d; white-space: pre;&quot;&gt;exports.addAdminRole = functions.https.onCall((data, context) =&amp;gt; {&lt;/span&gt;&lt;span style=&quot;background-color: #f4f5f7; color: #172b4d; white-space: pre;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;background-color: #f4f5f7; box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none; white-space: pre;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;background-color: #f4f5f7; color: #172b4d; white-space: pre;&quot;&gt;    return admin.auth().getUserByEmail(data.email).then(user =&amp;gt; {
&lt;/span&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;background-color: #f4f5f7; box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none; white-space: pre;&quot;&gt;4&lt;/span&gt;&lt;span style=&quot;background-color: #f4f5f7; color: #172b4d; white-space: pre;&quot;&gt;        return admin.auth().setCustomUserClaims(user.uid,  {
&lt;/span&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;background-color: #f4f5f7; box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none; white-space: pre;&quot;&gt;5&lt;/span&gt;&lt;span style=&quot;background-color: #f4f5f7; color: #172b4d; white-space: pre;&quot;&gt;            admin: true,&lt;/span&gt;&lt;span style=&quot;background-color: #f4f5f7; color: #172b4d; white-space: pre;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;background-color: #f4f5f7; box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none; white-space: pre;&quot;&gt;7&lt;/span&gt;&lt;span style=&quot;background-color: #f4f5f7; color: #172b4d; white-space: pre;&quot;&gt;        });
&lt;/span&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;background-color: #f4f5f7; box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none; white-space: pre;&quot;&gt;8&lt;/span&gt;&lt;span style=&quot;background-color: #f4f5f7; color: #172b4d; white-space: pre;&quot;&gt;    }).then(() =&amp;gt; {&lt;/span&gt;&lt;span style=&quot;background-color: #f4f5f7; color: #172b4d; white-space: pre;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;background-color: #f4f5f7; box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none; white-space: pre;&quot;&gt;10&lt;/span&gt;&lt;span style=&quot;background-color: #f4f5f7; color: #172b4d; white-space: pre;&quot;&gt;        return {
&lt;/span&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;background-color: #f4f5f7; box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none; white-space: pre;&quot;&gt;11&lt;/span&gt;&lt;span style=&quot;background-color: #f4f5f7; color: #172b4d; white-space: pre;&quot;&gt;            message: `Success! ${data.email} has been made an admin`
&lt;/span&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;background-color: #f4f5f7; box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none; white-space: pre;&quot;&gt;12&lt;/span&gt;&lt;span style=&quot;background-color: #f4f5f7; color: #172b4d; white-space: pre;&quot;&gt;        }
&lt;/span&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;background-color: #f4f5f7; box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none; white-space: pre;&quot;&gt;13&lt;/span&gt;&lt;span style=&quot;background-color: #f4f5f7; color: #172b4d; white-space: pre;&quot;&gt;    }).catch(err =&amp;gt; {
&lt;/span&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;background-color: #f4f5f7; box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none; white-space: pre;&quot;&gt;14&lt;/span&gt;&lt;span style=&quot;background-color: #f4f5f7; color: #172b4d; white-space: pre;&quot;&gt;        return err;
&lt;/span&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;background-color: #f4f5f7; box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none; white-space: pre;&quot;&gt;15&lt;/span&gt;&lt;span style=&quot;background-color: #f4f5f7; color: #172b4d; white-space: pre;&quot;&gt;    })
&lt;/span&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;background-color: #f4f5f7; box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none; white-space: pre;&quot;&gt;16&lt;/span&gt;&lt;span style=&quot;background-color: #f4f5f7; color: #172b4d; white-space: pre;&quot;&gt;})&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #f4f5f7; color: #172b4d; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #172b4d; font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: white; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;To fix this issue I had to pass though instructions on what the other Roles claim should be. 


&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #172b4d; font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: white; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;I&#39;m using Vue.js by the way.   So, the other role is set in the &#39;data&#39;.  Which I can pick up and pass it through like this 

&lt;/span&gt;&lt;/span&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; line-height: 18px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;removeAdminRole&lt;/span&gt;({&lt;span style=&quot;color: #9cdcfe;&quot;&gt;email:&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;this&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;email&lt;/span&gt;, &lt;span style=&quot;color: #9cdcfe;&quot;&gt;coordinator_role:&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;this&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;coordinator_role&lt;/span&gt;}).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;then&lt;/span&gt;(() &lt;span style=&quot;color: #569cd6;&quot;&gt;=&amp;gt;&lt;/span&gt; {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;          &lt;span style=&quot;color: #569cd6;&quot;&gt;this&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;successMessage&lt;/span&gt; = &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;The admin role has been removed !&quot;&lt;/span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;        })&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;color: #172b4d; font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: white; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #172b4d; font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: white; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt; And then Cloud function will look like this. 

&lt;/span&gt;&lt;/span&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; line-height: 18px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;exports&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;addAdminRole&lt;/span&gt; = &lt;span style=&quot;color: #9cdcfe;&quot;&gt;functions&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;https&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;onCall&lt;/span&gt;((&lt;span style=&quot;color: #9cdcfe;&quot;&gt;data&lt;/span&gt;, &lt;span style=&quot;color: #9cdcfe;&quot;&gt;context&lt;/span&gt;) &lt;span style=&quot;color: #569cd6;&quot;&gt;=&amp;gt;&lt;/span&gt; {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;admin&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;auth&lt;/span&gt;().&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getUserByEmail&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;data&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;email&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;then&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;user&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;=&amp;gt;&lt;/span&gt; {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;        &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;admin&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;auth&lt;/span&gt;().&lt;span style=&quot;color: #dcdcaa;&quot;&gt;setCustomUserClaims&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;user&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;uid&lt;/span&gt;,  {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;            &lt;span style=&quot;color: #9cdcfe;&quot;&gt;admin&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;true&lt;/span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;            &lt;span style=&quot;color: #9cdcfe;&quot;&gt;coordinator&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;data&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;coordinator_role&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;        });&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    }).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;then&lt;/span&gt;(() &lt;span style=&quot;color: #569cd6;&quot;&gt;=&amp;gt;&lt;/span&gt; {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;        &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;            &lt;span style=&quot;color: #9cdcfe;&quot;&gt;message&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;`Success! &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;${&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;data&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;email&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt; has been made an admin`&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;        }&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    }).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;catch&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;err&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;=&amp;gt;&lt;/span&gt; {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;        &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;err&lt;/span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;    })&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;})&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;color: #172b4d; font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: white; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;
&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #172b4d; font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: white; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #172b4d; font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: white; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;This now works as it should for me. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #172b4d; font-family: -apple-system, system-ui, Segoe UI, Roboto, Noto Sans, Ubuntu, Droid Sans, Helvetica Neue, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://littleripplesproject.blogspot.com/feeds/3440039113404952482/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8608610523928821757/3440039113404952482' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/3440039113404952482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/3440039113404952482'/><link rel='alternate' type='text/html' href='http://littleripplesproject.blogspot.com/2022/01/firebase-functions-claims-setting-one.html' title='Firebase Functions Claims setting one makes my other &#39;claims&#39; undefined ! '/><author><name>DJ Millward</name><uri>http://www.blogger.com/profile/00956188700712120760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5uFzd1oDU8E1oYBaMPDAXQqDF8voL7_YuinTX2a5FTfUVOLIhcJsm0I-K32ktkqqP5cpdEDbnRa81lsicGD0m2mUF8MzoNxHRAF-6A3SIXAwEC4ScJzDjgmq73ZC6OlU/s220/surfing2008.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8608610523928821757.post-1814908048463376210</id><published>2022-01-18T13:44:00.007+00:00</published><updated>2022-01-18T13:47:28.688+00:00</updated><title type='text'>Firebase Functions - Callable Function returning  &#39;CORS&#39; error.</title><content type='html'>&lt;p&gt;&lt;span style=&quot;color: red;&quot;&gt;firebase function has been blocked by CORS policy&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I experienced this issue while following a tutorial by The Net Ninja -&amp;nbsp;&lt;a href=&quot;https://www.youtube.com/watch?v=gYF32BrHVlA&amp;amp;list=PL4cUxeGkcC9i_aLkr62adUTJi53y7OjOf&amp;amp;index=4&quot;&gt;Firebase Functions&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p data-renderer-start-pos=&quot;1273&quot; style=&quot;background-color: white; color: #172b4d; font-family: -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Noto Sans&amp;quot;, Ubuntu, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;function/index.js&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;code-block sc-kZmsYB aRQbl&quot; style=&quot;background-color: white; border-radius: 3px; clear: both; color: #172b4d; display: grid; font-family: -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Noto Sans&amp;quot;, Ubuntu, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; grid-template-columns: minmax(0px, 1fr); margin: 0.75rem 0px 0px; max-width: 100%; overflow-wrap: normal; padding: 0px; position: relative; tab-size: 4; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;sc-gmeYpB eEjNyy&quot; style=&quot;-webkit-box-pack: end; display: flex; grid-column: 1 / auto; justify-content: flex-end; position: sticky; top: 0px;&quot;&gt;&lt;div role=&quot;presentation&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;div style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;button aria-haspopup=&quot;true&quot; aria-label=&quot;Copy&quot; class=&quot;copy-to-clipboard css-1sc71r9&quot; style=&quot;-webkit-box-align: baseline; -webkit-box-pack: center; align-items: baseline; background: none rgb(244, 245, 247); border-color: rgb(255, 255, 255); border-radius: 4px; border-style: solid; color: #42526e; cursor: pointer; display: flex; font-family: inherit; font-size: inherit; font-style: normal; font-weight: 500; height: 32px; justify-content: center; line-height: 1.71429em; max-width: 100%; opacity: 0; outline: none; padding: 2px; position: absolute; right: 6px; top: 4px; transition: opacity 0.2s ease 0s; vertical-align: middle; white-space: nowrap; width: 32px;&quot; tabindex=&quot;0&quot; type=&quot;button&quot;&gt;&lt;span class=&quot;css-1ujqpe8&quot; style=&quot;-webkit-box-flex: 0; align-self: center; display: flex; flex-grow: 0; flex-shrink: 0; font-size: 0px; line-height: 0; margin: 0px 2px; opacity: 1; transition: opacity 0.3s ease 0s; user-select: none;&quot;&gt;&lt;span aria-label=&quot;Copy&quot; class=&quot;css-pxzk9z&quot; role=&quot;img&quot; style=&quot;--icon-primary-color: currentColor; --icon-secondary-color: var(--ds-background-default, #FFFFFF); display: inline-block; flex-shrink: 0; line-height: 1;&quot;&gt;&lt;svg height=&quot;24&quot; role=&quot;presentation&quot; viewbox=&quot;0 0 24 24&quot; width=&quot;24&quot;&gt;&lt;g fill=&quot;currentColor&quot;&gt;&lt;path d=&quot;M10 19h8V8h-8v11zM8 7.992C8 6.892 8.902 6 10.009 6h7.982C19.101 6 20 6.893 20 7.992v11.016c0 1.1-.902 1.992-2.009 1.992H10.01A2.001 2.001 0 018 19.008V7.992z&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M5 16V4.992C5 3.892 5.902 3 7.009 3H15v13H5zm2 0h8V5H7v11z&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;span class=&quot;prismjs css-1xfvm4v&quot; data-code-lang=&quot;&quot; data-ds--code--code-block=&quot;&quot; face=&quot;SFMono-Medium, &amp;quot;SF Mono&amp;quot;, &amp;quot;Segoe UI Mono&amp;quot;, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, Menlo, Consolas, Courier, monospace&quot; style=&quot;background-attachment: local, scroll, scroll; background-color: var(--ds--code--bg-color,#F4F5F7); background-image: linear-gradient(to left, rgb(244, 245, 247) 8px, transparent 8px), linear-gradient(to left, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px), linear-gradient(to right, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px); background-position: 100% 0px, 100% 0px, 0px 0px; border-radius: 3px; border-style: none; display: flex; font-size: 0.875rem; grid-column: 1 / auto; line-height: 1.5rem; overflow-x: auto; white-space: pre;&quot;&gt;&lt;code style=&quot;-webkit-border-image: unset; -webkit-box-align: unset; -webkit-box-decoration-break: unset; -webkit-box-direction: unset; -webkit-box-flex: unset; -webkit-box-ordinal-group: unset; -webkit-box-orient: unset; -webkit-box-pack: unset; -webkit-box-reflect: unset; -webkit-font-smoothing: unset; -webkit-highlight: unset; -webkit-hyphenate-character: unset; -webkit-line-break: unset; -webkit-line-clamp: unset; -webkit-locale: unset; -webkit-mask-box-image: unset; -webkit-mask-composite: unset; -webkit-mask: unset; -webkit-perspective-origin-x: unset; -webkit-perspective-origin-y: unset; -webkit-print-color-adjust: unset; -webkit-rtl-ordering: unset; -webkit-ruby-position: unset; -webkit-tap-highlight-color: unset; -webkit-text-combine: unset; -webkit-text-decorations-in-effect: unset; -webkit-text-emphasis-position: unset; -webkit-text-emphasis: unset; -webkit-text-fill-color: unset; -webkit-text-orientation: unset; -webkit-text-security: unset; -webkit-text-stroke: unset; -webkit-transform-origin-x: unset; -webkit-transform-origin-y: unset; -webkit-transform-origin-z: unset; -webkit-user-drag: unset; -webkit-user-modify: unset; -webkit-writing-mode: unset; accent-color: unset; alignment-baseline: unset; animation: unset; app-region: unset; appearance: unset; aspect-ratio: unset; backdrop-filter: unset; backface-visibility: unset; background-attachment: unset; background-blend-mode: unset; background-clip: unset; background-color: unset; background-image: linear-gradient(to right,var(--ds--code--line-number-bg-color,#EBECF0),var(--ds--code--line-number-bg-color,#EBECF0) calc(1ch + 16px),transparent calc(1ch + 16px),transparent); background-origin: unset; background-position: unset; background-repeat: unset; background-size: unset; baseline-shift: unset; block-size: unset; border-block: unset; border-collapse: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-inline: unset; border-radius: unset; border-spacing: unset; border-start-end-radius: unset; border-start-start-radius: unset; border: unset; box-shadow: unset; box-sizing: unset; break-after: unset; break-before: unset; break-inside: unset; buffered-rendering: unset; caption-side: unset; caret-color: unset; clear: unset; clip-path: unset; clip-rule: unset; clip: unset; color-interpolation-filters: unset; color-interpolation: unset; color-rendering: unset; color-scheme: unset; color: unset; column-fill: unset; column-rule: unset; column-span: unset; columns: unset; contain-intrinsic-block-size: unset; contain-intrinsic-inline-size: unset; contain-intrinsic-size: unset; contain: unset; content-visibility: unset; content: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; cursor: unset; cx: unset; cy: unset; d: unset; display: unset; dominant-baseline: unset; empty-cells: unset; fill-opacity: unset; fill-rule: unset; fill: unset; filter: unset; flex-flow: unset; flex: 1 0 auto; float: unset; flood-color: unset; flood-opacity: unset; font-feature-settings: unset; font-kerning: unset; font-optical-sizing: unset; font-synthesis: unset; font-variation-settings: unset; font: unset; forced-color-adjust: unset; gap: unset; grid-area: unset; grid: unset; height: unset; hyphens: unset; image-orientation: unset; image-rendering: unset; inline-size: unset; inset-block: unset; inset-inline: unset; inset: unset; isolation: unset; letter-spacing: unset; lighting-color: unset; line-break: unset; list-style: unset; margin-block: unset; margin-inline: unset; margin: unset; marker: unset; mask-type: unset; mask: unset; max-block-size: unset; max-height: unset; max-inline-size: unset; max-width: unset; min-block-size: unset; min-height: unset; min-inline-size: unset; min-width: unset; mix-blend-mode: unset; object-fit: unset; object-position: unset; offset: unset; opacity: unset; order: unset; orphans: unset; outline-offset: unset; outline: unset; overflow-anchor: unset; overflow-clip-margin: unset; overflow-wrap: unset; overflow: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; overscroll-behavior: unset; padding-block: unset; padding-bottom: 8px; padding-inline: unset; padding-left: 0px; padding-right: 8px !important; padding-top: 8px; padding: 8px 8px 8px 0px; page-orientation: unset; page: unset; paint-order: unset; perspective-origin: unset; perspective: unset; place-content: unset; place-items: unset; place-self: unset; pointer-events: unset; position: unset; quotes: unset; r: unset; resize: unset; ruby-position: unset; rx: unset; ry: unset; scroll-behavior: unset; scroll-margin-block: unset; scroll-margin-inline: unset; scroll-margin: unset; scroll-padding-block: unset; scroll-padding-inline: unset; scroll-padding: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; scrollbar-gutter: unset; shape-image-threshold: unset; shape-margin: unset; shape-outside: unset; shape-rendering: unset; size: unset; speak: unset; stop-color: unset; stop-opacity: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-linecap: unset; stroke-linejoin: unset; stroke-miterlimit: unset; stroke-opacity: unset; stroke-width: unset; stroke: unset; tab-size: unset; table-layout: unset; text-align-last: unset; text-align: unset; text-anchor: unset; text-combine-upright: unset; text-decoration-skip-ink: unset; text-decoration: unset; text-indent: unset; text-orientation: unset; text-overflow: unset; text-rendering: unset; text-shadow: unset; text-size-adjust: unset; text-transform: unset; text-underline-offset: unset; text-underline-position: unset; touch-action: unset; transform-box: unset; transform-origin: unset; transform-style: unset; transform: unset; transition: unset; user-select: unset; vector-effect: unset; vertical-align: unset; visibility: unset; widows: unset; width: unset; will-change: unset; word-break: unset; word-spacing: unset; writing-mode: unset; x: unset; y: unset; z-index: unset; zoom: unset;&quot;&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;1&lt;/span&gt;&lt;span&gt;exports.sayHello = functions.https.onCall((data, context) =&amp;gt; {
&lt;/span&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;2&lt;/span&gt;    return `Yo dudes and dudettes`;
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;3&lt;/span&gt;})
&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;1397&quot; style=&quot;background-color: white; color: #172b4d; font-family: -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Noto Sans&amp;quot;, Ubuntu, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;DEPLOY this to Google . &lt;br /&gt;&lt;br /&gt;And then in our button action ( fired by javascript ) &lt;/p&gt;&lt;div class=&quot;code-block sc-kZmsYB aRQbl&quot; style=&quot;background-color: white; border-radius: 3px; clear: both; color: #172b4d; display: grid; font-family: -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Noto Sans&amp;quot;, Ubuntu, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; grid-template-columns: minmax(0px, 1fr); margin: 0.75rem 0px 0px; max-width: 100%; overflow-wrap: normal; padding: 0px; position: relative; tab-size: 4; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;sc-gmeYpB eEjNyy&quot; style=&quot;-webkit-box-pack: end; display: flex; grid-column: 1 / auto; justify-content: flex-end; position: sticky; top: 0px;&quot;&gt;&lt;div role=&quot;presentation&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;div style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;button aria-haspopup=&quot;true&quot; aria-label=&quot;Copy&quot; class=&quot;copy-to-clipboard css-1sc71r9&quot; style=&quot;-webkit-box-align: baseline; -webkit-box-pack: center; align-items: baseline; background: none rgb(244, 245, 247); border-color: rgb(255, 255, 255); border-radius: 4px; border-style: solid; color: #42526e; cursor: pointer; display: flex; font-family: inherit; font-size: inherit; font-style: normal; font-weight: 500; height: 32px; justify-content: center; line-height: 1.71429em; max-width: 100%; opacity: 0; outline: none; padding: 2px; position: absolute; right: 6px; top: 4px; transition: opacity 0.2s ease 0s; vertical-align: middle; white-space: nowrap; width: 32px;&quot; tabindex=&quot;0&quot; type=&quot;button&quot;&gt;&lt;span class=&quot;css-1ujqpe8&quot; style=&quot;-webkit-box-flex: 0; align-self: center; display: flex; flex-grow: 0; flex-shrink: 0; font-size: 0px; line-height: 0; margin: 0px 2px; opacity: 1; transition: opacity 0.3s ease 0s; user-select: none;&quot;&gt;&lt;span aria-label=&quot;Copy&quot; class=&quot;css-pxzk9z&quot; role=&quot;img&quot; style=&quot;--icon-primary-color: currentColor; --icon-secondary-color: var(--ds-background-default, #FFFFFF); display: inline-block; flex-shrink: 0; line-height: 1;&quot;&gt;&lt;svg height=&quot;24&quot; role=&quot;presentation&quot; viewbox=&quot;0 0 24 24&quot; width=&quot;24&quot;&gt;&lt;g fill=&quot;currentColor&quot;&gt;&lt;path d=&quot;M10 19h8V8h-8v11zM8 7.992C8 6.892 8.902 6 10.009 6h7.982C19.101 6 20 6.893 20 7.992v11.016c0 1.1-.902 1.992-2.009 1.992H10.01A2.001 2.001 0 018 19.008V7.992z&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M5 16V4.992C5 3.892 5.902 3 7.009 3H15v13H5zm2 0h8V5H7v11z&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;span class=&quot;prismjs css-1xfvm4v&quot; data-code-lang=&quot;&quot; data-ds--code--code-block=&quot;&quot; face=&quot;SFMono-Medium, &amp;quot;SF Mono&amp;quot;, &amp;quot;Segoe UI Mono&amp;quot;, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, Menlo, Consolas, Courier, monospace&quot; style=&quot;background-attachment: local, scroll, scroll; background-color: var(--ds--code--bg-color,#F4F5F7); background-image: linear-gradient(to left, rgb(244, 245, 247) 8px, transparent 8px), linear-gradient(to left, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px), linear-gradient(to right, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px); background-position: 100% 0px, 100% 0px, 0px 0px; border-radius: 3px; border-style: none; display: flex; font-size: 0.875rem; grid-column: 1 / auto; line-height: 1.5rem; overflow-x: auto; white-space: pre;&quot;&gt;&lt;code style=&quot;-webkit-border-image: unset; -webkit-box-align: unset; -webkit-box-decoration-break: unset; -webkit-box-direction: unset; -webkit-box-flex: unset; -webkit-box-ordinal-group: unset; -webkit-box-orient: unset; -webkit-box-pack: unset; -webkit-box-reflect: unset; -webkit-font-smoothing: unset; -webkit-highlight: unset; -webkit-hyphenate-character: unset; -webkit-line-break: unset; -webkit-line-clamp: unset; -webkit-locale: unset; -webkit-mask-box-image: unset; -webkit-mask-composite: unset; -webkit-mask: unset; -webkit-perspective-origin-x: unset; -webkit-perspective-origin-y: unset; -webkit-print-color-adjust: unset; -webkit-rtl-ordering: unset; -webkit-ruby-position: unset; -webkit-tap-highlight-color: unset; -webkit-text-combine: unset; -webkit-text-decorations-in-effect: unset; -webkit-text-emphasis-position: unset; -webkit-text-emphasis: unset; -webkit-text-fill-color: unset; -webkit-text-orientation: unset; -webkit-text-security: unset; -webkit-text-stroke: unset; -webkit-transform-origin-x: unset; -webkit-transform-origin-y: unset; -webkit-transform-origin-z: unset; -webkit-user-drag: unset; -webkit-user-modify: unset; -webkit-writing-mode: unset; accent-color: unset; alignment-baseline: unset; animation: unset; app-region: unset; appearance: unset; aspect-ratio: unset; backdrop-filter: unset; backface-visibility: unset; background-attachment: unset; background-blend-mode: unset; background-clip: unset; background-color: unset; background-image: linear-gradient(to right,var(--ds--code--line-number-bg-color,#EBECF0),var(--ds--code--line-number-bg-color,#EBECF0) calc(1ch + 16px),transparent calc(1ch + 16px),transparent); background-origin: unset; background-position: unset; background-repeat: unset; background-size: unset; baseline-shift: unset; block-size: unset; border-block: unset; border-collapse: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-inline: unset; border-radius: unset; border-spacing: unset; border-start-end-radius: unset; border-start-start-radius: unset; border: unset; box-shadow: unset; box-sizing: unset; break-after: unset; break-before: unset; break-inside: unset; buffered-rendering: unset; caption-side: unset; caret-color: unset; clear: unset; clip-path: unset; clip-rule: unset; clip: unset; color-interpolation-filters: unset; color-interpolation: unset; color-rendering: unset; color-scheme: unset; color: unset; column-fill: unset; column-rule: unset; column-span: unset; columns: unset; contain-intrinsic-block-size: unset; contain-intrinsic-inline-size: unset; contain-intrinsic-size: unset; contain: unset; content-visibility: unset; content: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; cursor: unset; cx: unset; cy: unset; d: unset; display: unset; dominant-baseline: unset; empty-cells: unset; fill-opacity: unset; fill-rule: unset; fill: unset; filter: unset; flex-flow: unset; flex: 1 0 auto; float: unset; flood-color: unset; flood-opacity: unset; font-feature-settings: unset; font-kerning: unset; font-optical-sizing: unset; font-synthesis: unset; font-variation-settings: unset; font: unset; forced-color-adjust: unset; gap: unset; grid-area: unset; grid: unset; height: unset; hyphens: unset; image-orientation: unset; image-rendering: unset; inline-size: unset; inset-block: unset; inset-inline: unset; inset: unset; isolation: unset; letter-spacing: unset; lighting-color: unset; line-break: unset; list-style: unset; margin-block: unset; margin-inline: unset; margin: unset; marker: unset; mask-type: unset; mask: unset; max-block-size: unset; max-height: unset; max-inline-size: unset; max-width: unset; min-block-size: unset; min-height: unset; min-inline-size: unset; min-width: unset; mix-blend-mode: unset; object-fit: unset; object-position: unset; offset: unset; opacity: unset; order: unset; orphans: unset; outline-offset: unset; outline: unset; overflow-anchor: unset; overflow-clip-margin: unset; overflow-wrap: unset; overflow: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; overscroll-behavior: unset; padding-block: unset; padding-bottom: 8px; padding-inline: unset; padding-left: 0px; padding-right: 8px !important; padding-top: 8px; padding: 8px 8px 8px 0px; page-orientation: unset; page: unset; paint-order: unset; perspective-origin: unset; perspective: unset; place-content: unset; place-items: unset; place-self: unset; pointer-events: unset; position: unset; quotes: unset; r: unset; resize: unset; ruby-position: unset; rx: unset; ry: unset; scroll-behavior: unset; scroll-margin-block: unset; scroll-margin-inline: unset; scroll-margin: unset; scroll-padding-block: unset; scroll-padding-inline: unset; scroll-padding: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; scrollbar-gutter: unset; shape-image-threshold: unset; shape-margin: unset; shape-outside: unset; shape-rendering: unset; size: unset; speak: unset; stop-color: unset; stop-opacity: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-linecap: unset; stroke-linejoin: unset; stroke-miterlimit: unset; stroke-opacity: unset; stroke-width: unset; stroke: unset; tab-size: unset; table-layout: unset; text-align-last: unset; text-align: unset; text-anchor: unset; text-combine-upright: unset; text-decoration-skip-ink: unset; text-decoration: unset; text-indent: unset; text-orientation: unset; text-overflow: unset; text-rendering: unset; text-shadow: unset; text-size-adjust: unset; text-transform: unset; text-underline-offset: unset; text-underline-position: unset; touch-action: unset; transform-box: unset; transform-origin: unset; transform-style: unset; transform: unset; transition: unset; user-select: unset; vector-effect: unset; vertical-align: unset; visibility: unset; widows: unset; width: unset; will-change: unset; word-break: unset; word-spacing: unset; writing-mode: unset; x: unset; y: unset; z-index: unset; zoom: unset;&quot;&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;1&lt;/span&gt;&lt;span&gt;const sayHello = firebase.functions().httpsCallable(&#39;sayHello&#39;);
&lt;/span&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;2&lt;/span&gt;                sayHello().then(result =&amp;gt; {
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;3&lt;/span&gt;                    console.log(result.data);
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;4&lt;/span&gt;                });
&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;1656&quot; style=&quot;background-color: white; color: #172b4d; font-family: -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Noto Sans&amp;quot;, Ubuntu, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p data-renderer-start-pos=&quot;1658&quot; style=&quot;background-color: white; color: #172b4d; font-family: -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Noto Sans&amp;quot;, Ubuntu, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;I’d then get a CORS issue &lt;span data-renderer-mark=&quot;true&quot; style=&quot;color: #ff5630;&quot;&gt;firebase function has been blocked by CORS policy&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The following call to assign the region worked for me in the Google Function itself. 

&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: Menlo, Monaco, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12px; line-height: 18px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;exports&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;sayHello&lt;/span&gt; = &lt;span style=&quot;color: #9cdcfe;&quot;&gt;functions&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;region&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;us-central1&#39;&lt;/span&gt;).&lt;span style=&quot;color: #9cdcfe;&quot;&gt;https&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;onCall&lt;/span&gt;((&lt;span style=&quot;color: #9cdcfe;&quot;&gt;data&lt;/span&gt;, &lt;span style=&quot;color: #9cdcfe;&quot;&gt;context&lt;/span&gt;) &lt;span style=&quot;color: #569cd6;&quot;&gt;=&amp;gt;&lt;/span&gt; {&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;`Yo dudes and dudettes`&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;})&lt;/div&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;1658&quot; style=&quot;background-color: white; color: #172b4d; font-family: -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Noto Sans&amp;quot;, Ubuntu, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;prismjs css-1xfvm4v&quot; data-code-lang=&quot;&quot; data-ds--code--code-block=&quot;&quot; face=&quot;SFMono-Medium, &amp;quot;SF Mono&amp;quot;, &amp;quot;Segoe UI Mono&amp;quot;, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, Menlo, Consolas, Courier, monospace&quot; style=&quot;background-attachment: local, scroll, scroll; background-color: var(--ds--code--bg-color,#F4F5F7); background-image: linear-gradient(to left, rgb(244, 245, 247) 8px, transparent 8px), linear-gradient(to left, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px), linear-gradient(to right, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px); background-position: 100% 0px, 100% 0px, 0px 0px; border-radius: 3px; border-style: none; display: flex; font-size: 0.875rem; grid-column: 1 / auto; line-height: 1.5rem; overflow-x: auto; white-space: pre;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span class=&quot;prismjs css-1xfvm4v&quot; data-code-lang=&quot;&quot; data-ds--code--code-block=&quot;&quot; face=&quot;SFMono-Medium, &amp;quot;SF Mono&amp;quot;, &amp;quot;Segoe UI Mono&amp;quot;, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, Menlo, Consolas, Courier, monospace&quot; style=&quot;background-attachment: local, scroll, scroll; background-color: var(--ds--code--bg-color,#F4F5F7); background-image: linear-gradient(to left, rgb(244, 245, 247) 8px, transparent 8px), linear-gradient(to left, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px), linear-gradient(to right, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px); background-position: 100% 0px, 100% 0px, 0px 0px; border-radius: 3px; border-style: none; display: flex; font-size: 0.875rem; grid-column: 1 / auto; line-height: 1.5rem; overflow-x: auto; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://littleripplesproject.blogspot.com/feeds/1814908048463376210/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8608610523928821757/1814908048463376210' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/1814908048463376210'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/1814908048463376210'/><link rel='alternate' type='text/html' href='http://littleripplesproject.blogspot.com/2022/01/firebase-functions-callable-function.html' title='Firebase Functions - Callable Function returning  &#39;CORS&#39; error.'/><author><name>DJ Millward</name><uri>http://www.blogger.com/profile/00956188700712120760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5uFzd1oDU8E1oYBaMPDAXQqDF8voL7_YuinTX2a5FTfUVOLIhcJsm0I-K32ktkqqP5cpdEDbnRa81lsicGD0m2mUF8MzoNxHRAF-6A3SIXAwEC4ScJzDjgmq73ZC6OlU/s220/surfing2008.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8608610523928821757.post-7384910264918322449</id><published>2022-01-06T11:54:00.003+00:00</published><updated>2022-01-06T11:54:28.376+00:00</updated><title type='text'>Google Data Studio ( GDS ) - Removing &#39;No data&#39; from Scorecard Display</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;On my Scorecards where I have single values being pulled in, it is showing the text &#39;No data&#39; underneath the value.&amp;nbsp; Like this.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeVd3-ADchV5mVKkppHo3HY951n9no4mYgX2NeuzzSDeVAf1BDejhx_uKAdkUGDdPb9FjvCRPPcm3EcjwexIsnwIh4s9nDU77lnd2L0i_-8tLVeq7wZXxrr2iNb3rA7qo8JVwT_82_OXM//&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;87&quot; data-original-width=&quot;145&quot; height=&quot;164&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeVd3-ADchV5mVKkppHo3HY951n9no4mYgX2NeuzzSDeVAf1BDejhx_uKAdkUGDdPb9FjvCRPPcm3EcjwexIsnwIh4s9nDU77lnd2L0i_-8tLVeq7wZXxrr2iNb3rA7qo8JVwT_82_OXM/w274-h164/no-value-text.png&quot; width=&quot;274&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;br /&gt;To remove that it&#39;s pretty simple.&amp;nbsp; Click on &#39;Style&#39; on the &#39;Scorecard&#39; editor.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;You then have a dropdown for &#39;Missing Data&#39;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Here select &#39;Show * ( blank ) &#39;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;That&#39;s it :)&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG9sF-LmGD2aehDzEzCJKiQen-3rxeauYT-YNloHlY1jKjlz1q0auZZXHHTI8_HJl_jRhXM5MuIdzFdLRy8FRia8KXxpzKuoqlQaaRndWx9yhi4-Irg333Frmkqn1Qc-JPl7UIRWJqgXQ//&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;442&quot; data-original-width=&quot;243&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG9sF-LmGD2aehDzEzCJKiQen-3rxeauYT-YNloHlY1jKjlz1q0auZZXHHTI8_HJl_jRhXM5MuIdzFdLRy8FRia8KXxpzKuoqlQaaRndWx9yhi4-Irg333Frmkqn1Qc-JPl7UIRWJqgXQ//&quot; width=&quot;132&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://littleripplesproject.blogspot.com/feeds/7384910264918322449/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8608610523928821757/7384910264918322449' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/7384910264918322449'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/7384910264918322449'/><link rel='alternate' type='text/html' href='http://littleripplesproject.blogspot.com/2022/01/google-data-studio-gds-removing-no-data.html' title='Google Data Studio ( GDS ) - Removing &#39;No data&#39; from Scorecard Display'/><author><name>DJ Millward</name><uri>http://www.blogger.com/profile/00956188700712120760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5uFzd1oDU8E1oYBaMPDAXQqDF8voL7_YuinTX2a5FTfUVOLIhcJsm0I-K32ktkqqP5cpdEDbnRa81lsicGD0m2mUF8MzoNxHRAF-6A3SIXAwEC4ScJzDjgmq73ZC6OlU/s220/surfing2008.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeVd3-ADchV5mVKkppHo3HY951n9no4mYgX2NeuzzSDeVAf1BDejhx_uKAdkUGDdPb9FjvCRPPcm3EcjwexIsnwIh4s9nDU77lnd2L0i_-8tLVeq7wZXxrr2iNb3rA7qo8JVwT_82_OXM/s72-w274-h164-c/no-value-text.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8608610523928821757.post-80534303267652289</id><published>2021-11-10T09:58:00.001+00:00</published><updated>2021-11-10T09:58:12.031+00:00</updated><title type='text'>Python Panda Find and Replace a value</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;For the issue I was trying to solve, I knew which Column this value would appear in.&amp;nbsp; It is also the entire contents of the cell that I need to replace.&amp;nbsp; &lt;br /&gt;&lt;br /&gt;After searching for &#39;python panda find and replace a value&#39; I found this post&amp;nbsp;&amp;nbsp;&lt;a href=&quot;https://www.geeksforgeeks.org/python-pandas-dataframe-replace/&quot;&gt;https://www.geeksforgeeks.org/python-pandas-dataframe-replace/&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;This suggests&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background: 0px 0px rgb(39, 40, 34) !important; border-radius: 0px !important; border: 0px !important; box-shadow: none !important; box-sizing: content-box !important; color: white; direction: ltr !important; float: none !important; height: auto !important; inset: auto !important; letter-spacing: 0.162px; line-height: 1.2em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: auto hidden !important; padding: 0px 1em 0px 0px !important; position: static !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;code class=&quot;plain&quot; style=&quot;background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(248, 248, 242) !important; direction: ltr !important; display: inline !important; float: none !important; height: auto !important; inset: auto !important; line-height: 1.2em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: auto hidden !important; padding: 0px !important; position: static !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;df.replace(to_replace &lt;/code&gt;&lt;code class=&quot;keyword&quot; style=&quot;background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(249, 38, 114) !important; direction: ltr !important; display: inline !important; float: none !important; font-weight: 700 !important; height: auto !important; inset: auto !important; line-height: 1.2em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: auto hidden !important; padding: 0px !important; position: static !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;=&lt;/code&gt;&lt;code class=&quot;string&quot; style=&quot;background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(230, 219, 116) !important; direction: ltr !important; display: inline !important; float: none !important; height: auto !important; inset: auto !important; line-height: 1.2em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: auto hidden !important; padding: 0px !important; position: static !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;Text I don&#39;t want&quot;&lt;/code&gt;&lt;code class=&quot;plain&quot; style=&quot;background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(248, 248, 242) !important; direction: ltr !important; display: inline !important; float: none !important; height: auto !important; inset: auto !important; line-height: 1.2em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: auto hidden !important; padding: 0px !important; position: static !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;,&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;background: 0px 0px rgb(39, 40, 34) !important; border-radius: 0px !important; border: 0px !important; box-shadow: none !important; box-sizing: content-box !important; color: white; direction: ltr !important; float: none !important; height: auto !important; inset: auto !important; letter-spacing: 0.162px; line-height: 1.2em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: auto hidden !important; padding: 0px 1em 0px 0px !important; position: static !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;code class=&quot;undefined spaces&quot; style=&quot;background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; height: auto !important; inset: auto !important; line-height: 1.2em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: auto hidden !important; padding: 0px !important; position: static !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;plain&quot; style=&quot;background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(248, 248, 242) !important; direction: ltr !important; display: inline !important; float: none !important; height: auto !important; inset: auto !important; line-height: 1.2em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: auto hidden !important; padding: 0px !important; position: static !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;value &lt;/code&gt;&lt;code class=&quot;keyword&quot; style=&quot;background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(249, 38, 114) !important; direction: ltr !important; display: inline !important; float: none !important; font-weight: 700 !important; height: auto !important; inset: auto !important; line-height: 1.2em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: auto hidden !important; padding: 0px !important; position: static !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;=&lt;/code&gt;&lt;code class=&quot;string&quot; style=&quot;background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(230, 219, 116) !important; direction: ltr !important; display: inline !important; float: none !important; height: auto !important; inset: auto !important; line-height: 1.2em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: auto hidden !important; padding: 0px !important; position: static !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;Text I do want&quot;&lt;/code&gt;&lt;code class=&quot;plain&quot; style=&quot;background: 0px 0px !important; border-radius: 0px !important; border: 0px !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(248, 248, 242) !important; direction: ltr !important; display: inline !important; float: none !important; height: auto !important; inset: auto !important; line-height: 1.2em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: auto hidden !important; padding: 0px !important; position: static !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;)&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;However this didn&#39;t work for me.&amp;nbsp; What did work was to name the column specifically and to use &#39;str.replace&#39;, as mentioned here&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;a href=&quot;https://stackoverflow.com/questions/53141072/replacing-column-data-with-pandas-replace-not-working&quot;&gt;https://stackoverflow.com/questions/53141072/replacing-column-data-with-pandas-replace-not-working&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background: 0px 0px rgb(39, 40, 34) !important; border-radius: 0px !important; border: 0px !important; box-shadow: none !important; box-sizing: content-box !important; color: white; direction: ltr !important; float: none !important; height: auto !important; inset: auto !important; letter-spacing: 0.162px; line-height: 1.2em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: auto hidden !important; padding: 0px 1em 0px 0px !important; position: static !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;uk&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;my_col&#39;&lt;/span&gt;] = &lt;span style=&quot;color: #9cdcfe;&quot;&gt;uk&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;my_col&#39;&lt;/span&gt;].&lt;span style=&quot;color: #9cdcfe;&quot;&gt;str&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;replace&lt;/span&gt;(&lt;span style=&quot;background-color: #272822; color: #e6db74; letter-spacing: 0.162px;&quot;&gt;&quot;Text I don&#39;t want&quot;&lt;/span&gt;, &lt;span style=&quot;background-color: #272822; color: #e6db74; letter-spacing: 0.162px;&quot;&gt;&quot;Text I do want&quot;&lt;/span&gt;)&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://littleripplesproject.blogspot.com/feeds/80534303267652289/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8608610523928821757/80534303267652289' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/80534303267652289'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/80534303267652289'/><link rel='alternate' type='text/html' href='http://littleripplesproject.blogspot.com/2021/11/python-panda-find-and-replace-value.html' title='Python Panda Find and Replace a value'/><author><name>DJ Millward</name><uri>http://www.blogger.com/profile/00956188700712120760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5uFzd1oDU8E1oYBaMPDAXQqDF8voL7_YuinTX2a5FTfUVOLIhcJsm0I-K32ktkqqP5cpdEDbnRa81lsicGD0m2mUF8MzoNxHRAF-6A3SIXAwEC4ScJzDjgmq73ZC6OlU/s220/surfing2008.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8608610523928821757.post-7508855872311192877</id><published>2021-11-03T10:31:00.001+00:00</published><updated>2021-11-03T10:31:06.273+00:00</updated><title type='text'>Importing .Csv data into a table in Sequel Pro. </title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;First you need to CREATE your table.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Now click on the Table name on the left hand site of the Sequel Pro console.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Next, select File &amp;gt; Import from the top Menu bar.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibeTExEPBUKCK89vShEAmuCMdAbY_tu0gqM9eSyGbNoEMUaoJqixb-jkzNKkW5bw5qT18YhmHAmyrDqm0hJaC9d7_juSGKmdzazmsHslNe1mfhVLhEH2fKdg2MOMqIXFn-wQf0jHqwTZk//&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;387&quot; data-original-width=&quot;250&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibeTExEPBUKCK89vShEAmuCMdAbY_tu0gqM9eSyGbNoEMUaoJqixb-jkzNKkW5bw5qT18YhmHAmyrDqm0hJaC9d7_juSGKmdzazmsHslNe1mfhVLhEH2fKdg2MOMqIXFn-wQf0jHqwTZk//&quot; width=&quot;155&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;From here on you&#39;ll have a wizard that&#39;ll talk you through the column matching.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;And that&#39;s it.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://littleripplesproject.blogspot.com/feeds/7508855872311192877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8608610523928821757/7508855872311192877' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/7508855872311192877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/7508855872311192877'/><link rel='alternate' type='text/html' href='http://littleripplesproject.blogspot.com/2021/11/importing-csv-data-into-table-in-sequel.html' title='Importing .Csv data into a table in Sequel Pro. '/><author><name>DJ Millward</name><uri>http://www.blogger.com/profile/00956188700712120760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5uFzd1oDU8E1oYBaMPDAXQqDF8voL7_YuinTX2a5FTfUVOLIhcJsm0I-K32ktkqqP5cpdEDbnRa81lsicGD0m2mUF8MzoNxHRAF-6A3SIXAwEC4ScJzDjgmq73ZC6OlU/s220/surfing2008.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibeTExEPBUKCK89vShEAmuCMdAbY_tu0gqM9eSyGbNoEMUaoJqixb-jkzNKkW5bw5qT18YhmHAmyrDqm0hJaC9d7_juSGKmdzazmsHslNe1mfhVLhEH2fKdg2MOMqIXFn-wQf0jHqwTZk/s72-c/" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8608610523928821757.post-5975341712216984358</id><published>2021-10-21T13:47:00.000+01:00</published><updated>2021-10-21T13:47:13.368+01:00</updated><title type='text'>DigitalOcean - FATAL: remaining connection slots are reserved for non-replication superuser connections.</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&amp;nbsp;We were getting this error on an App running on Digital Ocean.&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;This is what you&#39;ll find if you Google the issue&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://www.digitalocean.com/community/questions/fatal-remaining-connection-slots-are-reserved-for-non-replication-superuser-connections&quot;&gt;https://www.digitalocean.com/community/questions/fatal-remaining-connection-slots-are-reserved-for-non-replication-superuser-connections&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p data-renderer-start-pos=&quot;482&quot; style=&quot;background-color: #deebff; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;You’ll need to Edit the PostgreSQL configuration file and increase the value for&amp;nbsp;max&lt;em data-renderer-mark=&quot;true&quot;&gt;connections&lt;/em&gt;. The value for&amp;nbsp;sharedbuffers&amp;nbsp;may also need to be increased.&lt;/span&gt;&lt;/p&gt;&lt;p data-renderer-start-pos=&quot;643&quot; style=&quot;background-color: #deebff; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;You may see here how more connections have been created:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;T&lt;span style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; white-space: pre-wrap;&quot;&gt;his setting would be changed at → &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;ol class=&quot;ak-ol&quot; data-indent-level=&quot;1&quot; style=&quot;background-color: white; box-sizing: border-box; color: #172b4d; display: flow-root; margin: 10px 0px 0px; padding: 0px 0px 0px 24px; white-space: pre-wrap;&quot;&gt;&lt;li&gt;&lt;p data-renderer-start-pos=&quot;769&quot; style=&quot;letter-spacing: -0.005em; line-height: 1.714; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;Login to &lt;span data-card-url=&quot;https://cloud.digitalocean.com/&quot; data-inline-card=&quot;true&quot;&gt;&lt;span class=&quot;loader-wrapper&quot;&gt;&lt;a class=&quot;sc-frDJqD hUfBOa&quot; data-testid=&quot;inline-card-resolved-view&quot; href=&quot;https://cloud.digitalocean.com/&quot; role=&quot;button&quot; style=&quot;-webkit-box-decoration-break: clone; border-radius: 3px; box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px; color: #0052cc; cursor: pointer; display: inline; line-height: 16px; padding: 1px 0.24em 2px; text-decoration-line: none; transition: all 0.1s ease-in-out 0s; user-select: text;&quot; tabindex=&quot;0&quot;&gt;&lt;span class=&quot;sc-kjoXOD cUzZZX&quot; style=&quot;hyphens: auto; overflow-wrap: break-word; word-break: break-word;&quot;&gt;&lt;span class=&quot;sc-cJSrbW hfoTSu&quot; style=&quot;display: inline-block; margin-right: 4px; position: relative;&quot;&gt;&lt;span class=&quot;sc-ksYbfQ fGqvty&quot; style=&quot;display: inline-block; height: 0px; opacity: 0; width: 14px;&quot;&gt;&lt;/span&gt;&lt;img class=&quot;smart-link-icon sc-cHSUfg kmvlnD&quot; data-testid=&quot;inline-card-icon-and-title-image&quot; src=&quot;https://cloud.digitalocean.com/apple-touch-icon.png&quot; style=&quot;border-radius: 2px; border: 0px; height: 14px; left: 7px; margin: 0px 4px 0px 0px; padding: 0px; position: absolute; top: 8px; transform: translate(-50%, -50%); user-select: none; width: 14px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;sc-hmzhuo eRtqMp&quot;&gt;DigitalOcean – The developer cloud&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;margin-top: 4px;&quot;&gt;&lt;p data-renderer-start-pos=&quot;784&quot; style=&quot;letter-spacing: -0.005em; line-height: 1.714; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;Click on ‘Databases’&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;margin-top: 4px;&quot;&gt;&lt;p data-renderer-start-pos=&quot;808&quot; style=&quot;letter-spacing: -0.005em; line-height: 1.714; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;Click on your DB&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;margin-top: 4px;&quot;&gt;&lt;p data-renderer-start-pos=&quot;847&quot; style=&quot;letter-spacing: -0.005em; line-height: 1.714; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;Click on the ‘Connection Pools’ tab &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;This led us to page showing that we have 22 connections that we could use.&amp;nbsp; So why are we using all our connection slots on digital ocean.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;AND OUR SITUATION IT WAS THE CODE AT FAULT.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;In the code there were 13 connections to the DB being opened but they were not being closed.&amp;nbsp;&lt;br /&gt;What I needed to do is add the &lt;b&gt;db.dispose()&lt;/b&gt; after the connections been used.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;p-rich_text_section&quot; style=&quot;background-color: #f8f8f8; box-sizing: inherit; color: #1d1c1d; counter-reset: list-0 0 list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; font-variant-ligatures: common-ligatures;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;c-mrkdwn__br&quot; data-stringify-type=&quot;paragraph-break&quot; style=&quot;box-sizing: inherit; display: block; height: 8px;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;c-mrkdwn__pre&quot; data-stringify-type=&quot;pre&quot; style=&quot;--saf-0: rgba(var(--sk_foreground_low,29,28,29),0.13); border-radius: 4px; border: 1px solid var(--saf-0); box-sizing: inherit; color: #1d1c1d; counter-reset: list-0 0 list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; font-variant-ligatures: none; line-height: 1.50001; margin-bottom: 4px; margin-top: 4px; overflow-wrap: break-word; padding: 8px; tab-size: 4; white-space: pre-wrap; word-break: normal;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;db_engine = create_engine(&#39;[CONNECTION_DETAILS]&#39;, pool_pre_ping=True)
...
db_engine.dispose()&lt;/span&gt;&lt;/pre&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://littleripplesproject.blogspot.com/feeds/5975341712216984358/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8608610523928821757/5975341712216984358' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/5975341712216984358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/5975341712216984358'/><link rel='alternate' type='text/html' href='http://littleripplesproject.blogspot.com/2021/10/digitalocean-fatal-remaining-connection.html' title='DigitalOcean - FATAL: remaining connection slots are reserved for non-replication superuser connections.'/><author><name>DJ Millward</name><uri>http://www.blogger.com/profile/00956188700712120760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5uFzd1oDU8E1oYBaMPDAXQqDF8voL7_YuinTX2a5FTfUVOLIhcJsm0I-K32ktkqqP5cpdEDbnRa81lsicGD0m2mUF8MzoNxHRAF-6A3SIXAwEC4ScJzDjgmq73ZC6OlU/s220/surfing2008.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8608610523928821757.post-5457764230952499938</id><published>2021-10-15T10:15:00.000+01:00</published><updated>2021-10-15T10:15:00.012+01:00</updated><title type='text'>Macbook Pro M1 Chip and Docker issues and a Unresolved host.docker.internal issue.</title><content type='html'>&lt;p&gt;&lt;span style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;Much of my frustration and wasted time at the moment can be attributed to setting up Docker.  It’s probably worth noting that probably not all of it can be attributed to the Docker and M1 chip.  But some of it certainly is. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p data-renderer-start-pos=&quot;1&quot; style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;Like with many of my issues I tend to blame myself and my own knowledge, but sometimes it’s not all my fault !! and if you have a M1 chip Mac it’d probably be worth looking into the potential pit falls first be commencing or purchasing one.  As well as docker there has also been problems with Homebrew and Visual Studio Code.  Of which VSC seems to be resolved now. &lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;ak-editor-panel sc-iAyFgw iafxUc&quot; data-panel-type=&quot;info&quot; style=&quot;-webkit-box-align: baseline; align-items: baseline; background-color: #deebff; border-radius: 3px; border: none; clear: both; color: #172b4d; display: flex; margin: 0.75rem 0px 0px; min-width: 48px; padding: 8px; white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;span class=&quot;ak-editor-panel__icon&quot; style=&quot;box-sizing: content-box; color: #0052cc; display: block; flex-shrink: 0; height: 24px; padding-right: 8px; width: 24px;&quot;&gt;&lt;span aria-label=&quot;Panel info&quot; class=&quot;css-pxzk9z&quot; role=&quot;img&quot; style=&quot;--icon-primary-color: currentColor; --icon-secondary-color: var(--background-default, #FFFFFF); display: inline; flex-shrink: 0; line-height: 1; vertical-align: middle;&quot;&gt;&lt;svg height=&quot;24&quot; role=&quot;presentation&quot; viewbox=&quot;0 0 24 24&quot; width=&quot;24&quot;&gt;&lt;/svg&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;path d=&quot;M12 20a8 8 0 110-16 8 8 0 010 16zm0-8.5a1 1 0 00-1 1V15a1 1 0 002 0v-2.5a1 1 0 00-1-1zm0-1.125a1.375 1.375 0 100-2.75 1.375 1.375 0 000 2.75z&quot; fill-rule=&quot;evenodd&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;ak-editor-panel__content&quot; style=&quot;flex: 1 0 0px; margin: 1px 0px; min-width: 0px; padding: 0px;&quot;&gt;&lt;p data-renderer-start-pos=&quot;557&quot; style=&quot;letter-spacing: -0.005em; line-height: 1.714; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span data-card-url=&quot;https://www.techrepublic.com/article/apple-throws-a-wrench-into-the-wheel-of-the-run-anywhere-aspect-of-containers/&quot; data-inline-card=&quot;true&quot;&gt;&lt;span class=&quot;loader-wrapper&quot;&gt;&lt;a class=&quot;sc-frDJqD hUfBOa&quot; data-testid=&quot;inline-card-resolved-view&quot; href=&quot;https://www.techrepublic.com/article/apple-throws-a-wrench-into-the-wheel-of-the-run-anywhere-aspect-of-containers/&quot; role=&quot;button&quot; style=&quot;-webkit-box-decoration-break: clone; background-color: white; border-radius: 3px; box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px; color: #0052cc; cursor: pointer; display: inline; line-height: 16px; padding: 1px 0.24em 2px; text-decoration-line: none; transition: all 0.1s ease-in-out 0s; user-select: text;&quot; tabindex=&quot;0&quot;&gt;&lt;span class=&quot;sc-kjoXOD cUzZZX&quot; style=&quot;hyphens: auto; overflow-wrap: break-word; word-break: break-word;&quot;&gt;&lt;span class=&quot;sc-cJSrbW hfoTSu&quot; style=&quot;display: inline-block; margin-right: 4px; position: relative;&quot;&gt;&lt;span class=&quot;sc-ksYbfQ fGqvty&quot; style=&quot;display: inline-block; height: 0px; opacity: 0; width: 14px;&quot;&gt;&lt;/span&gt;&lt;img class=&quot;smart-link-icon sc-bcdylZ bocpTl&quot; data-testid=&quot;inline-card-icon-and-title-image&quot; src=&quot;https://www.techrepublic.com/a/fly/bundles/techrepubliccore/logo-192x192.png&quot; style=&quot;border-radius: 2px; border: 0px; height: 14px; left: 7px; margin: 0px 4px 0px 0px; padding: 0px; position: absolute; top: 8px; transform: translate(-50%, -50%); user-select: none; width: 14px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;sc-hmzhuo eRtqMp&quot;&gt;Apple throws a wrench into the wheel of the &quot;run anywhere&quot; aspect of containers&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;&lt;span data-card-url=&quot;https://betterprogramming.pub/5-things-i-have-learned-when-using-the-m1-chip-macbook-air-a77f93c50381&quot; data-inline-card=&quot;true&quot;&gt;&lt;a href=&quot;https://betterprogramming.pub/5-things-i-have-learned-when-using-the-m1-chip-macbook-air-a77f93c50381&quot; style=&quot;color: #0052cc; text-decoration-line: none;&quot;&gt;https://betterprogramming.pub/5-things-i-have-learned-when-using-the-m1-chip-macbook-air-a77f93c50381&lt;/a&gt;&lt;/span&gt; &lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;567&quot; style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;The first thing to note is that Docker have released an Apple Silicon Chip version, downloading this is the first thing that will save some time.  &lt;span data-card-url=&quot;https://docs.docker.com/desktop/mac/apple-silicon/&quot; data-inline-card=&quot;true&quot;&gt;&lt;span class=&quot;loader-wrapper&quot;&gt;&lt;a class=&quot;sc-frDJqD hUfBOa&quot; data-testid=&quot;inline-card-resolved-view&quot; href=&quot;https://docs.docker.com/desktop/mac/apple-silicon/&quot; role=&quot;button&quot; style=&quot;-webkit-box-decoration-break: clone; border-radius: 3px; box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px; color: #0052cc; cursor: pointer; display: inline; line-height: 16px; padding: 1px 0.24em 2px; text-decoration-line: none; transition: all 0.1s ease-in-out 0s; user-select: text;&quot; tabindex=&quot;0&quot;&gt;&lt;span class=&quot;sc-kjoXOD cUzZZX&quot; style=&quot;hyphens: auto; overflow-wrap: break-word; word-break: break-word;&quot;&gt;&lt;span class=&quot;sc-cJSrbW hfoTSu&quot; style=&quot;display: inline-block; margin-right: 4px; position: relative;&quot;&gt;&lt;span class=&quot;sc-ksYbfQ fGqvty&quot; style=&quot;display: inline-block; height: 0px; opacity: 0; width: 14px;&quot;&gt;&lt;/span&gt;&lt;img class=&quot;smart-link-icon sc-bcdylZ bocpTl&quot; data-testid=&quot;inline-card-icon-and-title-image&quot; src=&quot;https://docs.docker.com/favicons/docs@2x.ico&quot; style=&quot;border-radius: 2px; border: 0px; height: 14px; left: 7px; margin: 0px 4px 0px 0px; padding: 0px; position: absolute; top: 8px; transform: translate(-50%, -50%); user-select: none; width: 14px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;sc-hmzhuo eRtqMp&quot;&gt;Docker Desktop for Apple silicon&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;  And make sure you have the latest version. &lt;br /&gt;&lt;br /&gt;Even with that there are also some on going ‘Known Issues’ &lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;ak-editor-panel sc-iAyFgw iafxUc&quot; data-panel-type=&quot;note&quot; style=&quot;-webkit-box-align: baseline; align-items: baseline; background-color: #eae6ff; border-radius: 3px; border: none; clear: both; color: #172b4d; display: flex; margin: 0.75rem 0px 0px; min-width: 48px; padding: 8px; white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;span class=&quot;ak-editor-panel__icon&quot; style=&quot;box-sizing: content-box; color: #5243aa; display: block; flex-shrink: 0; height: 24px; padding-right: 8px; width: 24px;&quot;&gt;&lt;span aria-label=&quot;Panel note&quot; class=&quot;css-pxzk9z&quot; role=&quot;img&quot; style=&quot;--icon-primary-color: currentColor; --icon-secondary-color: var(--background-default, #FFFFFF); display: inline; flex-shrink: 0; line-height: 1; vertical-align: middle;&quot;&gt;&lt;svg height=&quot;24&quot; role=&quot;presentation&quot; viewbox=&quot;0 0 24 24&quot; width=&quot;24&quot;&gt;&lt;/svg&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;path d=&quot;M8 4h8a2 2 0 012 2v12a2 2 0 01-2 2H8a2 2 0 01-2-2V6a2 2 0 012-2zm1.5 4a.5.5 0 00-.5.5v1a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-1a.5.5 0 00-.5-.5h-5zm0 4a.5.5 0 00-.5.5v1a.5.5 0 00.5.5h3a.5.5 0 00.5-.5v-1a.5.5 0 00-.5-.5h-3z&quot; fill-rule=&quot;evenodd&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;ak-editor-panel__content&quot; style=&quot;flex: 1 0 0px; margin: 1px 0px; min-width: 0px; padding: 0px;&quot;&gt;&lt;ul class=&quot;ak-ul&quot; data-indent-level=&quot;1&quot; style=&quot;box-sizing: border-box; display: flow-root; margin: 0px; padding: 0px 0px 0px 24px;&quot;&gt;&lt;li&gt;&lt;p data-renderer-start-pos=&quot;828&quot; style=&quot;letter-spacing: -0.005em; line-height: 1.714; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;Not all images are available for ARM64 architecture. You can add&amp;nbsp;&lt;code class=&quot;code css-9z42f9&quot; data-renderer-mark=&quot;true&quot; style=&quot;--ds--code--bg-color: rgba(9,30,66,0.08); -webkit-box-decoration-break: clone; background-color: var(--ds--code--bg-color,#F4F5F7); border-radius: 3px; border-style: none; display: inline; overflow-wrap: break-word; overflow: auto; padding: 2px 0.5ch;&quot;&gt;--platform linux/amd64&lt;/code&gt;&amp;nbsp;to run an Intel image under emulation. In particular, the&amp;nbsp;&lt;a class=&quot;sc-jqCOkK hdFCoC&quot; data-renderer-mark=&quot;true&quot; href=&quot;https://hub.docker.com/_/mysql?tab=tags&amp;amp;page=1&amp;amp;ordering=last_updated&quot; style=&quot;color: #0052cc; text-decoration-line: none;&quot; title=&quot;https://hub.docker.com/_/mysql?tab=tags&amp;amp;page=1&amp;amp;ordering=last_updated&quot;&gt;mysql&lt;/a&gt;&amp;nbsp;image is not available for ARM64. You can work around this issue by using a&amp;nbsp;&lt;a class=&quot;sc-jqCOkK hdFCoC&quot; data-renderer-mark=&quot;true&quot; href=&quot;https://hub.docker.com/_/mariadb?tab=tags&amp;amp;page=1&amp;amp;ordering=last_updated&quot; style=&quot;color: #0052cc; text-decoration-line: none;&quot; title=&quot;https://hub.docker.com/_/mariadb?tab=tags&amp;amp;page=1&amp;amp;ordering=last_updated&quot;&gt;mariadb&lt;/a&gt;&amp;nbsp;image.&lt;/span&gt;&lt;/p&gt;&lt;p data-renderer-start-pos=&quot;1072&quot; style=&quot;letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;However, attempts to run Intel-based containers on Apple Silicon machines under emulation can crash as qemu sometimes fails to run the container. In addition, filesystem change notification APIs (&lt;code class=&quot;code css-9z42f9&quot; data-renderer-mark=&quot;true&quot; style=&quot;--ds--code--bg-color: rgba(9,30,66,0.08); -webkit-box-decoration-break: clone; background-color: var(--ds--code--bg-color,#F4F5F7); border-radius: 3px; border-style: none; display: inline; overflow-wrap: break-word; overflow: auto; padding: 2px 0.5ch;&quot;&gt;inotify&lt;/code&gt;) do not work under qemu emulation. Even when the containers do run correctly under emulation, they will be slower and use more memory than the native equivalent.&lt;/span&gt;&lt;/p&gt;&lt;p data-renderer-start-pos=&quot;1439&quot; style=&quot;letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;In summary, running Intel-based containers on Arm-based machines should be regarded as “best effort” only. We recommend running arm64 containers on Apple Silicon machines whenever possible, and encouraging container authors to produce arm64, or multi-arch, versions of their containers. We expect this issue to become less common over time, as more and more images are rebuilt&amp;nbsp;&lt;a class=&quot;sc-jqCOkK hdFCoC&quot; data-renderer-mark=&quot;true&quot; href=&quot;https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/&quot; style=&quot;color: #0052cc; text-decoration-line: none;&quot; title=&quot;https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/&quot;&gt;supporting multiple architectures&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;ak-editor-panel sc-iAyFgw iafxUc&quot; data-panel-type=&quot;error&quot; style=&quot;-webkit-box-align: baseline; align-items: baseline; background-color: #ffebe6; border-radius: 3px; border: none; clear: both; color: #172b4d; display: flex; margin: 0.75rem 0px 0px; min-width: 48px; padding: 8px; white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;span class=&quot;ak-editor-panel__icon&quot; style=&quot;box-sizing: content-box; color: #de350b; display: block; flex-shrink: 0; height: 24px; padding-right: 8px; width: 24px;&quot;&gt;&lt;span aria-label=&quot;Panel error&quot; class=&quot;css-pxzk9z&quot; role=&quot;img&quot; style=&quot;--icon-primary-color: currentColor; --icon-secondary-color: var(--background-default, #FFFFFF); display: inline; flex-shrink: 0; line-height: 1; vertical-align: middle;&quot;&gt;&lt;svg height=&quot;24&quot; role=&quot;presentation&quot; viewbox=&quot;0 0 24 24&quot; width=&quot;24&quot;&gt;&lt;/svg&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;path d=&quot;M13.485 11.929l2.122-2.121a1 1 0 00-1.415-1.415l-2.12 2.122L9.95 8.393a1 1 0 00-1.414 1.415l2.12 2.12-2.12 2.122a1 1 0 001.414 1.414l2.121-2.12 2.121 2.12a1 1 0 101.415-1.414l-2.122-2.121zM12 20a8 8 0 110-16 8 8 0 010 16z&quot; fill-rule=&quot;evenodd&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;ak-editor-panel__content&quot; style=&quot;flex: 1 0 0px; margin: 1px 0px; min-width: 0px; padding: 0px;&quot;&gt;&lt;p data-renderer-start-pos=&quot;1856&quot; style=&quot;letter-spacing: -0.005em; line-height: 1.714; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;Pulling db (mysql:5.7)...&lt;br /&gt;5.7: Pulling from library/mysql&lt;br /&gt;ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;1992&quot; style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;Meaning that in my Docker-compose file I had to add the following for the DB&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;code-block sc-sdtwF jJqQfc&quot; style=&quot;background-color: white; border-radius: 3px; clear: both; color: #172b4d; display: grid; grid-template-columns: minmax(0px, 1fr); margin: 0.75rem 0px 0px; max-width: 100%; overflow-wrap: normal; padding: 0px; position: relative; tab-size: 4; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;sc-cmjSyW hIaCSa&quot; style=&quot;-webkit-box-pack: end; display: flex; grid-column: 1 / auto; justify-content: flex-end; position: sticky; top: 0px;&quot;&gt;&lt;div role=&quot;presentation&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;div style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;button aria-haspopup=&quot;true&quot; aria-label=&quot;Copy&quot; class=&quot;copy-to-clipboard css-jiizgi&quot; style=&quot;-webkit-box-align: baseline; -webkit-box-pack: center; align-items: baseline; background: none rgb(244, 245, 247); border-color: rgb(255, 255, 255); border-radius: 4px; border-style: solid; color: #42526e; cursor: pointer; display: flex; font-style: normal; font-weight: 500; height: 32px; justify-content: center; line-height: 1.71429em; max-width: 100%; opacity: 0; outline: none; padding: 2px; position: absolute; right: 6px; top: 4px; transition: opacity 0.2s ease 0s; vertical-align: middle; white-space: nowrap; width: 32px;&quot; tabindex=&quot;0&quot; type=&quot;button&quot;&gt;&lt;span class=&quot;css-1ujqpe8&quot; style=&quot;-webkit-box-flex: 0; align-self: center; display: flex; flex-grow: 0; flex-shrink: 0; line-height: 0; margin: 0px 2px; opacity: 1; transition: opacity 0.3s ease 0s; user-select: none;&quot;&gt;&lt;span aria-label=&quot;Copy&quot; class=&quot;css-pxzk9z&quot; role=&quot;img&quot; style=&quot;--icon-primary-color: currentColor; --icon-secondary-color: var(--background-default, #FFFFFF); display: inline-block; flex-shrink: 0; line-height: 1;&quot;&gt;&lt;svg height=&quot;24&quot; role=&quot;presentation&quot; viewbox=&quot;0 0 24 24&quot; width=&quot;24&quot;&gt;&lt;g fill=&quot;currentColor&quot;&gt;&lt;/g&gt;&lt;/svg&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;path d=&quot;M10 19h8V8h-8v11zM8 7.992C8 6.892 8.902 6 10.009 6h7.982C19.101 6 20 6.893 20 7.992v11.016c0 1.1-.902 1.992-2.009 1.992H10.01A2.001 2.001 0 018 19.008V7.992z&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M5 16V4.992C5 3.892 5.902 3 7.009 3H15v13H5zm2 0h8V5H7v11z&quot;&gt;&lt;/path&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;span class=&quot;prismjs css-1xfvm4v&quot; data-code-lang=&quot;&quot; data-ds--code--code-block=&quot;&quot; style=&quot;background-attachment: local, scroll, scroll; background-color: var(--ds--code--bg-color,#F4F5F7); background-image: linear-gradient(to left, rgb(244, 245, 247) 8px, transparent 8px), linear-gradient(to left, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px), linear-gradient(to right, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px); background-position: 100% 0px, 100% 0px, 0px 0px; border-radius: 3px; border-style: none; display: flex; grid-column: 1 / auto; line-height: 1.5rem; overflow-x: auto; white-space: pre;&quot;&gt;&lt;code style=&quot;-webkit-app-region: unset; -webkit-border-image: unset; -webkit-box-align: unset; -webkit-box-decoration-break: unset; -webkit-box-direction: unset; -webkit-box-flex: unset; -webkit-box-ordinal-group: unset; -webkit-box-orient: unset; -webkit-box-pack: unset; -webkit-box-reflect: unset; -webkit-font-smoothing: unset; -webkit-highlight: unset; -webkit-hyphenate-character: unset; -webkit-line-break: unset; -webkit-line-clamp: unset; -webkit-locale: unset; -webkit-mask-box-image: unset; -webkit-mask-composite: unset; -webkit-mask: unset; -webkit-perspective-origin-x: unset; -webkit-perspective-origin-y: unset; -webkit-print-color-adjust: unset; -webkit-rtl-ordering: unset; -webkit-ruby-position: unset; -webkit-tap-highlight-color: unset; -webkit-text-combine: unset; -webkit-text-decorations-in-effect: unset; -webkit-text-emphasis-position: unset; -webkit-text-emphasis: unset; -webkit-text-fill-color: unset; -webkit-text-orientation: unset; -webkit-text-security: unset; -webkit-text-stroke: unset; -webkit-transform-origin-x: unset; -webkit-transform-origin-y: unset; -webkit-transform-origin-z: unset; -webkit-user-drag: unset; -webkit-user-modify: unset; -webkit-writing-mode: unset; accent-color: unset; alignment-baseline: unset; animation: unset; appearance: unset; aspect-ratio: unset; backdrop-filter: unset; backface-visibility: unset; background-attachment: unset; background-blend-mode: unset; background-clip: unset; background-color: unset; background-image: linear-gradient(to right,var(--ds--code--line-number-bg-color,#EBECF0),var(--ds--code--line-number-bg-color,#EBECF0) calc(1ch + 16px),transparent calc(1ch + 16px),transparent); background-origin: unset; background-position: unset; background-repeat: unset; background-size: unset; baseline-shift: unset; block-size: unset; border-block: unset; border-collapse: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-inline: unset; border-radius: unset; border-spacing: unset; border-start-end-radius: unset; border-start-start-radius: unset; border: unset; box-shadow: unset; box-sizing: unset; break-after: unset; break-before: unset; break-inside: unset; buffered-rendering: unset; caption-side: unset; caret-color: unset; clear: unset; clip-path: unset; clip-rule: unset; clip: unset; color-interpolation-filters: unset; color-interpolation: unset; color-rendering: unset; color-scheme: unset; color: unset; column-fill: unset; column-rule: unset; column-span: unset; columns: unset; contain-intrinsic-size: unset; contain: unset; content-visibility: unset; content: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; cursor: unset; cx: unset; cy: unset; d: unset; display: unset; dominant-baseline: unset; empty-cells: unset; fill-opacity: unset; fill-rule: unset; fill: unset; filter: unset; flex-flow: unset; flex: 1 0 auto; float: unset; flood-color: unset; flood-opacity: unset; font-feature-settings: unset; font-kerning: unset; font-optical-sizing: unset; font-stretch: unset; font-style: unset; font-variant: unset; font-variation-settings: unset; font-weight: unset; forced-color-adjust: unset; gap: unset; grid-area: unset; grid: unset; height: unset; hyphens: unset; image-orientation: unset; image-rendering: unset; inline-size: unset; inset-block: unset; inset-inline: unset; inset: unset; isolation: unset; letter-spacing: unset; lighting-color: unset; line-break: unset; line-height: unset; list-style: unset; margin-block: unset; margin-inline: unset; margin: unset; marker: unset; mask-type: unset; mask: unset; max-block-size: unset; max-height: unset; max-inline-size: unset; max-width: unset; min-block-size: unset; min-height: unset; min-inline-size: unset; min-width: unset; mix-blend-mode: unset; object-fit: unset; object-position: unset; offset: unset; opacity: unset; order: unset; orphans: unset; outline-offset: unset; outline: unset; overflow-anchor: unset; overflow-clip-margin: unset; overflow-wrap: unset; overflow: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; overscroll-behavior: unset; padding-block: unset; padding-bottom: 8px; padding-inline: unset; padding-left: 0px; padding-right: 8px !important; padding-top: 8px; page-orientation: unset; page: unset; paint-order: unset; perspective-origin: unset; perspective: unset; place-content: unset; place-items: unset; place-self: unset; pointer-events: unset; position: unset; quotes: unset; r: unset; resize: unset; ruby-position: unset; rx: unset; ry: unset; scroll-behavior: unset; scroll-margin-block: unset; scroll-margin-inline: unset; scroll-margin: unset; scroll-padding-block: unset; scroll-padding-inline: unset; scroll-padding: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; scrollbar-gutter: unset; shape-image-threshold: unset; shape-margin: unset; shape-outside: unset; shape-rendering: unset; size: unset; speak: unset; stop-color: unset; stop-opacity: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-linecap: unset; stroke-linejoin: unset; stroke-miterlimit: unset; stroke-opacity: unset; stroke-width: unset; stroke: unset; tab-size: unset; table-layout: unset; text-align-last: unset; text-align: unset; text-anchor: unset; text-combine-upright: unset; text-decoration-skip-ink: unset; text-decoration: unset; text-indent: unset; text-orientation: unset; text-overflow: unset; text-rendering: unset; text-shadow: unset; text-size-adjust: unset; text-transform: unset; text-underline-offset: unset; text-underline-position: unset; touch-action: unset; transform-box: unset; transform-origin: unset; transform-style: unset; transform: unset; transition: unset; user-select: unset; vector-effect: unset; vertical-align: unset; visibility: unset; widows: unset; width: unset; will-change: unset; word-break: unset; word-spacing: unset; writing-mode: unset; x: unset; y: unset; z-index: unset; zoom: unset;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;&quot;&gt;  db:
&lt;/span&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;2&lt;/span&gt;    platform: linux/x86_64
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;3&lt;/span&gt;    image: mysql:5.7
&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;2127&quot; style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;At which point I can get to the database through Sequel Ace, however there’s no database ( this used to be maintained but now I seem to have to import when ever the site is fully torn down )&lt;br /&gt;&lt;br /&gt;At this point I have my first site working at http://site1:8000/ and we can also use the Postman collection that comes with it.  I say first site because for this project I need to get 2 sites working ( 2 independent github projects with their own docker-compose.yml files ).  That second site will be using the endpoints that I just mentioned in the Postman collection. &lt;br /&gt;&lt;br /&gt;Again I received an error on the ‘mysql’ image. &lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;ak-editor-panel sc-iAyFgw iafxUc&quot; data-panel-type=&quot;error&quot; style=&quot;-webkit-box-align: baseline; align-items: baseline; background-color: #ffebe6; border-radius: 3px; border: none; clear: both; color: #172b4d; display: flex; margin: 0.75rem 0px 0px; min-width: 48px; padding: 8px; white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;span class=&quot;ak-editor-panel__icon&quot; style=&quot;box-sizing: content-box; color: #de350b; display: block; flex-shrink: 0; height: 24px; padding-right: 8px; width: 24px;&quot;&gt;&lt;span aria-label=&quot;Panel error&quot; class=&quot;css-pxzk9z&quot; role=&quot;img&quot; style=&quot;--icon-primary-color: currentColor; --icon-secondary-color: var(--background-default, #FFFFFF); display: inline; flex-shrink: 0; line-height: 1; vertical-align: middle;&quot;&gt;&lt;svg height=&quot;24&quot; role=&quot;presentation&quot; viewbox=&quot;0 0 24 24&quot; width=&quot;24&quot;&gt;&lt;/svg&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;path d=&quot;M13.485 11.929l2.122-2.121a1 1 0 00-1.415-1.415l-2.12 2.122L9.95 8.393a1 1 0 00-1.414 1.415l2.12 2.12-2.12 2.122a1 1 0 001.414 1.414l2.121-2.12 2.121 2.12a1 1 0 101.415-1.414l-2.122-2.121zM12 20a8 8 0 110-16 8 8 0 010 16z&quot; fill-rule=&quot;evenodd&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;ak-editor-panel__content&quot; style=&quot;flex: 1 0 0px; margin: 1px 0px; min-width: 0px; padding: 0px;&quot;&gt;&lt;p data-renderer-start-pos=&quot;2747&quot; style=&quot;letter-spacing: -0.005em; line-height: 1.714; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;failed to solve with frontend dockerfile.v0: failed to create LLB definition: no match for platform in manifest sha256:5064###: not found&lt;br /&gt;ERROR: Service &#39;mysql&#39; failed to build : Build failed&lt;br /&gt;davidmillward@Davids-MacBook-Air siaf %&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;3038&quot; style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;So again we need to add this code to the DB image.  In fact this time it’s ‘mysql’&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;code-block sc-sdtwF jJqQfc&quot; style=&quot;background-color: white; border-radius: 3px; clear: both; color: #172b4d; display: grid; grid-template-columns: minmax(0px, 1fr); margin: 0.75rem 0px 0px; max-width: 100%; overflow-wrap: normal; padding: 0px; position: relative; tab-size: 4; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;sc-cmjSyW hIaCSa&quot; style=&quot;-webkit-box-pack: end; display: flex; grid-column: 1 / auto; justify-content: flex-end; position: sticky; top: 0px;&quot;&gt;&lt;div role=&quot;presentation&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;div style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;button aria-haspopup=&quot;true&quot; aria-label=&quot;Copy&quot; class=&quot;copy-to-clipboard css-jiizgi&quot; style=&quot;-webkit-box-align: baseline; -webkit-box-pack: center; align-items: baseline; background: none rgb(244, 245, 247); border-color: rgb(255, 255, 255); border-radius: 4px; border-style: solid; color: #42526e; cursor: pointer; display: flex; font-style: normal; font-weight: 500; height: 32px; justify-content: center; line-height: 1.71429em; max-width: 100%; opacity: 0; outline: none; padding: 2px; position: absolute; right: 6px; top: 4px; transition: opacity 0.2s ease 0s; vertical-align: middle; white-space: nowrap; width: 32px;&quot; tabindex=&quot;0&quot; type=&quot;button&quot;&gt;&lt;span class=&quot;css-1ujqpe8&quot; style=&quot;-webkit-box-flex: 0; align-self: center; display: flex; flex-grow: 0; flex-shrink: 0; line-height: 0; margin: 0px 2px; opacity: 1; transition: opacity 0.3s ease 0s; user-select: none;&quot;&gt;&lt;span aria-label=&quot;Copy&quot; class=&quot;css-pxzk9z&quot; role=&quot;img&quot; style=&quot;--icon-primary-color: currentColor; --icon-secondary-color: var(--background-default, #FFFFFF); display: inline-block; flex-shrink: 0; line-height: 1;&quot;&gt;&lt;svg height=&quot;24&quot; role=&quot;presentation&quot; viewbox=&quot;0 0 24 24&quot; width=&quot;24&quot;&gt;&lt;g fill=&quot;currentColor&quot;&gt;&lt;/g&gt;&lt;/svg&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;path d=&quot;M10 19h8V8h-8v11zM8 7.992C8 6.892 8.902 6 10.009 6h7.982C19.101 6 20 6.893 20 7.992v11.016c0 1.1-.902 1.992-2.009 1.992H10.01A2.001 2.001 0 018 19.008V7.992z&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M5 16V4.992C5 3.892 5.902 3 7.009 3H15v13H5zm2 0h8V5H7v11z&quot;&gt;&lt;/path&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;span class=&quot;prismjs css-1xfvm4v&quot; data-code-lang=&quot;&quot; data-ds--code--code-block=&quot;&quot; style=&quot;background-attachment: local, scroll, scroll; background-color: var(--ds--code--bg-color,#F4F5F7); background-image: linear-gradient(to left, rgb(244, 245, 247) 8px, transparent 8px), linear-gradient(to left, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px), linear-gradient(to right, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px); background-position: 100% 0px, 100% 0px, 0px 0px; border-radius: 3px; border-style: none; display: flex; grid-column: 1 / auto; line-height: 1.5rem; overflow-x: auto; white-space: pre;&quot;&gt;&lt;code style=&quot;-webkit-app-region: unset; -webkit-border-image: unset; -webkit-box-align: unset; -webkit-box-decoration-break: unset; -webkit-box-direction: unset; -webkit-box-flex: unset; -webkit-box-ordinal-group: unset; -webkit-box-orient: unset; -webkit-box-pack: unset; -webkit-box-reflect: unset; -webkit-font-smoothing: unset; -webkit-highlight: unset; -webkit-hyphenate-character: unset; -webkit-line-break: unset; -webkit-line-clamp: unset; -webkit-locale: unset; -webkit-mask-box-image: unset; -webkit-mask-composite: unset; -webkit-mask: unset; -webkit-perspective-origin-x: unset; -webkit-perspective-origin-y: unset; -webkit-print-color-adjust: unset; -webkit-rtl-ordering: unset; -webkit-ruby-position: unset; -webkit-tap-highlight-color: unset; -webkit-text-combine: unset; -webkit-text-decorations-in-effect: unset; -webkit-text-emphasis-position: unset; -webkit-text-emphasis: unset; -webkit-text-fill-color: unset; -webkit-text-orientation: unset; -webkit-text-security: unset; -webkit-text-stroke: unset; -webkit-transform-origin-x: unset; -webkit-transform-origin-y: unset; -webkit-transform-origin-z: unset; -webkit-user-drag: unset; -webkit-user-modify: unset; -webkit-writing-mode: unset; accent-color: unset; alignment-baseline: unset; animation: unset; appearance: unset; aspect-ratio: unset; backdrop-filter: unset; backface-visibility: unset; background-attachment: unset; background-blend-mode: unset; background-clip: unset; background-color: unset; background-image: linear-gradient(to right,var(--ds--code--line-number-bg-color,#EBECF0),var(--ds--code--line-number-bg-color,#EBECF0) calc(1ch + 16px),transparent calc(1ch + 16px),transparent); background-origin: unset; background-position: unset; background-repeat: unset; background-size: unset; baseline-shift: unset; block-size: unset; border-block: unset; border-collapse: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-inline: unset; border-radius: unset; border-spacing: unset; border-start-end-radius: unset; border-start-start-radius: unset; border: unset; box-shadow: unset; box-sizing: unset; break-after: unset; break-before: unset; break-inside: unset; buffered-rendering: unset; caption-side: unset; caret-color: unset; clear: unset; clip-path: unset; clip-rule: unset; clip: unset; color-interpolation-filters: unset; color-interpolation: unset; color-rendering: unset; color-scheme: unset; color: unset; column-fill: unset; column-rule: unset; column-span: unset; columns: unset; contain-intrinsic-size: unset; contain: unset; content-visibility: unset; content: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; cursor: unset; cx: unset; cy: unset; d: unset; display: unset; dominant-baseline: unset; empty-cells: unset; fill-opacity: unset; fill-rule: unset; fill: unset; filter: unset; flex-flow: unset; flex: 1 0 auto; float: unset; flood-color: unset; flood-opacity: unset; font-feature-settings: unset; font-kerning: unset; font-optical-sizing: unset; font-stretch: unset; font-style: unset; font-variant: unset; font-variation-settings: unset; font-weight: unset; forced-color-adjust: unset; gap: unset; grid-area: unset; grid: unset; height: unset; hyphens: unset; image-orientation: unset; image-rendering: unset; inline-size: unset; inset-block: unset; inset-inline: unset; inset: unset; isolation: unset; letter-spacing: unset; lighting-color: unset; line-break: unset; line-height: unset; list-style: unset; margin-block: unset; margin-inline: unset; margin: unset; marker: unset; mask-type: unset; mask: unset; max-block-size: unset; max-height: unset; max-inline-size: unset; max-width: unset; min-block-size: unset; min-height: unset; min-inline-size: unset; min-width: unset; mix-blend-mode: unset; object-fit: unset; object-position: unset; offset: unset; opacity: unset; order: unset; orphans: unset; outline-offset: unset; outline: unset; overflow-anchor: unset; overflow-clip-margin: unset; overflow-wrap: unset; overflow: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; overscroll-behavior: unset; padding-block: unset; padding-bottom: 8px; padding-inline: unset; padding-left: 0px; padding-right: 8px !important; padding-top: 8px; page-orientation: unset; page: unset; paint-order: unset; perspective-origin: unset; perspective: unset; place-content: unset; place-items: unset; place-self: unset; pointer-events: unset; position: unset; quotes: unset; r: unset; resize: unset; ruby-position: unset; rx: unset; ry: unset; scroll-behavior: unset; scroll-margin-block: unset; scroll-margin-inline: unset; scroll-margin: unset; scroll-padding-block: unset; scroll-padding-inline: unset; scroll-padding: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; scrollbar-gutter: unset; shape-image-threshold: unset; shape-margin: unset; shape-outside: unset; shape-rendering: unset; size: unset; speak: unset; stop-color: unset; stop-opacity: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-linecap: unset; stroke-linejoin: unset; stroke-miterlimit: unset; stroke-opacity: unset; stroke-width: unset; stroke: unset; tab-size: unset; table-layout: unset; text-align-last: unset; text-align: unset; text-anchor: unset; text-combine-upright: unset; text-decoration-skip-ink: unset; text-decoration: unset; text-indent: unset; text-orientation: unset; text-overflow: unset; text-rendering: unset; text-shadow: unset; text-size-adjust: unset; text-transform: unset; text-underline-offset: unset; text-underline-position: unset; touch-action: unset; transform-box: unset; transform-origin: unset; transform-style: unset; transform: unset; transition: unset; user-select: unset; vector-effect: unset; vertical-align: unset; visibility: unset; widows: unset; width: unset; will-change: unset; word-break: unset; word-spacing: unset; writing-mode: unset; x: unset; y: unset; z-index: unset; zoom: unset;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;&quot;&gt;  mysql:
&lt;/span&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;2&lt;/span&gt;    platform: linux/x86_64
&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;3160&quot; style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;And once again we’ll need to connect to the Mysql, and again it’s empty and we need to import the Database.&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;ak-editor-panel sc-iAyFgw iafxUc&quot; data-panel-type=&quot;info&quot; style=&quot;-webkit-box-align: baseline; align-items: baseline; background-color: #deebff; border-radius: 3px; border: none; clear: both; color: #172b4d; display: flex; margin: 0.75rem 0px 0px; min-width: 48px; padding: 8px; white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;span class=&quot;ak-editor-panel__icon&quot; style=&quot;box-sizing: content-box; color: #0052cc; display: block; flex-shrink: 0; height: 24px; padding-right: 8px; width: 24px;&quot;&gt;&lt;span aria-label=&quot;Panel info&quot; class=&quot;css-pxzk9z&quot; role=&quot;img&quot; style=&quot;--icon-primary-color: currentColor; --icon-secondary-color: var(--background-default, #FFFFFF); display: inline; flex-shrink: 0; line-height: 1; vertical-align: middle;&quot;&gt;&lt;svg height=&quot;24&quot; role=&quot;presentation&quot; viewbox=&quot;0 0 24 24&quot; width=&quot;24&quot;&gt;&lt;/svg&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;path d=&quot;M12 20a8 8 0 110-16 8 8 0 010 16zm0-8.5a1 1 0 00-1 1V15a1 1 0 002 0v-2.5a1 1 0 00-1-1zm0-1.125a1.375 1.375 0 100-2.75 1.375 1.375 0 000 2.75z&quot; fill-rule=&quot;evenodd&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;ak-editor-panel__content&quot; style=&quot;flex: 1 0 0px; margin: 1px 0px; min-width: 0px; padding: 0px;&quot;&gt;&lt;p data-renderer-start-pos=&quot;3270&quot; style=&quot;letter-spacing: -0.005em; line-height: 1.714; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;takes a bit of time this one &lt;span data-emoji-id=&quot;1f61e&quot; data-emoji-short-name=&quot;:disappointed:&quot; data-emoji-text=&quot;😞&quot;&gt;&lt;img alt=&quot;:disappointed:&quot; class=&quot;emoji&quot; data-emoji-id=&quot;1f61e&quot; data-emoji-short-name=&quot;:disappointed:&quot; data-emoji-text=&quot;😞&quot; height=&quot;20&quot; loading=&quot;lazy&quot; src=&quot;https://pf-emoji-service--cdn.us-east-1.prod.public.atl-paas.net/standard/a51a7674-8d5d-4495-a2d2-a67c090f5c3b/32x32/1f61e.png&quot; style=&quot;border: 0px; display: block; margin: 0px; padding: 0px; visibility: visible;&quot; width=&quot;20&quot; /&gt;&lt;/span&gt; . On this occasion so long it took me into the evening.  Meaning that for the next step I would be restarting the Docker Daemon. &lt;br /&gt;&lt;br /&gt;&lt;strong data-renderer-mark=&quot;true&quot;&gt;TIME SO FAR TAKEN 2h 30m &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;3461&quot; style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;On the restart first thing the next day I’ve click play on all the images.  However the site on http://site1:8000/  is no longer working, so I’ll need to investigate that. &lt;br /&gt;&lt;br /&gt;The database is working though, so let’s shut down the other containers and see if that works. &lt;br /&gt;&lt;br /&gt;That didn’t work, so lets ‘docker-compose down’ on all the containers and just concentrate on getting Site1 running again. &lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: verdana; font-size: small; letter-spacing: -0.005em;&quot;&gt;So I ‘docker-compose down’ , purged it in the debugging section of Docker UI and run the ‘docker-compose up -d’ .  The database need doing again ( not too long this one. ) And now the first site works again , yay! &lt;/span&gt;&lt;/p&gt;&lt;p data-renderer-start-pos=&quot;4039&quot; style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;Only trouble is I’ll need to the DB on the second site again ( because of the purge ), but at least it’s first thing in the morning, so I won’t have to restart my laptop. &lt;br /&gt;… see you in a bit ….!&lt;br /&gt;&lt;br /&gt;&lt;strong data-renderer-mark=&quot;true&quot;&gt;TIME SO FAR TAKEN 4h 30m&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;So now we get to my issue which is that I can’t get the 2 sites to talk to each other internally. &lt;br /&gt;&lt;br /&gt;This is the URL I used previously which worked fine. &lt;br /&gt;&lt;a class=&quot;sc-jqCOkK hdFCoC&quot; data-renderer-mark=&quot;true&quot; href=&quot;http://siaf+admin%40flowmo.co:19dh98Nkd9a8sSfuPPA2@host.docker.internal:8000/&quot; style=&quot;color: #0052cc; text-decoration-line: none;&quot; title=&quot;http://siaf+admin@flowmo.co:19dh98Nkd9a8sSfuPPA2@host.docker.internal:8000/&quot;&gt;http://host.docker.internal:8000/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;ak-editor-panel sc-iAyFgw iafxUc&quot; data-panel-type=&quot;note&quot; style=&quot;-webkit-box-align: baseline; align-items: baseline; background-color: #eae6ff; border-radius: 3px; border: none; clear: both; color: #172b4d; display: flex; margin: 0.75rem 0px 0px; min-width: 48px; padding: 8px; white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;span class=&quot;ak-editor-panel__icon&quot; style=&quot;box-sizing: content-box; color: #5243aa; display: block; flex-shrink: 0; height: 24px; padding-right: 8px; width: 24px;&quot;&gt;&lt;span aria-label=&quot;Panel note&quot; class=&quot;css-pxzk9z&quot; role=&quot;img&quot; style=&quot;--icon-primary-color: currentColor; --icon-secondary-color: var(--background-default, #FFFFFF); display: inline; flex-shrink: 0; line-height: 1; vertical-align: middle;&quot;&gt;&lt;svg height=&quot;24&quot; role=&quot;presentation&quot; viewbox=&quot;0 0 24 24&quot; width=&quot;24&quot;&gt;&lt;/svg&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;path d=&quot;M8 4h8a2 2 0 012 2v12a2 2 0 01-2 2H8a2 2 0 01-2-2V6a2 2 0 012-2zm1.5 4a.5.5 0 00-.5.5v1a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-1a.5.5 0 00-.5-.5h-5zm0 4a.5.5 0 00-.5.5v1a.5.5 0 00.5.5h3a.5.5 0 00.5-.5v-1a.5.5 0 00-.5-.5h-3z&quot; fill-rule=&quot;evenodd&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;ak-editor-panel__content&quot; style=&quot;flex: 1 0 0px; margin: 1px 0px; min-width: 0px; padding: 0px;&quot;&gt;&lt;p data-renderer-start-pos=&quot;4667&quot; style=&quot;letter-spacing: -0.005em; line-height: 1.714; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;If you want to find out why this method is needed and used then this blog explains this &lt;span data-card-url=&quot;https://medium.com/@TimvanBaarsen/how-to-connect-to-the-docker-host-from-inside-a-docker-container-112b4c71bc66&quot; data-inline-card=&quot;true&quot;&gt;&lt;span class=&quot;loader-wrapper&quot;&gt;&lt;a class=&quot;sc-frDJqD hUfBOa&quot; data-testid=&quot;inline-card-resolved-view&quot; href=&quot;https://medium.com/@TimvanBaarsen/how-to-connect-to-the-docker-host-from-inside-a-docker-container-112b4c71bc66&quot; role=&quot;button&quot; style=&quot;-webkit-box-decoration-break: clone; background-color: white; border-radius: 3px; box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px; color: #0052cc; cursor: pointer; display: inline; line-height: 16px; padding: 1px 0.24em 2px; text-decoration-line: none; transition: all 0.1s ease-in-out 0s; user-select: text;&quot; tabindex=&quot;0&quot;&gt;&lt;span class=&quot;sc-kjoXOD cUzZZX&quot; style=&quot;hyphens: auto; overflow-wrap: break-word; word-break: break-word;&quot;&gt;&lt;span class=&quot;sc-cJSrbW hfoTSu&quot; style=&quot;display: inline-block; margin-right: 4px; position: relative;&quot;&gt;&lt;span class=&quot;sc-ksYbfQ fGqvty&quot; style=&quot;display: inline-block; height: 0px; opacity: 0; width: 14px;&quot;&gt;&lt;/span&gt;&lt;img class=&quot;smart-link-icon sc-bcdylZ bocpTl&quot; data-testid=&quot;inline-card-icon-and-title-image&quot; src=&quot;https://miro.medium.com/fit/c/152/152/1*sHhtYhaCe2Uc3IU0IgKwIQ.png&quot; style=&quot;border-radius: 2px; border: 0px; height: 14px; left: 7px; margin: 0px 4px 0px 0px; padding: 0px; position: absolute; top: 8px; transform: translate(-50%, -50%); user-select: none; width: 14px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;sc-hmzhuo eRtqMp&quot;&gt;How to connect to the Docker host from inside a Docker container?&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;4760&quot; style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong data-renderer-mark=&quot;true&quot;&gt;What do we know about this issue&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;It is mentioned on this page &lt;span data-card-url=&quot;https://docs.docker.com/desktop/mac/apple-silicon/&quot; data-inline-card=&quot;true&quot;&gt;&lt;span class=&quot;loader-wrapper&quot;&gt;&lt;a class=&quot;sc-frDJqD hUfBOa&quot; data-testid=&quot;inline-card-resolved-view&quot; href=&quot;https://docs.docker.com/desktop/mac/apple-silicon/&quot; role=&quot;button&quot; style=&quot;-webkit-box-decoration-break: clone; border-radius: 3px; box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px; color: #0052cc; cursor: pointer; display: inline; line-height: 16px; padding: 1px 0.24em 2px; text-decoration-line: none; transition: all 0.1s ease-in-out 0s; user-select: text;&quot; tabindex=&quot;0&quot;&gt;&lt;span class=&quot;sc-kjoXOD cUzZZX&quot; style=&quot;hyphens: auto; overflow-wrap: break-word; word-break: break-word;&quot;&gt;&lt;span class=&quot;sc-cJSrbW hfoTSu&quot; style=&quot;display: inline-block; margin-right: 4px; position: relative;&quot;&gt;&lt;span class=&quot;sc-ksYbfQ fGqvty&quot; style=&quot;display: inline-block; height: 0px; opacity: 0; width: 14px;&quot;&gt;&lt;/span&gt;&lt;img class=&quot;smart-link-icon sc-bcdylZ bocpTl&quot; data-testid=&quot;inline-card-icon-and-title-image&quot; src=&quot;https://docs.docker.com/favicons/docs@2x.ico&quot; style=&quot;border-radius: 2px; border: 0px; height: 14px; left: 7px; margin: 0px 4px 0px 0px; padding: 0px; position: absolute; top: 8px; transform: translate(-50%, -50%); user-select: none; width: 14px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;sc-hmzhuo eRtqMp&quot;&gt;Docker Desktop for Apple silicon&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;ak-editor-panel sc-iAyFgw iafxUc&quot; data-panel-type=&quot;note&quot; style=&quot;-webkit-box-align: baseline; align-items: baseline; background-color: #eae6ff; border-radius: 3px; border: none; clear: both; color: #172b4d; display: flex; margin: 0.75rem 0px 0px; min-width: 48px; padding: 8px; white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;span class=&quot;ak-editor-panel__icon&quot; style=&quot;box-sizing: content-box; color: #5243aa; display: block; flex-shrink: 0; height: 24px; padding-right: 8px; width: 24px;&quot;&gt;&lt;span aria-label=&quot;Panel note&quot; class=&quot;css-pxzk9z&quot; role=&quot;img&quot; style=&quot;--icon-primary-color: currentColor; --icon-secondary-color: var(--background-default, #FFFFFF); display: inline; flex-shrink: 0; line-height: 1; vertical-align: middle;&quot;&gt;&lt;svg height=&quot;24&quot; role=&quot;presentation&quot; viewbox=&quot;0 0 24 24&quot; width=&quot;24&quot;&gt;&lt;/svg&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;path d=&quot;M8 4h8a2 2 0 012 2v12a2 2 0 01-2 2H8a2 2 0 01-2-2V6a2 2 0 012-2zm1.5 4a.5.5 0 00-.5.5v1a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-1a.5.5 0 00-.5-.5h-5zm0 4a.5.5 0 00-.5.5v1a.5.5 0 00.5.5h3a.5.5 0 00.5-.5v-1a.5.5 0 00-.5-.5h-3z&quot; fill-rule=&quot;evenodd&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;ak-editor-panel__content&quot; style=&quot;flex: 1 0 0px; margin: 1px 0px; min-width: 0px; padding: 0px;&quot;&gt;&lt;h3 data-renderer-start-pos=&quot;4831&quot; id=&quot;Fixes-since-the-Apple-Silicon-preview-7&quot; style=&quot;color: var(--text-highEmphasis,#172B4D); font-style: inherit; letter-spacing: -0.006em; line-height: 1.5; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;Fixes since the Apple Silicon preview 7&lt;/span&gt;&lt;span class=&quot;heading-anchor-wrapper&quot; role=&quot;presentation&quot; style=&quot;height: 1.25em; margin-left: 6px; position: absolute;&quot;&gt;&lt;button class=&quot;sc-kpOJdX bYMzjX&quot; style=&quot;border-color: initial; border-style: none; border-width: initial; color: #42526e; cursor: pointer; display: inline; opacity: 0; outline: none; padding-left: 0px; padding-right: 0px; right: 0px; transform: translate(-8px, 0px); transition: opacity 0.2s ease 0s, transform 0.2s ease 0s;&quot;&gt;&lt;span aria-label=&quot;copy&quot; class=&quot;css-1ncnk3i&quot; role=&quot;img&quot; style=&quot;--icon-primary-color: #6B778C; --icon-secondary-color: var(--background-default, #FFFFFF); display: inline-block; flex-shrink: 0; height: 24px; line-height: 1; width: 24px;&quot;&gt;&lt;svg height=&quot;24&quot; role=&quot;presentation&quot; viewbox=&quot;0 0 24 24&quot; width=&quot;24&quot;&gt;&lt;g fill-rule=&quot;evenodd&quot; fill=&quot;currentColor&quot;&gt;&lt;/g&gt;&lt;/svg&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;path d=&quot;M12.856 5.457l-.937.92a1.002 1.002 0 000 1.437 1.047 1.047 0 001.463 0l.984-.966c.967-.95 2.542-1.135 3.602-.288a2.54 2.54 0 01.203 3.81l-2.903 2.852a2.646 2.646 0 01-3.696 0l-1.11-1.09L9 13.57l1.108 1.089c1.822 1.788 4.802 1.788 6.622 0l2.905-2.852a4.558 4.558 0 00-.357-6.82c-1.893-1.517-4.695-1.226-6.422.47&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M11.144 19.543l.937-.92a1.002 1.002 0 000-1.437 1.047 1.047 0 00-1.462 0l-.985.966c-.967.95-2.542 1.135-3.602.288a2.54 2.54 0 01-.203-3.81l2.903-2.852a2.646 2.646 0 013.696 0l1.11 1.09L15 11.43l-1.108-1.089c-1.822-1.788-4.802-1.788-6.622 0l-2.905 2.852a4.558 4.558 0 00.357 6.82c1.893 1.517 4.695 1.226 6.422-.47&quot;&gt;&lt;/path&gt;&lt;/span&gt;&lt;/span&gt;&lt;/button&gt;&lt;/span&gt;&lt;/h3&gt;&lt;ul class=&quot;ak-ul&quot; data-indent-level=&quot;1&quot; style=&quot;box-sizing: border-box; display: flow-root; margin: 12px 0px 0px; padding: 0px 0px 0px 24px;&quot;&gt;&lt;li&gt;&lt;p data-renderer-start-pos=&quot;4874&quot; style=&quot;letter-spacing: -0.005em; line-height: 1.714; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;The&amp;nbsp;&lt;code class=&quot;code css-9z42f9&quot; data-renderer-mark=&quot;true&quot; style=&quot;--ds--code--bg-color: rgba(9,30,66,0.08); -webkit-box-decoration-break: clone; background-color: var(--ds--code--bg-color,#F4F5F7); border-radius: 3px; border-style: none; display: inline; overflow-wrap: break-word; overflow: auto; padding: 2px 0.5ch;&quot;&gt;host.docker.internal&lt;/code&gt;&amp;nbsp;and&amp;nbsp;&lt;code class=&quot;code css-9z42f9&quot; data-renderer-mark=&quot;true&quot; style=&quot;--ds--code--bg-color: rgba(9,30,66,0.08); -webkit-box-decoration-break: clone; background-color: var(--ds--code--bg-color,#F4F5F7); border-radius: 3px; border-style: none; display: inline; overflow-wrap: break-word; overflow: auto; padding: 2px 0.5ch;&quot;&gt;vm.docker.internal&lt;/code&gt;&amp;nbsp;DNS entries now resolve.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;4951&quot; style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;The issue is mentioned here with no resolution &lt;span data-card-url=&quot;https://github.com/docker/for-mac/issues/5374&quot; data-inline-card=&quot;true&quot;&gt;&lt;span class=&quot;loader-wrapper&quot;&gt;&lt;a class=&quot;sc-frDJqD hUfBOa&quot; data-testid=&quot;inline-card-resolved-view&quot; href=&quot;https://github.com/docker/for-mac/issues/5374&quot; role=&quot;button&quot; style=&quot;-webkit-box-decoration-break: clone; border-radius: 3px; box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px; color: #0052cc; cursor: pointer; display: inline; line-height: 16px; padding: 1px 0.24em 2px; text-decoration-line: none; transition: all 0.1s ease-in-out 0s; user-select: text;&quot; tabindex=&quot;0&quot;&gt;&lt;span class=&quot;sc-kjoXOD cUzZZX&quot; style=&quot;hyphens: auto; overflow-wrap: break-word; word-break: break-word;&quot;&gt;&lt;span class=&quot;sc-cJSrbW hfoTSu&quot; style=&quot;display: inline-block; margin-right: 4px; position: relative;&quot;&gt;&lt;span class=&quot;sc-ksYbfQ fGqvty&quot; style=&quot;display: inline-block; height: 0px; opacity: 0; width: 14px;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;sc-caSCKo aZDiC&quot; style=&quot;user-select: none;&quot;&gt;&lt;span aria-label=&quot;Tunnel access is not working in docker container M1&quot; class=&quot;css-hakgx8&quot; role=&quot;img&quot; style=&quot;--icon-primary-color: currentColor; --icon-secondary-color: var(--background-default, #FFFFFF); display: inline-block; flex-shrink: 0; height: 16px; left: 0px; line-height: 14px; position: absolute; top: 0px; width: 14px;&quot;&gt;&lt;svg height=&quot;16&quot; role=&quot;presentation&quot; viewbox=&quot;0 0 16 16&quot; width=&quot;16&quot;&gt;&lt;path d=&quot;M0 1.994C0 .893.895 0 1.994 0h12.012C15.107 0 16 .895 16 1.994v12.012A1.995 1.995 0 0114.006 16H1.994A1.995 1.995 0 010 14.006V1.994zM4.667 3C3.747 3 3 3.746 3 4.667v6.666C3 12.253 3.746 13 4.667 13h6.666c.92 0 1.667-.746 1.667-1.667V4.667C13 3.747 12.254 3 11.333 3H4.667zM5 5v6h6V5H5z&quot; fill-rule=&quot;evenodd&quot; fill=&quot;#2684FF&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;sc-hmzhuo eRtqMp&quot;&gt;Tunnel access is not working in docker container M1&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;sc-cHGsZl ffuZpB&quot; style=&quot;display: inline-block; vertical-align: 1px;&quot;&gt;&lt;span class=&quot;css-18nvbo6&quot; style=&quot;background-color: var(--background-subtleNeutral-resting,#DFE1E6); border-radius: 3px; box-sizing: border-box; color: var(--text-highEmphasis,#42526E); display: inline-block; font-weight: 700; line-height: 1; margin-left: 4px; max-width: 100%; padding: 2px 0px; text-transform: uppercase; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;css-1wsum1f&quot; style=&quot;box-sizing: border-box; display: inline-block; max-width: 200px; overflow: hidden; padding: 0px 4px; text-overflow: ellipsis; vertical-align: top; white-space: nowrap; width: 107.016px;&quot;&gt;LIFECYCLE/STALE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/p&gt;&lt;p data-renderer-start-pos=&quot;5002&quot; style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;Not supported according to this post &lt;a class=&quot;sc-jqCOkK hdFCoC&quot; data-renderer-mark=&quot;true&quot; href=&quot;https://betterprogramming.pub/macbook-m1-breaks-docker-development-14566ab6fa2e&quot; style=&quot;color: #0052cc; text-decoration-line: none;&quot; title=&quot;https://betterprogramming.pub/macbook-m1-breaks-docker-development-14566ab6fa2e&quot;&gt;https://betterprogramming.pub/macbook-m1-breaks-docker-development-14566ab6fa2e&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong data-renderer-mark=&quot;true&quot;&gt;Other things that you may ask me. &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;What comes back in the response ?  It comes back empty but with no error. &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p data-renderer-start-pos=&quot;5241&quot; style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;Can you ping the FafeApi Container from the Drupal one ?  Yes &lt;br /&gt;&lt;br /&gt;Here’s the process to check that. &lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;code-block sc-sdtwF jJqQfc&quot; style=&quot;background-color: white; border-radius: 3px; clear: both; color: #172b4d; display: grid; grid-template-columns: minmax(0px, 1fr); margin: 0.75rem 0px 0px; max-width: 100%; overflow-wrap: normal; padding: 0px; position: relative; tab-size: 4; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;sc-cmjSyW hIaCSa&quot; style=&quot;-webkit-box-pack: end; display: flex; grid-column: 1 / auto; justify-content: flex-end; position: sticky; top: 0px;&quot;&gt;&lt;div role=&quot;presentation&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;div style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;button aria-haspopup=&quot;true&quot; aria-label=&quot;Copy&quot; class=&quot;copy-to-clipboard css-jiizgi&quot; style=&quot;-webkit-box-align: baseline; -webkit-box-pack: center; align-items: baseline; background: none rgb(244, 245, 247); border-color: rgb(255, 255, 255); border-radius: 4px; border-style: solid; color: #42526e; cursor: pointer; display: flex; font-style: normal; font-weight: 500; height: 32px; justify-content: center; line-height: 1.71429em; max-width: 100%; opacity: 0; outline: none; padding: 2px; position: absolute; right: 6px; top: 4px; transition: opacity 0.2s ease 0s; vertical-align: middle; white-space: nowrap; width: 32px;&quot; tabindex=&quot;0&quot; type=&quot;button&quot;&gt;&lt;span class=&quot;css-1ujqpe8&quot; style=&quot;-webkit-box-flex: 0; align-self: center; display: flex; flex-grow: 0; flex-shrink: 0; line-height: 0; margin: 0px 2px; opacity: 1; transition: opacity 0.3s ease 0s; user-select: none;&quot;&gt;&lt;span aria-label=&quot;Copy&quot; class=&quot;css-pxzk9z&quot; role=&quot;img&quot; style=&quot;--icon-primary-color: currentColor; --icon-secondary-color: var(--background-default, #FFFFFF); display: inline-block; flex-shrink: 0; line-height: 1;&quot;&gt;&lt;svg height=&quot;24&quot; role=&quot;presentation&quot; viewbox=&quot;0 0 24 24&quot; width=&quot;24&quot;&gt;&lt;g fill=&quot;currentColor&quot;&gt;&lt;/g&gt;&lt;/svg&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;path d=&quot;M10 19h8V8h-8v11zM8 7.992C8 6.892 8.902 6 10.009 6h7.982C19.101 6 20 6.893 20 7.992v11.016c0 1.1-.902 1.992-2.009 1.992H10.01A2.001 2.001 0 018 19.008V7.992z&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M5 16V4.992C5 3.892 5.902 3 7.009 3H15v13H5zm2 0h8V5H7v11z&quot;&gt;&lt;/path&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;span class=&quot;prismjs css-1xfvm4v&quot; data-code-lang=&quot;&quot; data-ds--code--code-block=&quot;&quot; style=&quot;background-attachment: local, scroll, scroll; background-color: var(--ds--code--bg-color,#F4F5F7); background-image: linear-gradient(to left, rgb(244, 245, 247) 8px, transparent 8px), linear-gradient(to left, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px), linear-gradient(to right, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px); background-position: 100% 0px, 100% 0px, 0px 0px; border-radius: 3px; border-style: none; display: flex; grid-column: 1 / auto; line-height: 1.5rem; overflow-x: auto; white-space: pre;&quot;&gt;&lt;code style=&quot;-webkit-app-region: unset; -webkit-border-image: unset; -webkit-box-align: unset; -webkit-box-decoration-break: unset; -webkit-box-direction: unset; -webkit-box-flex: unset; -webkit-box-ordinal-group: unset; -webkit-box-orient: unset; -webkit-box-pack: unset; -webkit-box-reflect: unset; -webkit-font-smoothing: unset; -webkit-highlight: unset; -webkit-hyphenate-character: unset; -webkit-line-break: unset; -webkit-line-clamp: unset; -webkit-locale: unset; -webkit-mask-box-image: unset; -webkit-mask-composite: unset; -webkit-mask: unset; -webkit-perspective-origin-x: unset; -webkit-perspective-origin-y: unset; -webkit-print-color-adjust: unset; -webkit-rtl-ordering: unset; -webkit-ruby-position: unset; -webkit-tap-highlight-color: unset; -webkit-text-combine: unset; -webkit-text-decorations-in-effect: unset; -webkit-text-emphasis-position: unset; -webkit-text-emphasis: unset; -webkit-text-fill-color: unset; -webkit-text-orientation: unset; -webkit-text-security: unset; -webkit-text-stroke: unset; -webkit-transform-origin-x: unset; -webkit-transform-origin-y: unset; -webkit-transform-origin-z: unset; -webkit-user-drag: unset; -webkit-user-modify: unset; -webkit-writing-mode: unset; accent-color: unset; alignment-baseline: unset; animation: unset; appearance: unset; aspect-ratio: unset; backdrop-filter: unset; backface-visibility: unset; background-attachment: unset; background-blend-mode: unset; background-clip: unset; background-color: unset; background-image: linear-gradient(to right,var(--ds--code--line-number-bg-color,#EBECF0),var(--ds--code--line-number-bg-color,#EBECF0) calc(1ch + 16px),transparent calc(1ch + 16px),transparent); background-origin: unset; background-position: unset; background-repeat: unset; background-size: unset; baseline-shift: unset; block-size: unset; border-block: unset; border-collapse: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-inline: unset; border-radius: unset; border-spacing: unset; border-start-end-radius: unset; border-start-start-radius: unset; border: unset; box-shadow: unset; box-sizing: unset; break-after: unset; break-before: unset; break-inside: unset; buffered-rendering: unset; caption-side: unset; caret-color: unset; clear: unset; clip-path: unset; clip-rule: unset; clip: unset; color-interpolation-filters: unset; color-interpolation: unset; color-rendering: unset; color-scheme: unset; color: unset; column-fill: unset; column-rule: unset; column-span: unset; columns: unset; contain-intrinsic-size: unset; contain: unset; content-visibility: unset; content: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; cursor: unset; cx: unset; cy: unset; d: unset; display: unset; dominant-baseline: unset; empty-cells: unset; fill-opacity: unset; fill-rule: unset; fill: unset; filter: unset; flex-flow: unset; flex: 1 0 auto; float: unset; flood-color: unset; flood-opacity: unset; font-feature-settings: unset; font-kerning: unset; font-optical-sizing: unset; font-stretch: unset; font-style: unset; font-variant: unset; font-variation-settings: unset; font-weight: unset; forced-color-adjust: unset; gap: unset; grid-area: unset; grid: unset; height: unset; hyphens: unset; image-orientation: unset; image-rendering: unset; inline-size: unset; inset-block: unset; inset-inline: unset; inset: unset; isolation: unset; letter-spacing: unset; lighting-color: unset; line-break: unset; line-height: unset; list-style: unset; margin-block: unset; margin-inline: unset; margin: unset; marker: unset; mask-type: unset; mask: unset; max-block-size: unset; max-height: unset; max-inline-size: unset; max-width: unset; min-block-size: unset; min-height: unset; min-inline-size: unset; min-width: unset; mix-blend-mode: unset; object-fit: unset; object-position: unset; offset: unset; opacity: unset; order: unset; orphans: unset; outline-offset: unset; outline: unset; overflow-anchor: unset; overflow-clip-margin: unset; overflow-wrap: unset; overflow: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; overscroll-behavior: unset; padding-block: unset; padding-bottom: 8px; padding-inline: unset; padding-left: 0px; padding-right: 8px !important; padding-top: 8px; page-orientation: unset; page: unset; paint-order: unset; perspective-origin: unset; perspective: unset; place-content: unset; place-items: unset; place-self: unset; pointer-events: unset; position: unset; quotes: unset; r: unset; resize: unset; ruby-position: unset; rx: unset; ry: unset; scroll-behavior: unset; scroll-margin-block: unset; scroll-margin-inline: unset; scroll-margin: unset; scroll-padding-block: unset; scroll-padding-inline: unset; scroll-padding: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; scrollbar-gutter: unset; shape-image-threshold: unset; shape-margin: unset; shape-outside: unset; shape-rendering: unset; size: unset; speak: unset; stop-color: unset; stop-opacity: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-linecap: unset; stroke-linejoin: unset; stroke-miterlimit: unset; stroke-opacity: unset; stroke-width: unset; stroke: unset; tab-size: unset; table-layout: unset; text-align-last: unset; text-align: unset; text-anchor: unset; text-combine-upright: unset; text-decoration-skip-ink: unset; text-decoration: unset; text-indent: unset; text-orientation: unset; text-overflow: unset; text-rendering: unset; text-shadow: unset; text-size-adjust: unset; text-transform: unset; text-underline-offset: unset; text-underline-position: unset; touch-action: unset; transform-box: unset; transform-origin: unset; transform-style: unset; transform: unset; transition: unset; user-select: unset; vector-effect: unset; vertical-align: unset; visibility: unset; widows: unset; width: unset; will-change: unset; word-break: unset; word-spacing: unset; writing-mode: unset; x: unset; y: unset; z-index: unset; zoom: unset;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;&quot;&gt;exec into the drupal container and do a&amp;nbsp;ping host.docker.internal&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;5409&quot; style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;Although I needed to &lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;code-block sc-sdtwF jJqQfc&quot; style=&quot;background-color: white; border-radius: 3px; clear: both; color: #172b4d; display: grid; grid-template-columns: minmax(0px, 1fr); margin: 0.75rem 0px 0px; max-width: 100%; overflow-wrap: normal; padding: 0px; position: relative; tab-size: 4; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;sc-cmjSyW hIaCSa&quot; style=&quot;-webkit-box-pack: end; display: flex; grid-column: 1 / auto; justify-content: flex-end; position: sticky; top: 0px;&quot;&gt;&lt;div role=&quot;presentation&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;div style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;button aria-haspopup=&quot;true&quot; aria-label=&quot;Copy&quot; class=&quot;copy-to-clipboard css-jiizgi&quot; style=&quot;-webkit-box-align: baseline; -webkit-box-pack: center; align-items: baseline; background: none rgb(244, 245, 247); border-color: rgb(255, 255, 255); border-radius: 4px; border-style: solid; color: #42526e; cursor: pointer; display: flex; font-style: normal; font-weight: 500; height: 32px; justify-content: center; line-height: 1.71429em; max-width: 100%; opacity: 0; outline: none; padding: 2px; position: absolute; right: 6px; top: 4px; transition: opacity 0.2s ease 0s; vertical-align: middle; white-space: nowrap; width: 32px;&quot; tabindex=&quot;0&quot; type=&quot;button&quot;&gt;&lt;span class=&quot;css-1ujqpe8&quot; style=&quot;-webkit-box-flex: 0; align-self: center; display: flex; flex-grow: 0; flex-shrink: 0; line-height: 0; margin: 0px 2px; opacity: 1; transition: opacity 0.3s ease 0s; user-select: none;&quot;&gt;&lt;span aria-label=&quot;Copy&quot; class=&quot;css-pxzk9z&quot; role=&quot;img&quot; style=&quot;--icon-primary-color: currentColor; --icon-secondary-color: var(--background-default, #FFFFFF); display: inline-block; flex-shrink: 0; line-height: 1;&quot;&gt;&lt;svg height=&quot;24&quot; role=&quot;presentation&quot; viewbox=&quot;0 0 24 24&quot; width=&quot;24&quot;&gt;&lt;g fill=&quot;currentColor&quot;&gt;&lt;/g&gt;&lt;/svg&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;path d=&quot;M10 19h8V8h-8v11zM8 7.992C8 6.892 8.902 6 10.009 6h7.982C19.101 6 20 6.893 20 7.992v11.016c0 1.1-.902 1.992-2.009 1.992H10.01A2.001 2.001 0 018 19.008V7.992z&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M5 16V4.992C5 3.892 5.902 3 7.009 3H15v13H5zm2 0h8V5H7v11z&quot;&gt;&lt;/path&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;span class=&quot;prismjs css-1xfvm4v&quot; data-code-lang=&quot;&quot; data-ds--code--code-block=&quot;&quot; style=&quot;background-attachment: local, scroll, scroll; background-color: var(--ds--code--bg-color,#F4F5F7); background-image: linear-gradient(to left, rgb(244, 245, 247) 8px, transparent 8px), linear-gradient(to left, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px), linear-gradient(to right, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px); background-position: 100% 0px, 100% 0px, 0px 0px; border-radius: 3px; border-style: none; display: flex; grid-column: 1 / auto; line-height: 1.5rem; overflow-x: auto; white-space: pre;&quot;&gt;&lt;code style=&quot;-webkit-app-region: unset; -webkit-border-image: unset; -webkit-box-align: unset; -webkit-box-decoration-break: unset; -webkit-box-direction: unset; -webkit-box-flex: unset; -webkit-box-ordinal-group: unset; -webkit-box-orient: unset; -webkit-box-pack: unset; -webkit-box-reflect: unset; -webkit-font-smoothing: unset; -webkit-highlight: unset; -webkit-hyphenate-character: unset; -webkit-line-break: unset; -webkit-line-clamp: unset; -webkit-locale: unset; -webkit-mask-box-image: unset; -webkit-mask-composite: unset; -webkit-mask: unset; -webkit-perspective-origin-x: unset; -webkit-perspective-origin-y: unset; -webkit-print-color-adjust: unset; -webkit-rtl-ordering: unset; -webkit-ruby-position: unset; -webkit-tap-highlight-color: unset; -webkit-text-combine: unset; -webkit-text-decorations-in-effect: unset; -webkit-text-emphasis-position: unset; -webkit-text-emphasis: unset; -webkit-text-fill-color: unset; -webkit-text-orientation: unset; -webkit-text-security: unset; -webkit-text-stroke: unset; -webkit-transform-origin-x: unset; -webkit-transform-origin-y: unset; -webkit-transform-origin-z: unset; -webkit-user-drag: unset; -webkit-user-modify: unset; -webkit-writing-mode: unset; accent-color: unset; alignment-baseline: unset; animation: unset; appearance: unset; aspect-ratio: unset; backdrop-filter: unset; backface-visibility: unset; background-attachment: unset; background-blend-mode: unset; background-clip: unset; background-color: unset; background-image: linear-gradient(to right,var(--ds--code--line-number-bg-color,#EBECF0),var(--ds--code--line-number-bg-color,#EBECF0) calc(1ch + 16px),transparent calc(1ch + 16px),transparent); background-origin: unset; background-position: unset; background-repeat: unset; background-size: unset; baseline-shift: unset; block-size: unset; border-block: unset; border-collapse: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-inline: unset; border-radius: unset; border-spacing: unset; border-start-end-radius: unset; border-start-start-radius: unset; border: unset; box-shadow: unset; box-sizing: unset; break-after: unset; break-before: unset; break-inside: unset; buffered-rendering: unset; caption-side: unset; caret-color: unset; clear: unset; clip-path: unset; clip-rule: unset; clip: unset; color-interpolation-filters: unset; color-interpolation: unset; color-rendering: unset; color-scheme: unset; color: unset; column-fill: unset; column-rule: unset; column-span: unset; columns: unset; contain-intrinsic-size: unset; contain: unset; content-visibility: unset; content: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; cursor: unset; cx: unset; cy: unset; d: unset; display: unset; dominant-baseline: unset; empty-cells: unset; fill-opacity: unset; fill-rule: unset; fill: unset; filter: unset; flex-flow: unset; flex: 1 0 auto; float: unset; flood-color: unset; flood-opacity: unset; font-feature-settings: unset; font-kerning: unset; font-optical-sizing: unset; font-stretch: unset; font-style: unset; font-variant: unset; font-variation-settings: unset; font-weight: unset; forced-color-adjust: unset; gap: unset; grid-area: unset; grid: unset; height: unset; hyphens: unset; image-orientation: unset; image-rendering: unset; inline-size: unset; inset-block: unset; inset-inline: unset; inset: unset; isolation: unset; letter-spacing: unset; lighting-color: unset; line-break: unset; line-height: unset; list-style: unset; margin-block: unset; margin-inline: unset; margin: unset; marker: unset; mask-type: unset; mask: unset; max-block-size: unset; max-height: unset; max-inline-size: unset; max-width: unset; min-block-size: unset; min-height: unset; min-inline-size: unset; min-width: unset; mix-blend-mode: unset; object-fit: unset; object-position: unset; offset: unset; opacity: unset; order: unset; orphans: unset; outline-offset: unset; outline: unset; overflow-anchor: unset; overflow-clip-margin: unset; overflow-wrap: unset; overflow: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; overscroll-behavior: unset; padding-block: unset; padding-bottom: 8px; padding-inline: unset; padding-left: 0px; padding-right: 8px !important; padding-top: 8px; page-orientation: unset; page: unset; paint-order: unset; perspective-origin: unset; perspective: unset; place-content: unset; place-items: unset; place-self: unset; pointer-events: unset; position: unset; quotes: unset; r: unset; resize: unset; ruby-position: unset; rx: unset; ry: unset; scroll-behavior: unset; scroll-margin-block: unset; scroll-margin-inline: unset; scroll-margin: unset; scroll-padding-block: unset; scroll-padding-inline: unset; scroll-padding: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; scrollbar-gutter: unset; shape-image-threshold: unset; shape-margin: unset; shape-outside: unset; shape-rendering: unset; size: unset; speak: unset; stop-color: unset; stop-opacity: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-linecap: unset; stroke-linejoin: unset; stroke-miterlimit: unset; stroke-opacity: unset; stroke-width: unset; stroke: unset; tab-size: unset; table-layout: unset; text-align-last: unset; text-align: unset; text-anchor: unset; text-combine-upright: unset; text-decoration-skip-ink: unset; text-decoration: unset; text-indent: unset; text-orientation: unset; text-overflow: unset; text-rendering: unset; text-shadow: unset; text-size-adjust: unset; text-transform: unset; text-underline-offset: unset; text-underline-position: unset; touch-action: unset; transform-box: unset; transform-origin: unset; transform-style: unset; transform: unset; transition: unset; user-select: unset; vector-effect: unset; vertical-align: unset; visibility: unset; widows: unset; width: unset; will-change: unset; word-break: unset; word-spacing: unset; writing-mode: unset; x: unset; y: unset; z-index: unset; zoom: unset;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;&quot;&gt;apt-get update
&lt;/span&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;2&lt;/span&gt;apt-get install iputils-ping
&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;5478&quot; style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;This shows that I can ping the site ok. &amp;nbsp;

So this issue remains unresolved.  If anyone knows how to fix it then I&#39;d really like to know. 

Much appreciated. :)&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://littleripplesproject.blogspot.com/feeds/5457764230952499938/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8608610523928821757/5457764230952499938' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/5457764230952499938'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/5457764230952499938'/><link rel='alternate' type='text/html' href='http://littleripplesproject.blogspot.com/2021/10/macbook-pro-m1-chip-and-docker-issues.html' title='Macbook Pro M1 Chip and Docker issues and a Unresolved host.docker.internal issue.'/><author><name>DJ Millward</name><uri>http://www.blogger.com/profile/00956188700712120760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5uFzd1oDU8E1oYBaMPDAXQqDF8voL7_YuinTX2a5FTfUVOLIhcJsm0I-K32ktkqqP5cpdEDbnRa81lsicGD0m2mUF8MzoNxHRAF-6A3SIXAwEC4ScJzDjgmq73ZC6OlU/s220/surfing2008.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8608610523928821757.post-1124390239197063218</id><published>2021-09-23T14:58:00.003+01:00</published><updated>2021-09-27T08:29:10.351+01:00</updated><title type='text'>Mailgun: sending variables to template example - Fix &#39;&#39;Create and start coding&#39;&#39; greyed out issue. </title><content type='html'>&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;First of all in Mailgun we&#39;ll add a template.&amp;nbsp; &amp;nbsp;( Keep reading for the &#39;&#39;Create and start coding&#39;&#39; greyed out issue fix tip )&amp;nbsp;&lt;br /&gt;&lt;br /&gt;So log into your account and on the dashboard you&#39;ll see all of your domains.&amp;nbsp; Click on the name of the domain that you want to add a template for.&amp;nbsp; &amp;nbsp;Although there is a domain dropdown on the Template page itself, so no big deal if you want to change that later on.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Next up, you&#39;ll need to click on &#39;Sending&#39; in the left hand menu to see more options.&amp;nbsp; The 5th option down in this dropdown should be &#39;Templates&#39; .&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgfpa9VLQSGewfFHPqJS3tNppSs5DwaiLBKHArMSk-J3Kv1xgTxMbQ2hLikn9yEaK3D-PBAkyy0aaviMYWOzr8joX05iKl8IhuA6KwE6pdfD2kBlSvZzl0n7Et6UfC0ZAXc2SjaptTNrk//&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;462&quot; data-original-width=&quot;446&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgfpa9VLQSGewfFHPqJS3tNppSs5DwaiLBKHArMSk-J3Kv1xgTxMbQ2hLikn9yEaK3D-PBAkyy0aaviMYWOzr8joX05iKl8IhuA6KwE6pdfD2kBlSvZzl0n7Et6UfC0ZAXc2SjaptTNrk//&quot; width=&quot;232&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;br /&gt;Click on this.&amp;nbsp; And then in the next page you&#39;ll get to &#39;Create Message template&#39;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;You&#39;ll need to make sure the characters in the &#39;name&#39; are valid and you have some sort of description.&amp;nbsp; Otherwise the &#39;Create and start coding&#39; button is greyed out and you can&#39;t click on it.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;&lt;span style=&quot;background-color: #ffebe6; color: #172b4d; font-family: -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Noto Sans&amp;quot;, Ubuntu, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; letter-spacing: -0.08px; white-space: pre-wrap;&quot;&gt;I’m sure this will trip someone else up , &lt;b&gt;but the name input cannot be capitalised&lt;/b&gt;.  If it is the Mailgun &#39;Create Message template&#39;&amp;nbsp;will remain greyed out.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;p data-renderer-start-pos=&quot;837&quot; style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;In the HTML of template you’re setting up , you can add variable using the following. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;code-block sc-gcpVEs gKhvRl&quot; style=&quot;background-color: white; border-radius: 3px; clear: both; color: #172b4d; display: grid; grid-template-columns: minmax(0px, 1fr); margin: 0.75rem 0px 0px; max-width: 100%; overflow-wrap: normal; padding: 0px; position: relative; tab-size: 4; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;sc-eOnLuU cLnCDe&quot; style=&quot;-webkit-box-pack: end; display: flex; grid-column: 1 / auto; justify-content: flex-end; position: sticky; top: 0px;&quot;&gt;&lt;div role=&quot;presentation&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;div style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;button aria-haspopup=&quot;true&quot; aria-label=&quot;Copy&quot; class=&quot;copy-to-clipboard css-jiizgi&quot; style=&quot;-webkit-box-align: baseline; -webkit-box-pack: center; align-items: baseline; background: none rgb(244, 245, 247); border-color: rgb(255, 255, 255); border-radius: 4px; border-style: solid; color: #42526e; cursor: pointer; display: flex; font-style: normal; font-weight: 500; height: 32px; justify-content: center; line-height: 1.71429em; max-width: 100%; opacity: 0; outline: none; padding: 2px; position: absolute; right: 6px; top: 4px; transition: opacity 0.2s ease 0s; vertical-align: middle; white-space: nowrap; width: 32px;&quot; tabindex=&quot;0&quot; type=&quot;button&quot;&gt;&lt;span class=&quot;css-1ujqpe8&quot; style=&quot;-webkit-box-flex: 0; align-self: center; display: flex; flex-grow: 0; flex-shrink: 0; line-height: 0; margin: 0px 2px; opacity: 1; transition: opacity 0.3s ease 0s; user-select: none;&quot;&gt;&lt;span aria-label=&quot;Copy&quot; class=&quot;css-pxzk9z&quot; role=&quot;img&quot; style=&quot;--icon-primary-color: currentColor; --icon-secondary-color: #FFFFFF; display: inline-block; flex-shrink: 0; line-height: 1;&quot;&gt;&lt;svg height=&quot;24&quot; role=&quot;presentation&quot; viewbox=&quot;0 0 24 24&quot; width=&quot;24&quot;&gt;&lt;g fill=&quot;currentColor&quot;&gt;&lt;/g&gt;&lt;/svg&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;path d=&quot;M10 19h8V8h-8v11zM8 7.992C8 6.892 8.902 6 10.009 6h7.982C19.101 6 20 6.893 20 7.992v11.016c0 1.1-.902 1.992-2.009 1.992H10.01A2.001 2.001 0 018 19.008V7.992z&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M5 16V4.992C5 3.892 5.902 3 7.009 3H15v13H5zm2 0h8V5H7v11z&quot;&gt;&lt;/path&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;span class=&quot;prismjs css-1xfvm4v&quot; data-code-lang=&quot;&quot; data-ds--code--code-block=&quot;&quot; style=&quot;background-attachment: local, scroll, scroll; background-color: var(--ds--code--bg-color,#F4F5F7); background-image: linear-gradient(to left, rgb(244, 245, 247) 8px, transparent 8px), linear-gradient(to left, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px), linear-gradient(to right, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px); background-position: 100% 0px, 100% 0px, 0px 0px; border-radius: 3px; border-style: none; display: flex; grid-column: 1 / auto; line-height: 1.5rem; overflow-x: auto; white-space: pre;&quot;&gt;&lt;code style=&quot;-webkit-app-region: unset; -webkit-border-image: unset; -webkit-box-align: unset; -webkit-box-decoration-break: unset; -webkit-box-direction: unset; -webkit-box-flex: unset; -webkit-box-ordinal-group: unset; -webkit-box-orient: unset; -webkit-box-pack: unset; -webkit-box-reflect: unset; -webkit-font-smoothing: unset; -webkit-highlight: unset; -webkit-hyphenate-character: unset; -webkit-line-break: unset; -webkit-line-clamp: unset; -webkit-locale: unset; -webkit-mask-box-image: unset; -webkit-mask-composite: unset; -webkit-mask: unset; -webkit-perspective-origin-x: unset; -webkit-perspective-origin-y: unset; -webkit-print-color-adjust: unset; -webkit-rtl-ordering: unset; -webkit-ruby-position: unset; -webkit-tap-highlight-color: unset; -webkit-text-combine: unset; -webkit-text-decorations-in-effect: unset; -webkit-text-emphasis-position: unset; -webkit-text-emphasis: unset; -webkit-text-fill-color: unset; -webkit-text-orientation: unset; -webkit-text-security: unset; -webkit-text-stroke: unset; -webkit-transform-origin-x: unset; -webkit-transform-origin-y: unset; -webkit-transform-origin-z: unset; -webkit-user-drag: unset; -webkit-user-modify: unset; -webkit-writing-mode: unset; accent-color: unset; alignment-baseline: unset; animation: unset; appearance: unset; aspect-ratio: unset; backdrop-filter: unset; backface-visibility: unset; background-attachment: unset; background-blend-mode: unset; background-clip: unset; background-color: unset; background-image: linear-gradient(to right,var(--ds--code--line-number-bg-color,#EBECF0),var(--ds--code--line-number-bg-color,#EBECF0) calc(1ch + 16px),transparent calc(1ch + 16px),transparent); background-origin: unset; background-position: unset; background-repeat: unset; background-size: unset; baseline-shift: unset; block-size: unset; border-block: unset; border-collapse: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-inline: unset; border-radius: unset; border-spacing: unset; border-start-end-radius: unset; border-start-start-radius: unset; border: unset; box-shadow: unset; box-sizing: unset; break-after: unset; break-before: unset; break-inside: unset; buffered-rendering: unset; caption-side: unset; caret-color: unset; clear: unset; clip-path: unset; clip-rule: unset; clip: unset; color-interpolation-filters: unset; color-interpolation: unset; color-rendering: unset; color-scheme: unset; color: unset; column-fill: unset; column-rule: unset; column-span: unset; columns: unset; contain-intrinsic-size: unset; contain: unset; content-visibility: unset; content: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; cursor: unset; cx: unset; cy: unset; d: unset; display: unset; dominant-baseline: unset; empty-cells: unset; fill-opacity: unset; fill-rule: unset; fill: unset; filter: unset; flex-flow: unset; flex: 1 0 auto; float: unset; flood-color: unset; flood-opacity: unset; font-feature-settings: unset; font-kerning: unset; font-optical-sizing: unset; font-stretch: unset; font-style: unset; font-variant: unset; font-variation-settings: unset; font-weight: unset; forced-color-adjust: unset; gap: unset; grid-area: unset; grid: unset; height: unset; hyphens: unset; image-orientation: unset; image-rendering: unset; inline-size: unset; inset-block: unset; inset-inline: unset; inset: unset; isolation: unset; letter-spacing: unset; lighting-color: unset; line-break: unset; line-height: unset; list-style: unset; margin-block: unset; margin-inline: unset; margin: unset; marker: unset; mask-type: unset; mask: unset; max-block-size: unset; max-height: unset; max-inline-size: unset; max-width: unset; min-block-size: unset; min-height: unset; min-inline-size: unset; min-width: unset; mix-blend-mode: unset; object-fit: unset; object-position: unset; offset: unset; opacity: unset; order: unset; orphans: unset; outline-offset: unset; outline: unset; overflow-anchor: unset; overflow-clip-margin: unset; overflow-wrap: unset; overflow: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; overscroll-behavior: unset; padding-block: unset; padding-bottom: 8px; padding-inline: unset; padding-left: 0px; padding-right: 8px !important; padding-top: 8px; padding: 8px 8px 8px 0px; page-orientation: unset; page: unset; paint-order: unset; perspective-origin: unset; perspective: unset; place-content: unset; place-items: unset; place-self: unset; pointer-events: unset; position: unset; quotes: unset; r: unset; resize: unset; ruby-position: unset; rx: unset; ry: unset; scroll-behavior: unset; scroll-margin-block: unset; scroll-margin-inline: unset; scroll-margin: unset; scroll-padding-block: unset; scroll-padding-inline: unset; scroll-padding: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; scrollbar-gutter: unset; shape-image-threshold: unset; shape-margin: unset; shape-outside: unset; shape-rendering: unset; size: unset; speak: unset; stop-color: unset; stop-opacity: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-linecap: unset; stroke-linejoin: unset; stroke-miterlimit: unset; stroke-opacity: unset; stroke-width: unset; stroke: unset; tab-size: unset; table-layout: unset; text-align-last: unset; text-align: unset; text-anchor: unset; text-combine-upright: unset; text-decoration-skip-ink: unset; text-decoration: unset; text-indent: unset; text-orientation: unset; text-overflow: unset; text-rendering: unset; text-shadow: unset; text-size-adjust: unset; text-transform: unset; text-underline-offset: unset; text-underline-position: unset; touch-action: unset; transform-box: unset; transform-origin: unset; transform-style: unset; transform: unset; transition: unset; user-select: unset; vector-effect: unset; vertical-align: unset; visibility: unset; widows: unset; width: unset; will-change: unset; word-break: unset; word-spacing: unset; writing-mode: unset; x: unset; y: unset; z-index: unset; zoom: unset;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;1&lt;/span&gt;&lt;span&gt;{{ firstname }} {{ lastname }}&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;1049&quot; style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;How to send from Flask .  &lt;br /&gt;&lt;br /&gt;So here the function for sending a standard MIME email.  With some HTML &lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;code-block sc-gcpVEs gKhvRl&quot; style=&quot;background-color: white; border-radius: 3px; clear: both; color: #172b4d; display: grid; grid-template-columns: minmax(0px, 1fr); margin: 0.75rem 0px 0px; max-width: 100%; overflow-wrap: normal; padding: 0px; position: relative; tab-size: 4; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;sc-eOnLuU cLnCDe&quot; style=&quot;-webkit-box-pack: end; display: flex; grid-column: 1 / auto; justify-content: flex-end; position: sticky; top: 0px;&quot;&gt;&lt;div role=&quot;presentation&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;div style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;button aria-haspopup=&quot;true&quot; aria-label=&quot;Copy&quot; class=&quot;copy-to-clipboard css-jiizgi&quot; style=&quot;-webkit-box-align: baseline; -webkit-box-pack: center; align-items: baseline; background: none rgb(244, 245, 247); border-color: rgb(255, 255, 255); border-radius: 4px; border-style: solid; color: #42526e; cursor: pointer; display: flex; font-style: normal; font-weight: 500; height: 32px; justify-content: center; line-height: 1.71429em; max-width: 100%; opacity: 0; outline: none; padding: 2px; position: absolute; right: 6px; top: 4px; transition: opacity 0.2s ease 0s; vertical-align: middle; white-space: nowrap; width: 32px;&quot; tabindex=&quot;0&quot; type=&quot;button&quot;&gt;&lt;span class=&quot;css-1ujqpe8&quot; style=&quot;-webkit-box-flex: 0; align-self: center; display: flex; flex-grow: 0; flex-shrink: 0; line-height: 0; margin: 0px 2px; opacity: 1; transition: opacity 0.3s ease 0s; user-select: none;&quot;&gt;&lt;span aria-label=&quot;Copy&quot; class=&quot;css-pxzk9z&quot; role=&quot;img&quot; style=&quot;--icon-primary-color: currentColor; --icon-secondary-color: #FFFFFF; display: inline-block; flex-shrink: 0; line-height: 1;&quot;&gt;&lt;svg height=&quot;24&quot; role=&quot;presentation&quot; viewbox=&quot;0 0 24 24&quot; width=&quot;24&quot;&gt;&lt;g fill=&quot;currentColor&quot;&gt;&lt;/g&gt;&lt;/svg&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;path d=&quot;M10 19h8V8h-8v11zM8 7.992C8 6.892 8.902 6 10.009 6h7.982C19.101 6 20 6.893 20 7.992v11.016c0 1.1-.902 1.992-2.009 1.992H10.01A2.001 2.001 0 018 19.008V7.992z&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M5 16V4.992C5 3.892 5.902 3 7.009 3H15v13H5zm2 0h8V5H7v11z&quot;&gt;&lt;/path&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;span class=&quot;prismjs css-10fl9lg&quot; data-code-lang=&quot;&quot; data-ds--code--code-block=&quot;&quot; style=&quot;background-attachment: local, scroll, scroll; background-color: var(--ds--code--bg-color,#F4F5F7); background-image: linear-gradient(to left, rgb(244, 245, 247) 8px, transparent 8px), linear-gradient(to left, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px), linear-gradient(to right, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px); background-position: 100% 0px, 100% 0px, 0px 0px; border-radius: 3px; border-style: none; display: flex; grid-column: 1 / auto; line-height: 1.5rem; overflow-x: auto; white-space: pre;&quot;&gt;&lt;code style=&quot;-webkit-app-region: unset; -webkit-border-image: unset; -webkit-box-align: unset; -webkit-box-decoration-break: unset; -webkit-box-direction: unset; -webkit-box-flex: unset; -webkit-box-ordinal-group: unset; -webkit-box-orient: unset; -webkit-box-pack: unset; -webkit-box-reflect: unset; -webkit-font-smoothing: unset; -webkit-highlight: unset; -webkit-hyphenate-character: unset; -webkit-line-break: unset; -webkit-line-clamp: unset; -webkit-locale: unset; -webkit-mask-box-image: unset; -webkit-mask-composite: unset; -webkit-mask: unset; -webkit-perspective-origin-x: unset; -webkit-perspective-origin-y: unset; -webkit-print-color-adjust: unset; -webkit-rtl-ordering: unset; -webkit-ruby-position: unset; -webkit-tap-highlight-color: unset; -webkit-text-combine: unset; -webkit-text-decorations-in-effect: unset; -webkit-text-emphasis-position: unset; -webkit-text-emphasis: unset; -webkit-text-fill-color: unset; -webkit-text-orientation: unset; -webkit-text-security: unset; -webkit-text-stroke: unset; -webkit-transform-origin-x: unset; -webkit-transform-origin-y: unset; -webkit-transform-origin-z: unset; -webkit-user-drag: unset; -webkit-user-modify: unset; -webkit-writing-mode: unset; accent-color: unset; alignment-baseline: unset; animation: unset; appearance: unset; aspect-ratio: unset; backdrop-filter: unset; backface-visibility: unset; background-attachment: unset; background-blend-mode: unset; background-clip: unset; background-color: unset; background-image: linear-gradient(to right,var(--ds--code--line-number-bg-color,#EBECF0),var(--ds--code--line-number-bg-color,#EBECF0) calc(2ch + 16px),transparent calc(2ch + 16px),transparent); background-origin: unset; background-position: unset; background-repeat: unset; background-size: unset; baseline-shift: unset; block-size: unset; border-block: unset; border-collapse: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-inline: unset; border-radius: unset; border-spacing: unset; border-start-end-radius: unset; border-start-start-radius: unset; border: unset; box-shadow: unset; box-sizing: unset; break-after: unset; break-before: unset; break-inside: unset; buffered-rendering: unset; caption-side: unset; caret-color: unset; clear: unset; clip-path: unset; clip-rule: unset; clip: unset; color-interpolation-filters: unset; color-interpolation: unset; color-rendering: unset; color-scheme: unset; color: unset; column-fill: unset; column-rule: unset; column-span: unset; columns: unset; contain-intrinsic-size: unset; contain: unset; content-visibility: unset; content: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; cursor: unset; cx: unset; cy: unset; d: unset; display: unset; dominant-baseline: unset; empty-cells: unset; fill-opacity: unset; fill-rule: unset; fill: unset; filter: unset; flex-flow: unset; flex: 1 0 auto; float: unset; flood-color: unset; flood-opacity: unset; font-feature-settings: unset; font-kerning: unset; font-optical-sizing: unset; font-stretch: unset; font-style: unset; font-variant: unset; font-variation-settings: unset; font-weight: unset; forced-color-adjust: unset; gap: unset; grid-area: unset; grid: unset; height: unset; hyphens: unset; image-orientation: unset; image-rendering: unset; inline-size: unset; inset-block: unset; inset-inline: unset; inset: unset; isolation: unset; letter-spacing: unset; lighting-color: unset; line-break: unset; line-height: unset; list-style: unset; margin-block: unset; margin-inline: unset; margin: unset; marker: unset; mask-type: unset; mask: unset; max-block-size: unset; max-height: unset; max-inline-size: unset; max-width: unset; min-block-size: unset; min-height: unset; min-inline-size: unset; min-width: unset; mix-blend-mode: unset; object-fit: unset; object-position: unset; offset: unset; opacity: unset; order: unset; orphans: unset; outline-offset: unset; outline: unset; overflow-anchor: unset; overflow-clip-margin: unset; overflow-wrap: unset; overflow: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; overscroll-behavior: unset; padding-block: unset; padding-bottom: 8px; padding-inline: unset; padding-left: 0px; padding-right: 8px !important; padding-top: 8px; padding: 8px 8px 8px 0px; page-orientation: unset; page: unset; paint-order: unset; perspective-origin: unset; perspective: unset; place-content: unset; place-items: unset; place-self: unset; pointer-events: unset; position: unset; quotes: unset; r: unset; resize: unset; ruby-position: unset; rx: unset; ry: unset; scroll-behavior: unset; scroll-margin-block: unset; scroll-margin-inline: unset; scroll-margin: unset; scroll-padding-block: unset; scroll-padding-inline: unset; scroll-padding: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; scrollbar-gutter: unset; shape-image-threshold: unset; shape-margin: unset; shape-outside: unset; shape-rendering: unset; size: unset; speak: unset; stop-color: unset; stop-opacity: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-linecap: unset; stroke-linejoin: unset; stroke-miterlimit: unset; stroke-opacity: unset; stroke-width: unset; stroke: unset; tab-size: unset; table-layout: unset; text-align-last: unset; text-align: unset; text-anchor: unset; text-combine-upright: unset; text-decoration-skip-ink: unset; text-decoration: unset; text-indent: unset; text-orientation: unset; text-overflow: unset; text-rendering: unset; text-shadow: unset; text-size-adjust: unset; text-transform: unset; text-underline-offset: unset; text-underline-position: unset; touch-action: unset; transform-box: unset; transform-origin: unset; transform-style: unset; transform: unset; transition: unset; user-select: unset; vector-effect: unset; vertical-align: unset; visibility: unset; widows: unset; width: unset; will-change: unset; word-break: unset; word-spacing: unset; writing-mode: unset; x: unset; y: unset; z-index: unset; zoom: unset;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;1&lt;/span&gt;&lt;span&gt;    def send_html_message(self):
&lt;/span&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;2&lt;/span&gt;        return requests.post(
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;3&lt;/span&gt;            self.send_message_api,
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;4&lt;/span&gt;            auth=(&quot;api&quot;, self.mailgun_api_key),
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;5&lt;/span&gt;            data={
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;6&lt;/span&gt;                &quot;from&quot;: self.from_string,
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;7&lt;/span&gt;                &quot;to&quot;: [self.to_address_2],
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;8&lt;/span&gt;                &quot;cc&quot;: [self.to_address_1],
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;9&lt;/span&gt;                &quot;subject&quot;: &quot;HTML test&quot;,
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;10&lt;/span&gt;                &quot;html&quot;: &quot;&amp;lt;strong&amp;gt;Hello World&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;&amp;lt;p&amp;gt;Hi&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;This is an HTML test send &amp;lt;/p&amp;gt;&quot;,
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;11&lt;/span&gt;            },
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;12&lt;/span&gt;        )
&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;1614&quot; style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p data-renderer-start-pos=&quot;1616&quot; style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;And this is one where we use our ‘newsletter’ template and send through some variables. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;code-block sc-gcpVEs gKhvRl&quot; style=&quot;background-color: white; border-radius: 3px; clear: both; color: #172b4d; display: grid; grid-template-columns: minmax(0px, 1fr); margin: 0.75rem 0px 0px; max-width: 100%; overflow-wrap: normal; padding: 0px; position: relative; tab-size: 4; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;sc-eOnLuU cLnCDe&quot; style=&quot;-webkit-box-pack: end; display: flex; grid-column: 1 / auto; justify-content: flex-end; position: sticky; top: 0px;&quot;&gt;&lt;div role=&quot;presentation&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;div style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;button aria-haspopup=&quot;true&quot; aria-label=&quot;Copy&quot; class=&quot;copy-to-clipboard css-jiizgi&quot; style=&quot;-webkit-box-align: baseline; -webkit-box-pack: center; align-items: baseline; background: none rgb(244, 245, 247); border-color: rgb(255, 255, 255); border-radius: 4px; border-style: solid; color: #42526e; cursor: pointer; display: flex; font-style: normal; font-weight: 500; height: 32px; justify-content: center; line-height: 1.71429em; max-width: 100%; opacity: 0; outline: none; padding: 2px; position: absolute; right: 6px; top: 4px; transition: opacity 0.2s ease 0s; vertical-align: middle; white-space: nowrap; width: 32px;&quot; tabindex=&quot;0&quot; type=&quot;button&quot;&gt;&lt;span class=&quot;css-1ujqpe8&quot; style=&quot;-webkit-box-flex: 0; align-self: center; display: flex; flex-grow: 0; flex-shrink: 0; line-height: 0; margin: 0px 2px; opacity: 1; transition: opacity 0.3s ease 0s; user-select: none;&quot;&gt;&lt;span aria-label=&quot;Copy&quot; class=&quot;css-pxzk9z&quot; role=&quot;img&quot; style=&quot;--icon-primary-color: currentColor; --icon-secondary-color: #FFFFFF; display: inline-block; flex-shrink: 0; line-height: 1;&quot;&gt;&lt;svg height=&quot;24&quot; role=&quot;presentation&quot; viewbox=&quot;0 0 24 24&quot; width=&quot;24&quot;&gt;&lt;g fill=&quot;currentColor&quot;&gt;&lt;/g&gt;&lt;/svg&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;path d=&quot;M10 19h8V8h-8v11zM8 7.992C8 6.892 8.902 6 10.009 6h7.982C19.101 6 20 6.893 20 7.992v11.016c0 1.1-.902 1.992-2.009 1.992H10.01A2.001 2.001 0 018 19.008V7.992z&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M5 16V4.992C5 3.892 5.902 3 7.009 3H15v13H5zm2 0h8V5H7v11z&quot;&gt;&lt;/path&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;span class=&quot;prismjs css-10fl9lg&quot; data-code-lang=&quot;&quot; data-ds--code--code-block=&quot;&quot; style=&quot;background-attachment: local, scroll, scroll; background-color: var(--ds--code--bg-color,#F4F5F7); background-image: linear-gradient(to left, rgb(244, 245, 247) 8px, transparent 8px), linear-gradient(to left, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px), linear-gradient(to right, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px); background-position: 100% 0px, 100% 0px, 0px 0px; border-radius: 3px; border-style: none; display: flex; grid-column: 1 / auto; line-height: 1.5rem; overflow-x: auto; white-space: pre;&quot;&gt;&lt;code style=&quot;-webkit-app-region: unset; -webkit-border-image: unset; -webkit-box-align: unset; -webkit-box-decoration-break: unset; -webkit-box-direction: unset; -webkit-box-flex: unset; -webkit-box-ordinal-group: unset; -webkit-box-orient: unset; -webkit-box-pack: unset; -webkit-box-reflect: unset; -webkit-font-smoothing: unset; -webkit-highlight: unset; -webkit-hyphenate-character: unset; -webkit-line-break: unset; -webkit-line-clamp: unset; -webkit-locale: unset; -webkit-mask-box-image: unset; -webkit-mask-composite: unset; -webkit-mask: unset; -webkit-perspective-origin-x: unset; -webkit-perspective-origin-y: unset; -webkit-print-color-adjust: unset; -webkit-rtl-ordering: unset; -webkit-ruby-position: unset; -webkit-tap-highlight-color: unset; -webkit-text-combine: unset; -webkit-text-decorations-in-effect: unset; -webkit-text-emphasis-position: unset; -webkit-text-emphasis: unset; -webkit-text-fill-color: unset; -webkit-text-orientation: unset; -webkit-text-security: unset; -webkit-text-stroke: unset; -webkit-transform-origin-x: unset; -webkit-transform-origin-y: unset; -webkit-transform-origin-z: unset; -webkit-user-drag: unset; -webkit-user-modify: unset; -webkit-writing-mode: unset; accent-color: unset; alignment-baseline: unset; animation: unset; appearance: unset; aspect-ratio: unset; backdrop-filter: unset; backface-visibility: unset; background-attachment: unset; background-blend-mode: unset; background-clip: unset; background-color: unset; background-image: linear-gradient(to right,var(--ds--code--line-number-bg-color,#EBECF0),var(--ds--code--line-number-bg-color,#EBECF0) calc(2ch + 16px),transparent calc(2ch + 16px),transparent); background-origin: unset; background-position: unset; background-repeat: unset; background-size: unset; baseline-shift: unset; block-size: unset; border-block: unset; border-collapse: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-inline: unset; border-radius: unset; border-spacing: unset; border-start-end-radius: unset; border-start-start-radius: unset; border: unset; box-shadow: unset; box-sizing: unset; break-after: unset; break-before: unset; break-inside: unset; buffered-rendering: unset; caption-side: unset; caret-color: unset; clear: unset; clip-path: unset; clip-rule: unset; clip: unset; color-interpolation-filters: unset; color-interpolation: unset; color-rendering: unset; color-scheme: unset; color: unset; column-fill: unset; column-rule: unset; column-span: unset; columns: unset; contain-intrinsic-size: unset; contain: unset; content-visibility: unset; content: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; cursor: unset; cx: unset; cy: unset; d: unset; display: unset; dominant-baseline: unset; empty-cells: unset; fill-opacity: unset; fill-rule: unset; fill: unset; filter: unset; flex-flow: unset; flex: 1 0 auto; float: unset; flood-color: unset; flood-opacity: unset; font-feature-settings: unset; font-kerning: unset; font-optical-sizing: unset; font-stretch: unset; font-style: unset; font-variant: unset; font-variation-settings: unset; font-weight: unset; forced-color-adjust: unset; gap: unset; grid-area: unset; grid: unset; height: unset; hyphens: unset; image-orientation: unset; image-rendering: unset; inline-size: unset; inset-block: unset; inset-inline: unset; inset: unset; isolation: unset; letter-spacing: unset; lighting-color: unset; line-break: unset; line-height: unset; list-style: unset; margin-block: unset; margin-inline: unset; margin: unset; marker: unset; mask-type: unset; mask: unset; max-block-size: unset; max-height: unset; max-inline-size: unset; max-width: unset; min-block-size: unset; min-height: unset; min-inline-size: unset; min-width: unset; mix-blend-mode: unset; object-fit: unset; object-position: unset; offset: unset; opacity: unset; order: unset; orphans: unset; outline-offset: unset; outline: unset; overflow-anchor: unset; overflow-clip-margin: unset; overflow-wrap: unset; overflow: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; overscroll-behavior: unset; padding-block: unset; padding-bottom: 8px; padding-inline: unset; padding-left: 0px; padding-right: 8px !important; padding-top: 8px; padding: 8px 8px 8px 0px; page-orientation: unset; page: unset; paint-order: unset; perspective-origin: unset; perspective: unset; place-content: unset; place-items: unset; place-self: unset; pointer-events: unset; position: unset; quotes: unset; r: unset; resize: unset; ruby-position: unset; rx: unset; ry: unset; scroll-behavior: unset; scroll-margin-block: unset; scroll-margin-inline: unset; scroll-margin: unset; scroll-padding-block: unset; scroll-padding-inline: unset; scroll-padding: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; scrollbar-gutter: unset; shape-image-threshold: unset; shape-margin: unset; shape-outside: unset; shape-rendering: unset; size: unset; speak: unset; stop-color: unset; stop-opacity: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-linecap: unset; stroke-linejoin: unset; stroke-miterlimit: unset; stroke-opacity: unset; stroke-width: unset; stroke: unset; tab-size: unset; table-layout: unset; text-align-last: unset; text-align: unset; text-anchor: unset; text-combine-upright: unset; text-decoration-skip-ink: unset; text-decoration: unset; text-indent: unset; text-orientation: unset; text-overflow: unset; text-rendering: unset; text-shadow: unset; text-size-adjust: unset; text-transform: unset; text-underline-offset: unset; text-underline-position: unset; touch-action: unset; transform-box: unset; transform-origin: unset; transform-style: unset; transform: unset; transition: unset; user-select: unset; vector-effect: unset; vertical-align: unset; visibility: unset; widows: unset; width: unset; will-change: unset; word-break: unset; word-spacing: unset; writing-mode: unset; x: unset; y: unset; z-index: unset; zoom: unset;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;1&lt;/span&gt;&lt;span&gt;    def send_simple_message_template(self):
&lt;/span&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;2&lt;/span&gt;        return requests.post(
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;3&lt;/span&gt;            self.send_message_api,
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;4&lt;/span&gt;            auth=(&quot;api&quot;, self.mailgun_api_key),
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;5&lt;/span&gt;            data={&quot;from&quot;: self.from_string,
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;6&lt;/span&gt;                &quot;to&quot;: &quot;David Millward &amp;lt;dj@flowmo.co&amp;gt;&quot;,
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;7&lt;/span&gt;                &quot;subject&quot;: self.subject,
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;8&lt;/span&gt;                &quot;template&quot;: &quot;newsletter&quot;,
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;9&lt;/span&gt;                &quot;v:firstname&quot;:&quot;David&quot;,
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;10&lt;/span&gt;                &quot;v:lastname&quot;:&quot;John&quot;,
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; color=&quot;rgb(80, 95, 121) !important&quot; style=&quot;box-sizing: border-box; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;11&lt;/span&gt;                })
&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;2143&quot; style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;This one will send our newsletter, with the clients name on it. &lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://littleripplesproject.blogspot.com/feeds/1124390239197063218/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8608610523928821757/1124390239197063218' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/1124390239197063218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/1124390239197063218'/><link rel='alternate' type='text/html' href='http://littleripplesproject.blogspot.com/2021/09/mailgun-sending-variables-to-template.html' title='Mailgun: sending variables to template example - Fix &#39;&#39;Create and start coding&#39;&#39; greyed out issue. '/><author><name>DJ Millward</name><uri>http://www.blogger.com/profile/00956188700712120760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5uFzd1oDU8E1oYBaMPDAXQqDF8voL7_YuinTX2a5FTfUVOLIhcJsm0I-K32ktkqqP5cpdEDbnRa81lsicGD0m2mUF8MzoNxHRAF-6A3SIXAwEC4ScJzDjgmq73ZC6OlU/s220/surfing2008.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgfpa9VLQSGewfFHPqJS3tNppSs5DwaiLBKHArMSk-J3Kv1xgTxMbQ2hLikn9yEaK3D-PBAkyy0aaviMYWOzr8joX05iKl8IhuA6KwE6pdfD2kBlSvZzl0n7Et6UfC0ZAXc2SjaptTNrk/s72-c/" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8608610523928821757.post-7398489070668777191</id><published>2021-09-21T13:24:00.005+01:00</published><updated>2021-09-21T13:24:32.737+01:00</updated><title type='text'>Docker - failed to solve with frontend dockerfile.v0: failed to create LLB definition: no match for platform in manifest sha256:X: not found 7ERROR: Service &#39;myservice&#39; failed to build : Build failed</title><content type='html'>&lt;div class=&quot;code-block sc-dliRfk ejZjQt&quot; style=&quot;background-color: white; border-radius: 3px; clear: both; color: #172b4d; display: grid; grid-template-columns: minmax(0px, 1fr); margin: 0.75rem 0px 0px; max-width: 100%; overflow-wrap: normal; padding: 0px; position: relative; tab-size: 4; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;prismjs css-1xfvm4v&quot; data-code-lang=&quot;&quot; data-ds--code--code-block=&quot;&quot; style=&quot;background-attachment: local, scroll, scroll; background-color: var(--ds--code--bg-color,#F4F5F7); background-image: linear-gradient(to left, rgb(244, 245, 247) 8px, transparent 8px), linear-gradient(to left, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px), linear-gradient(to right, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px); background-position: 100% 0px, 100% 0px, 0px 0px; border-radius: 3px; border-style: none; display: flex; grid-column: 1 / auto; line-height: 1.5rem; overflow-x: auto; white-space: pre;&quot;&gt;&lt;code style=&quot;-webkit-app-region: unset; -webkit-border-image: unset; -webkit-box-align: unset; -webkit-box-decoration-break: unset; -webkit-box-direction: unset; -webkit-box-flex: unset; -webkit-box-ordinal-group: unset; -webkit-box-orient: unset; -webkit-box-pack: unset; -webkit-box-reflect: unset; -webkit-font-smoothing: unset; -webkit-highlight: unset; -webkit-hyphenate-character: unset; -webkit-line-break: unset; -webkit-line-clamp: unset; -webkit-locale: unset; -webkit-mask-box-image: unset; -webkit-mask-composite: unset; -webkit-mask: unset; -webkit-perspective-origin-x: unset; -webkit-perspective-origin-y: unset; -webkit-print-color-adjust: unset; -webkit-rtl-ordering: unset; -webkit-ruby-position: unset; -webkit-tap-highlight-color: unset; -webkit-text-combine: unset; -webkit-text-decorations-in-effect: unset; -webkit-text-emphasis-position: unset; -webkit-text-emphasis: unset; -webkit-text-fill-color: unset; -webkit-text-orientation: unset; -webkit-text-security: unset; -webkit-text-stroke: unset; -webkit-transform-origin-x: unset; -webkit-transform-origin-y: unset; -webkit-transform-origin-z: unset; -webkit-user-drag: unset; -webkit-user-modify: unset; -webkit-writing-mode: unset; accent-color: unset; alignment-baseline: unset; animation: unset; appearance: unset; aspect-ratio: unset; backdrop-filter: unset; backface-visibility: unset; background-attachment: unset; background-blend-mode: unset; background-clip: unset; background-color: unset; background-image: linear-gradient(to right,var(--ds--code--line-number-bg-color,#EBECF0),var(--ds--code--line-number-bg-color,#EBECF0) calc(1ch + 16px),transparent calc(1ch + 16px),transparent); background-origin: unset; background-position: unset; background-repeat: unset; background-size: unset; baseline-shift: unset; block-size: unset; border-block: unset; border-collapse: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-inline: unset; border-radius: unset; border-spacing: unset; border-start-end-radius: unset; border-start-start-radius: unset; border: unset; box-shadow: unset; box-sizing: unset; break-after: unset; break-before: unset; break-inside: unset; buffered-rendering: unset; caption-side: unset; caret-color: unset; clear: unset; clip-path: unset; clip-rule: unset; clip: unset; color-interpolation-filters: unset; color-interpolation: unset; color-rendering: unset; color-scheme: unset; color: unset; column-fill: unset; column-rule: unset; column-span: unset; columns: unset; contain-intrinsic-size: unset; contain: unset; content-visibility: unset; content: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; cursor: unset; cx: unset; cy: unset; d: unset; display: unset; dominant-baseline: unset; empty-cells: unset; fill-opacity: unset; fill-rule: unset; fill: unset; filter: unset; flex-flow: unset; flex: 1 0 auto; float: unset; flood-color: unset; flood-opacity: unset; font-feature-settings: unset; font-kerning: unset; font-optical-sizing: unset; font-stretch: unset; font-style: unset; font-variant: unset; font-variation-settings: unset; font-weight: unset; forced-color-adjust: unset; gap: unset; grid-area: unset; grid: unset; height: unset; hyphens: unset; image-orientation: unset; image-rendering: unset; inline-size: unset; inset-block: unset; inset-inline: unset; inset: unset; isolation: unset; letter-spacing: unset; lighting-color: unset; line-break: unset; line-height: unset; list-style: unset; margin-block: unset; margin-inline: unset; margin: unset; marker: unset; mask-type: unset; mask: unset; max-block-size: unset; max-height: unset; max-inline-size: unset; max-width: unset; min-block-size: unset; min-height: unset; min-inline-size: unset; min-width: unset; mix-blend-mode: unset; object-fit: unset; object-position: unset; offset: unset; opacity: unset; order: unset; orphans: unset; outline-offset: unset; outline: unset; overflow-anchor: unset; overflow-clip-margin: unset; overflow-wrap: unset; overflow: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; overscroll-behavior: unset; padding-block: unset; padding-bottom: 8px; padding-inline: unset; padding-left: 0px; padding-right: 8px !important; padding-top: 8px; page-orientation: unset; page: unset; paint-order: unset; perspective-origin: unset; perspective: unset; place-content: unset; place-items: unset; place-self: unset; pointer-events: unset; position: unset; quotes: unset; r: unset; resize: unset; ruby-position: unset; rx: unset; ry: unset; scroll-behavior: unset; scroll-margin-block: unset; scroll-margin-inline: unset; scroll-margin: unset; scroll-padding-block: unset; scroll-padding-inline: unset; scroll-padding: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; shape-image-threshold: unset; shape-margin: unset; shape-outside: unset; shape-rendering: unset; size: unset; speak: unset; stop-color: unset; stop-opacity: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-linecap: unset; stroke-linejoin: unset; stroke-miterlimit: unset; stroke-opacity: unset; stroke-width: unset; stroke: unset; tab-size: unset; table-layout: unset; text-align-last: unset; text-align: unset; text-anchor: unset; text-combine-upright: unset; text-decoration-skip-ink: unset; text-decoration: unset; text-indent: unset; text-orientation: unset; text-overflow: unset; text-rendering: unset; text-shadow: unset; text-size-adjust: unset; text-transform: unset; text-underline-offset: unset; text-underline-position: unset; touch-action: unset; transform-box: unset; transform-origin: unset; transform-style: unset; transform: unset; transition: unset; user-select: unset; vector-effect: unset; vertical-align: unset; visibility: unset; widows: unset; width: unset; will-change: unset; word-break: unset; word-spacing: unset; writing-mode: unset; x: unset; y: unset; z-index: unset; zoom: unset;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span class=&quot;&quot;&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;docker-compose up -d 
&lt;/span&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;2&lt;/span&gt;...
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;3&lt;/span&gt;------
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;4&lt;/span&gt; &amp;gt; [internal] load metadata for docker.io/library/python:3-onbuild:
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;5&lt;/span&gt;------
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;6&lt;/span&gt;failed to solve with frontend dockerfile.v0: failed to create LLB definition: no match for platform in manifest sha256:X: not found
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;7&lt;/span&gt;ERROR: Service &#39;myservice&#39; failed to build : Build failed
&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;453&quot; style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;I found in this post that if I ran the following lines of code in terminal before my compose command, then that would eliminate the first issue I have. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;code-block sc-dliRfk ejZjQt&quot; style=&quot;background-color: white; border-radius: 3px; clear: both; color: #172b4d; display: grid; grid-template-columns: minmax(0px, 1fr); margin: 0.75rem 0px 0px; max-width: 100%; overflow-wrap: normal; padding: 0px; position: relative; tab-size: 4; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;sc-cqCuEk bMoUfv&quot; style=&quot;-webkit-box-pack: end; display: flex; grid-column: 1 / auto; justify-content: flex-end; position: sticky; top: 0px;&quot;&gt;&lt;div role=&quot;presentation&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;div style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;button aria-haspopup=&quot;true&quot; aria-label=&quot;Copy&quot; class=&quot;copy-to-clipboard css-jiizgi&quot; style=&quot;-webkit-box-align: baseline; -webkit-box-pack: center; align-items: baseline; background: none rgb(244, 245, 247); border-color: rgb(255, 255, 255); border-radius: 4px; border-style: solid; color: #42526e; cursor: pointer; display: flex; font-style: normal; font-weight: 500; height: 32px; justify-content: center; line-height: 1.71429em; max-width: 100%; opacity: 0; outline: none; padding: 2px; position: absolute; right: 6px; top: 4px; transition: opacity 0.2s ease 0s; vertical-align: middle; white-space: nowrap; width: 32px;&quot; tabindex=&quot;0&quot; type=&quot;button&quot;&gt;&lt;span class=&quot;css-1ujqpe8&quot; style=&quot;-webkit-box-flex: 0; align-self: center; display: flex; flex-grow: 0; flex-shrink: 0; line-height: 0; margin: 0px 2px; opacity: 1; transition: opacity 0.3s ease 0s; user-select: none;&quot;&gt;&lt;span aria-label=&quot;Copy&quot; class=&quot;css-pxzk9z&quot; role=&quot;img&quot; style=&quot;--icon-primary-color: currentColor; --icon-secondary-color: #FFFFFF; display: inline-block; flex-shrink: 0; line-height: 1;&quot;&gt;&lt;svg height=&quot;24&quot; role=&quot;presentation&quot; viewbox=&quot;0 0 24 24&quot; width=&quot;24&quot;&gt;&lt;g fill=&quot;currentColor&quot;&gt;&lt;/g&gt;&lt;/svg&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;path d=&quot;M10 19h8V8h-8v11zM8 7.992C8 6.892 8.902 6 10.009 6h7.982C19.101 6 20 6.893 20 7.992v11.016c0 1.1-.902 1.992-2.009 1.992H10.01A2.001 2.001 0 018 19.008V7.992z&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M5 16V4.992C5 3.892 5.902 3 7.009 3H15v13H5zm2 0h8V5H7v11z&quot;&gt;&lt;/path&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;span class=&quot;prismjs css-1xfvm4v&quot; data-code-lang=&quot;&quot; data-ds--code--code-block=&quot;&quot; style=&quot;background-attachment: local, scroll, scroll; background-color: var(--ds--code--bg-color,#F4F5F7); background-image: linear-gradient(to left, rgb(244, 245, 247) 8px, transparent 8px), linear-gradient(to left, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px), linear-gradient(to right, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px); background-position: 100% 0px, 100% 0px, 0px 0px; border-radius: 3px; border-style: none; display: flex; grid-column: 1 / auto; line-height: 1.5rem; overflow-x: auto; white-space: pre;&quot;&gt;&lt;code style=&quot;-webkit-app-region: unset; -webkit-border-image: unset; -webkit-box-align: unset; -webkit-box-decoration-break: unset; -webkit-box-direction: unset; -webkit-box-flex: unset; -webkit-box-ordinal-group: unset; -webkit-box-orient: unset; -webkit-box-pack: unset; -webkit-box-reflect: unset; -webkit-font-smoothing: unset; -webkit-highlight: unset; -webkit-hyphenate-character: unset; -webkit-line-break: unset; -webkit-line-clamp: unset; -webkit-locale: unset; -webkit-mask-box-image: unset; -webkit-mask-composite: unset; -webkit-mask: unset; -webkit-perspective-origin-x: unset; -webkit-perspective-origin-y: unset; -webkit-print-color-adjust: unset; -webkit-rtl-ordering: unset; -webkit-ruby-position: unset; -webkit-tap-highlight-color: unset; -webkit-text-combine: unset; -webkit-text-decorations-in-effect: unset; -webkit-text-emphasis-position: unset; -webkit-text-emphasis: unset; -webkit-text-fill-color: unset; -webkit-text-orientation: unset; -webkit-text-security: unset; -webkit-text-stroke: unset; -webkit-transform-origin-x: unset; -webkit-transform-origin-y: unset; -webkit-transform-origin-z: unset; -webkit-user-drag: unset; -webkit-user-modify: unset; -webkit-writing-mode: unset; accent-color: unset; alignment-baseline: unset; animation: unset; appearance: unset; aspect-ratio: unset; backdrop-filter: unset; backface-visibility: unset; background-attachment: unset; background-blend-mode: unset; background-clip: unset; background-color: unset; background-image: linear-gradient(to right,var(--ds--code--line-number-bg-color,#EBECF0),var(--ds--code--line-number-bg-color,#EBECF0) calc(1ch + 16px),transparent calc(1ch + 16px),transparent); background-origin: unset; background-position: unset; background-repeat: unset; background-size: unset; baseline-shift: unset; block-size: unset; border-block: unset; border-collapse: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-inline: unset; border-radius: unset; border-spacing: unset; border-start-end-radius: unset; border-start-start-radius: unset; border: unset; box-shadow: unset; box-sizing: unset; break-after: unset; break-before: unset; break-inside: unset; buffered-rendering: unset; caption-side: unset; caret-color: unset; clear: unset; clip-path: unset; clip-rule: unset; clip: unset; color-interpolation-filters: unset; color-interpolation: unset; color-rendering: unset; color-scheme: unset; color: unset; column-fill: unset; column-rule: unset; column-span: unset; columns: unset; contain-intrinsic-size: unset; contain: unset; content-visibility: unset; content: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; cursor: unset; cx: unset; cy: unset; d: unset; display: unset; dominant-baseline: unset; empty-cells: unset; fill-opacity: unset; fill-rule: unset; fill: unset; filter: unset; flex-flow: unset; flex: 1 0 auto; float: unset; flood-color: unset; flood-opacity: unset; font-feature-settings: unset; font-kerning: unset; font-optical-sizing: unset; font-stretch: unset; font-style: unset; font-variant: unset; font-variation-settings: unset; font-weight: unset; forced-color-adjust: unset; gap: unset; grid-area: unset; grid: unset; height: unset; hyphens: unset; image-orientation: unset; image-rendering: unset; inline-size: unset; inset-block: unset; inset-inline: unset; inset: unset; isolation: unset; letter-spacing: unset; lighting-color: unset; line-break: unset; line-height: unset; list-style: unset; margin-block: unset; margin-inline: unset; margin: unset; marker: unset; mask-type: unset; mask: unset; max-block-size: unset; max-height: unset; max-inline-size: unset; max-width: unset; min-block-size: unset; min-height: unset; min-inline-size: unset; min-width: unset; mix-blend-mode: unset; object-fit: unset; object-position: unset; offset: unset; opacity: unset; order: unset; orphans: unset; outline-offset: unset; outline: unset; overflow-anchor: unset; overflow-clip-margin: unset; overflow-wrap: unset; overflow: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; overscroll-behavior: unset; padding-block: unset; padding-bottom: 8px; padding-inline: unset; padding-left: 0px; padding-right: 8px !important; padding-top: 8px; page-orientation: unset; page: unset; paint-order: unset; perspective-origin: unset; perspective: unset; place-content: unset; place-items: unset; place-self: unset; pointer-events: unset; position: unset; quotes: unset; r: unset; resize: unset; ruby-position: unset; rx: unset; ry: unset; scroll-behavior: unset; scroll-margin-block: unset; scroll-margin-inline: unset; scroll-margin: unset; scroll-padding-block: unset; scroll-padding-inline: unset; scroll-padding: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; shape-image-threshold: unset; shape-margin: unset; shape-outside: unset; shape-rendering: unset; size: unset; speak: unset; stop-color: unset; stop-opacity: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-linecap: unset; stroke-linejoin: unset; stroke-miterlimit: unset; stroke-opacity: unset; stroke-width: unset; stroke: unset; tab-size: unset; table-layout: unset; text-align-last: unset; text-align: unset; text-anchor: unset; text-combine-upright: unset; text-decoration-skip-ink: unset; text-decoration: unset; text-indent: unset; text-orientation: unset; text-overflow: unset; text-rendering: unset; text-shadow: unset; text-size-adjust: unset; text-transform: unset; text-underline-offset: unset; text-underline-position: unset; touch-action: unset; transform-box: unset; transform-origin: unset; transform-style: unset; transform: unset; transition: unset; user-select: unset; vector-effect: unset; vertical-align: unset; visibility: unset; widows: unset; width: unset; will-change: unset; word-break: unset; word-spacing: unset; writing-mode: unset; x: unset; y: unset; z-index: unset; zoom: unset;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;&quot;&gt;export DOCKER_BUILDKIT=0
&lt;/span&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;2&lt;/span&gt;export COMPOSE_DOCKER_CLI_BUILD=0
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;3&lt;/span&gt;docker-compose up -d 
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;4&lt;/span&gt;
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;5&lt;/span&gt;ERROR: Service &#39;&lt;/span&gt;&lt;span style=&quot;font-family: verdana; font-size: small;&quot;&gt;myservice&lt;/span&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&#39; failed to build : no matching manifest for linux/arm64/v8 in the manifest list entries
&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;806&quot; style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;So that second line of issue looks like it may have to do with my Mac M1 chip&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;code-block sc-dliRfk ejZjQt&quot; style=&quot;background-color: white; border-radius: 3px; clear: both; color: #172b4d; display: grid; grid-template-columns: minmax(0px, 1fr); margin: 0.75rem 0px 0px; max-width: 100%; overflow-wrap: normal; padding: 0px; position: relative; tab-size: 4; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;sc-cqCuEk bMoUfv&quot; style=&quot;-webkit-box-pack: end; display: flex; grid-column: 1 / auto; justify-content: flex-end; position: sticky; top: 0px;&quot;&gt;&lt;div role=&quot;presentation&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;div style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;button aria-haspopup=&quot;true&quot; aria-label=&quot;Copy&quot; class=&quot;copy-to-clipboard css-jiizgi&quot; style=&quot;-webkit-box-align: baseline; -webkit-box-pack: center; align-items: baseline; background: none rgb(244, 245, 247); border-color: rgb(255, 255, 255); border-radius: 4px; border-style: solid; color: #42526e; cursor: pointer; display: flex; font-style: normal; font-weight: 500; height: 32px; justify-content: center; line-height: 1.71429em; max-width: 100%; opacity: 0; outline: none; padding: 2px; position: absolute; right: 6px; top: 4px; transition: opacity 0.2s ease 0s; vertical-align: middle; white-space: nowrap; width: 32px;&quot; tabindex=&quot;0&quot; type=&quot;button&quot;&gt;&lt;span class=&quot;css-1ujqpe8&quot; style=&quot;-webkit-box-flex: 0; align-self: center; display: flex; flex-grow: 0; flex-shrink: 0; line-height: 0; margin: 0px 2px; opacity: 1; transition: opacity 0.3s ease 0s; user-select: none;&quot;&gt;&lt;span aria-label=&quot;Copy&quot; class=&quot;css-pxzk9z&quot; role=&quot;img&quot; style=&quot;--icon-primary-color: currentColor; --icon-secondary-color: #FFFFFF; display: inline-block; flex-shrink: 0; line-height: 1;&quot;&gt;&lt;svg height=&quot;24&quot; role=&quot;presentation&quot; viewbox=&quot;0 0 24 24&quot; width=&quot;24&quot;&gt;&lt;g fill=&quot;currentColor&quot;&gt;&lt;/g&gt;&lt;/svg&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;path d=&quot;M10 19h8V8h-8v11zM8 7.992C8 6.892 8.902 6 10.009 6h7.982C19.101 6 20 6.893 20 7.992v11.016c0 1.1-.902 1.992-2.009 1.992H10.01A2.001 2.001 0 018 19.008V7.992z&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M5 16V4.992C5 3.892 5.902 3 7.009 3H15v13H5zm2 0h8V5H7v11z&quot;&gt;&lt;/path&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;span class=&quot;prismjs css-1xfvm4v&quot; data-code-lang=&quot;&quot; data-ds--code--code-block=&quot;&quot; style=&quot;background-attachment: local, scroll, scroll; background-color: var(--ds--code--bg-color,#F4F5F7); background-image: linear-gradient(to left, rgb(244, 245, 247) 8px, transparent 8px), linear-gradient(to left, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px), linear-gradient(to right, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px); background-position: 100% 0px, 100% 0px, 0px 0px; border-radius: 3px; border-style: none; display: flex; grid-column: 1 / auto; line-height: 1.5rem; overflow-x: auto; white-space: pre;&quot;&gt;&lt;code style=&quot;-webkit-app-region: unset; -webkit-border-image: unset; -webkit-box-align: unset; -webkit-box-decoration-break: unset; -webkit-box-direction: unset; -webkit-box-flex: unset; -webkit-box-ordinal-group: unset; -webkit-box-orient: unset; -webkit-box-pack: unset; -webkit-box-reflect: unset; -webkit-font-smoothing: unset; -webkit-highlight: unset; -webkit-hyphenate-character: unset; -webkit-line-break: unset; -webkit-line-clamp: unset; -webkit-locale: unset; -webkit-mask-box-image: unset; -webkit-mask-composite: unset; -webkit-mask: unset; -webkit-perspective-origin-x: unset; -webkit-perspective-origin-y: unset; -webkit-print-color-adjust: unset; -webkit-rtl-ordering: unset; -webkit-ruby-position: unset; -webkit-tap-highlight-color: unset; -webkit-text-combine: unset; -webkit-text-decorations-in-effect: unset; -webkit-text-emphasis-position: unset; -webkit-text-emphasis: unset; -webkit-text-fill-color: unset; -webkit-text-orientation: unset; -webkit-text-security: unset; -webkit-text-stroke: unset; -webkit-transform-origin-x: unset; -webkit-transform-origin-y: unset; -webkit-transform-origin-z: unset; -webkit-user-drag: unset; -webkit-user-modify: unset; -webkit-writing-mode: unset; accent-color: unset; alignment-baseline: unset; animation: unset; appearance: unset; aspect-ratio: unset; backdrop-filter: unset; backface-visibility: unset; background-attachment: unset; background-blend-mode: unset; background-clip: unset; background-color: unset; background-image: linear-gradient(to right,var(--ds--code--line-number-bg-color,#EBECF0),var(--ds--code--line-number-bg-color,#EBECF0) calc(1ch + 16px),transparent calc(1ch + 16px),transparent); background-origin: unset; background-position: unset; background-repeat: unset; background-size: unset; baseline-shift: unset; block-size: unset; border-block: unset; border-collapse: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-inline: unset; border-radius: unset; border-spacing: unset; border-start-end-radius: unset; border-start-start-radius: unset; border: unset; box-shadow: unset; box-sizing: unset; break-after: unset; break-before: unset; break-inside: unset; buffered-rendering: unset; caption-side: unset; caret-color: unset; clear: unset; clip-path: unset; clip-rule: unset; clip: unset; color-interpolation-filters: unset; color-interpolation: unset; color-rendering: unset; color-scheme: unset; color: unset; column-fill: unset; column-rule: unset; column-span: unset; columns: unset; contain-intrinsic-size: unset; contain: unset; content-visibility: unset; content: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; cursor: unset; cx: unset; cy: unset; d: unset; display: unset; dominant-baseline: unset; empty-cells: unset; fill-opacity: unset; fill-rule: unset; fill: unset; filter: unset; flex-flow: unset; flex: 1 0 auto; float: unset; flood-color: unset; flood-opacity: unset; font-feature-settings: unset; font-kerning: unset; font-optical-sizing: unset; font-stretch: unset; font-style: unset; font-variant: unset; font-variation-settings: unset; font-weight: unset; forced-color-adjust: unset; gap: unset; grid-area: unset; grid: unset; height: unset; hyphens: unset; image-orientation: unset; image-rendering: unset; inline-size: unset; inset-block: unset; inset-inline: unset; inset: unset; isolation: unset; letter-spacing: unset; lighting-color: unset; line-break: unset; line-height: unset; list-style: unset; margin-block: unset; margin-inline: unset; margin: unset; marker: unset; mask-type: unset; mask: unset; max-block-size: unset; max-height: unset; max-inline-size: unset; max-width: unset; min-block-size: unset; min-height: unset; min-inline-size: unset; min-width: unset; mix-blend-mode: unset; object-fit: unset; object-position: unset; offset: unset; opacity: unset; order: unset; orphans: unset; outline-offset: unset; outline: unset; overflow-anchor: unset; overflow-clip-margin: unset; overflow-wrap: unset; overflow: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; overscroll-behavior: unset; padding-block: unset; padding-bottom: 8px; padding-inline: unset; padding-left: 0px; padding-right: 8px !important; padding-top: 8px; page-orientation: unset; page: unset; paint-order: unset; perspective-origin: unset; perspective: unset; place-content: unset; place-items: unset; place-self: unset; pointer-events: unset; position: unset; quotes: unset; r: unset; resize: unset; ruby-position: unset; rx: unset; ry: unset; scroll-behavior: unset; scroll-margin-block: unset; scroll-margin-inline: unset; scroll-margin: unset; scroll-padding-block: unset; scroll-padding-inline: unset; scroll-padding: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; shape-image-threshold: unset; shape-margin: unset; shape-outside: unset; shape-rendering: unset; size: unset; speak: unset; stop-color: unset; stop-opacity: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-linecap: unset; stroke-linejoin: unset; stroke-miterlimit: unset; stroke-opacity: unset; stroke-width: unset; stroke: unset; tab-size: unset; table-layout: unset; text-align-last: unset; text-align: unset; text-anchor: unset; text-combine-upright: unset; text-decoration-skip-ink: unset; text-decoration: unset; text-indent: unset; text-orientation: unset; text-overflow: unset; text-rendering: unset; text-shadow: unset; text-size-adjust: unset; text-transform: unset; text-underline-offset: unset; text-underline-position: unset; touch-action: unset; transform-box: unset; transform-origin: unset; transform-style: unset; transform: unset; transition: unset; user-select: unset; vector-effect: unset; vertical-align: unset; visibility: unset; widows: unset; width: unset; will-change: unset; word-break: unset; word-spacing: unset; writing-mode: unset; x: unset; y: unset; z-index: unset; zoom: unset;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;&quot;&gt;ERROR: Service &#39;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: verdana; font-size: small;&quot;&gt;myservice&lt;/span&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span class=&quot;&quot;&gt;&#39; failed to build : no matching manifest for linux/arm64/v8 in the manifest list entries&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;1002&quot; style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;br /&gt;Adding the &#39;&lt;code class=&quot;code css-9z42f9&quot; data-renderer-mark=&quot;true&quot; style=&quot;--ds--code--bg-color: rgba(9,30,66,0.08); -webkit-box-decoration-break: clone; background-color: var(--ds--code--bg-color,#F4F5F7); border-radius: 3px; border-style: none; display: inline; overflow-wrap: break-word; overflow: auto; padding: 2px 0.5ch;&quot;&gt;platform: linux/x86_64&lt;/code&gt;&#39; to the following services seems to have worked. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;code-block sc-dliRfk ejZjQt&quot; style=&quot;background-color: white; border-radius: 3px; clear: both; color: #172b4d; display: grid; grid-template-columns: minmax(0px, 1fr); margin: 0.75rem 0px 0px; max-width: 100%; overflow-wrap: normal; padding: 0px; position: relative; tab-size: 4; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;sc-cqCuEk bMoUfv&quot; style=&quot;-webkit-box-pack: end; display: flex; grid-column: 1 / auto; justify-content: flex-end; position: sticky; top: 0px;&quot;&gt;&lt;div role=&quot;presentation&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;div style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;button aria-haspopup=&quot;true&quot; aria-label=&quot;Copy&quot; class=&quot;copy-to-clipboard css-jiizgi&quot; style=&quot;-webkit-box-align: baseline; -webkit-box-pack: center; align-items: baseline; background: none rgb(244, 245, 247); border-color: rgb(255, 255, 255); border-radius: 4px; border-style: solid; color: #42526e; cursor: pointer; display: flex; font-style: normal; font-weight: 500; height: 32px; justify-content: center; line-height: 1.71429em; max-width: 100%; opacity: 0; outline: none; padding: 2px; position: absolute; right: 6px; top: 4px; transition: opacity 0.2s ease 0s; vertical-align: middle; white-space: nowrap; width: 32px;&quot; tabindex=&quot;0&quot; type=&quot;button&quot;&gt;&lt;span class=&quot;css-1ujqpe8&quot; style=&quot;-webkit-box-flex: 0; align-self: center; display: flex; flex-grow: 0; flex-shrink: 0; line-height: 0; margin: 0px 2px; opacity: 1; transition: opacity 0.3s ease 0s; user-select: none;&quot;&gt;&lt;span aria-label=&quot;Copy&quot; class=&quot;css-pxzk9z&quot; role=&quot;img&quot; style=&quot;--icon-primary-color: currentColor; --icon-secondary-color: #FFFFFF; display: inline-block; flex-shrink: 0; line-height: 1;&quot;&gt;&lt;svg height=&quot;24&quot; role=&quot;presentation&quot; viewbox=&quot;0 0 24 24&quot; width=&quot;24&quot;&gt;&lt;g fill=&quot;currentColor&quot;&gt;&lt;/g&gt;&lt;/svg&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;path d=&quot;M10 19h8V8h-8v11zM8 7.992C8 6.892 8.902 6 10.009 6h7.982C19.101 6 20 6.893 20 7.992v11.016c0 1.1-.902 1.992-2.009 1.992H10.01A2.001 2.001 0 018 19.008V7.992z&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M5 16V4.992C5 3.892 5.902 3 7.009 3H15v13H5zm2 0h8V5H7v11z&quot;&gt;&lt;/path&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;span class=&quot;prismjs css-10fl9lg&quot; data-code-lang=&quot;&quot; data-ds--code--code-block=&quot;&quot; style=&quot;background-attachment: local, scroll, scroll; background-color: var(--ds--code--bg-color,#F4F5F7); background-image: linear-gradient(to left, rgb(244, 245, 247) 8px, transparent 8px), linear-gradient(to left, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px), linear-gradient(to right, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px); background-position: 100% 0px, 100% 0px, 0px 0px; border-radius: 3px; border-style: none; display: flex; grid-column: 1 / auto; line-height: 1.5rem; overflow-x: auto; white-space: pre;&quot;&gt;&lt;code style=&quot;-webkit-app-region: unset; -webkit-border-image: unset; -webkit-box-align: unset; -webkit-box-decoration-break: unset; -webkit-box-direction: unset; -webkit-box-flex: unset; -webkit-box-ordinal-group: unset; -webkit-box-orient: unset; -webkit-box-pack: unset; -webkit-box-reflect: unset; -webkit-font-smoothing: unset; -webkit-highlight: unset; -webkit-hyphenate-character: unset; -webkit-line-break: unset; -webkit-line-clamp: unset; -webkit-locale: unset; -webkit-mask-box-image: unset; -webkit-mask-composite: unset; -webkit-mask: unset; -webkit-perspective-origin-x: unset; -webkit-perspective-origin-y: unset; -webkit-print-color-adjust: unset; -webkit-rtl-ordering: unset; -webkit-ruby-position: unset; -webkit-tap-highlight-color: unset; -webkit-text-combine: unset; -webkit-text-decorations-in-effect: unset; -webkit-text-emphasis-position: unset; -webkit-text-emphasis: unset; -webkit-text-fill-color: unset; -webkit-text-orientation: unset; -webkit-text-security: unset; -webkit-text-stroke: unset; -webkit-transform-origin-x: unset; -webkit-transform-origin-y: unset; -webkit-transform-origin-z: unset; -webkit-user-drag: unset; -webkit-user-modify: unset; -webkit-writing-mode: unset; accent-color: unset; alignment-baseline: unset; animation: unset; appearance: unset; aspect-ratio: unset; backdrop-filter: unset; backface-visibility: unset; background-attachment: unset; background-blend-mode: unset; background-clip: unset; background-color: unset; background-image: linear-gradient(to right,var(--ds--code--line-number-bg-color,#EBECF0),var(--ds--code--line-number-bg-color,#EBECF0) calc(2ch + 16px),transparent calc(2ch + 16px),transparent); background-origin: unset; background-position: unset; background-repeat: unset; background-size: unset; baseline-shift: unset; block-size: unset; border-block: unset; border-collapse: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-inline: unset; border-radius: unset; border-spacing: unset; border-start-end-radius: unset; border-start-start-radius: unset; border: unset; box-shadow: unset; box-sizing: unset; break-after: unset; break-before: unset; break-inside: unset; buffered-rendering: unset; caption-side: unset; caret-color: unset; clear: unset; clip-path: unset; clip-rule: unset; clip: unset; color-interpolation-filters: unset; color-interpolation: unset; color-rendering: unset; color-scheme: unset; color: unset; column-fill: unset; column-rule: unset; column-span: unset; columns: unset; contain-intrinsic-size: unset; contain: unset; content-visibility: unset; content: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; cursor: unset; cx: unset; cy: unset; d: unset; display: unset; dominant-baseline: unset; empty-cells: unset; fill-opacity: unset; fill-rule: unset; fill: unset; filter: unset; flex-flow: unset; flex: 1 0 auto; float: unset; flood-color: unset; flood-opacity: unset; font-feature-settings: unset; font-kerning: unset; font-optical-sizing: unset; font-stretch: unset; font-style: unset; font-variant: unset; font-variation-settings: unset; font-weight: unset; forced-color-adjust: unset; gap: unset; grid-area: unset; grid: unset; height: unset; hyphens: unset; image-orientation: unset; image-rendering: unset; inline-size: unset; inset-block: unset; inset-inline: unset; inset: unset; isolation: unset; letter-spacing: unset; lighting-color: unset; line-break: unset; line-height: unset; list-style: unset; margin-block: unset; margin-inline: unset; margin: unset; marker: unset; mask-type: unset; mask: unset; max-block-size: unset; max-height: unset; max-inline-size: unset; max-width: unset; min-block-size: unset; min-height: unset; min-inline-size: unset; min-width: unset; mix-blend-mode: unset; object-fit: unset; object-position: unset; offset: unset; opacity: unset; order: unset; orphans: unset; outline-offset: unset; outline: unset; overflow-anchor: unset; overflow-clip-margin: unset; overflow-wrap: unset; overflow: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; overscroll-behavior: unset; padding-block: unset; padding-bottom: 8px; padding-inline: unset; padding-left: 0px; padding-right: 8px !important; padding-top: 8px; page-orientation: unset; page: unset; paint-order: unset; perspective-origin: unset; perspective: unset; place-content: unset; place-items: unset; place-self: unset; pointer-events: unset; position: unset; quotes: unset; r: unset; resize: unset; ruby-position: unset; rx: unset; ry: unset; scroll-behavior: unset; scroll-margin-block: unset; scroll-margin-inline: unset; scroll-margin: unset; scroll-padding-block: unset; scroll-padding-inline: unset; scroll-padding: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; shape-image-threshold: unset; shape-margin: unset; shape-outside: unset; shape-rendering: unset; size: unset; speak: unset; stop-color: unset; stop-opacity: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-linecap: unset; stroke-linejoin: unset; stroke-miterlimit: unset; stroke-opacity: unset; stroke-width: unset; stroke: unset; tab-size: unset; table-layout: unset; text-align-last: unset; text-align: unset; text-anchor: unset; text-combine-upright: unset; text-decoration-skip-ink: unset; text-decoration: unset; text-indent: unset; text-orientation: unset; text-overflow: unset; text-rendering: unset; text-shadow: unset; text-size-adjust: unset; text-transform: unset; text-underline-offset: unset; text-underline-position: unset; touch-action: unset; transform-box: unset; transform-origin: unset; transform-style: unset; transform: unset; transition: unset; user-select: unset; vector-effect: unset; vertical-align: unset; visibility: unset; widows: unset; width: unset; will-change: unset; word-break: unset; word-spacing: unset; writing-mode: unset; x: unset; y: unset; z-index: unset; zoom: unset;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;&quot;&gt;version: &#39;3&#39;
&lt;/span&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;2&lt;/span&gt;
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;3&lt;/span&gt;services:
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;4&lt;/span&gt;  &lt;/span&gt;&lt;span style=&quot;font-family: verdana; font-size: small;&quot;&gt;myservice&lt;/span&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;:
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;5&lt;/span&gt;    platform: linux/x86_64
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;6&lt;/span&gt;    container_name: &lt;/span&gt;&lt;span style=&quot;font-family: verdana; font-size: small;&quot;&gt;myservice&lt;/span&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;_container
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;7&lt;/span&gt;    build: ./&lt;/span&gt;&lt;span style=&quot;font-family: verdana; font-size: small;&quot;&gt;myservice&lt;/span&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;8&lt;/span&gt;    volumes:
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;9&lt;/span&gt;      - ./&lt;/span&gt;&lt;span style=&quot;font-family: verdana; font-size: small;&quot;&gt;myservice&lt;/span&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;:/usr/src/app
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;10&lt;/span&gt;    ports:
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;11&lt;/span&gt;      - 8080:8080
&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://littleripplesproject.blogspot.com/feeds/7398489070668777191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8608610523928821757/7398489070668777191' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/7398489070668777191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/7398489070668777191'/><link rel='alternate' type='text/html' href='http://littleripplesproject.blogspot.com/2021/09/docker-failed-to-solve-with-frontend.html' title='Docker - failed to solve with frontend dockerfile.v0: failed to create LLB definition: no match for platform in manifest sha256:X: not found 7ERROR: Service &#39;myservice&#39; failed to build : Build failed'/><author><name>DJ Millward</name><uri>http://www.blogger.com/profile/00956188700712120760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5uFzd1oDU8E1oYBaMPDAXQqDF8voL7_YuinTX2a5FTfUVOLIhcJsm0I-K32ktkqqP5cpdEDbnRa81lsicGD0m2mUF8MzoNxHRAF-6A3SIXAwEC4ScJzDjgmq73ZC6OlU/s220/surfing2008.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8608610523928821757.post-15444833598524942</id><published>2021-09-15T16:39:00.001+01:00</published><updated>2021-09-15T16:39:02.421+01:00</updated><title type='text'>Python Panda&#39;s - Cannot convert non-finite values (NA or inf) to integer</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&amp;nbsp;In the .csv that we&#39;re processing we have a column thats &#39;total_in_thousands&#39; .&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;In that column the values are all in decimals and I presume the legacy code would like them to be integers.&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;code-block sc-LKuAh YrRHi&quot; style=&quot;background-color: white; border-radius: 3px; clear: both; color: #172b4d; display: grid; grid-template-columns: minmax(0px, 1fr); margin: 0.75rem 0px 0px; max-width: 100%; overflow-wrap: normal; padding: 0px; position: relative; tab-size: 4; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;prismjs css-1xfvm4v&quot; data-code-lang=&quot;&quot; data-ds--code--code-block=&quot;&quot; style=&quot;background-attachment: local, scroll, scroll; background-color: var(--ds--code--bg-color,#F4F5F7); background-image: linear-gradient(to left, rgb(244, 245, 247) 8px, transparent 8px), linear-gradient(to left, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px), linear-gradient(to right, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px); background-position: 100% 0px, 100% 0px, 0px 0px; border-radius: 3px; border-style: none; display: flex; grid-column: 1 / auto; line-height: 1.5rem; overflow-x: auto; white-space: pre;&quot;&gt;&lt;code style=&quot;-webkit-app-region: unset; -webkit-border-image: unset; -webkit-box-align: unset; -webkit-box-decoration-break: unset; -webkit-box-direction: unset; -webkit-box-flex: unset; -webkit-box-ordinal-group: unset; -webkit-box-orient: unset; -webkit-box-pack: unset; -webkit-box-reflect: unset; -webkit-font-smoothing: unset; -webkit-highlight: unset; -webkit-hyphenate-character: unset; -webkit-line-break: unset; -webkit-line-clamp: unset; -webkit-locale: unset; -webkit-mask-box-image: unset; -webkit-mask-composite: unset; -webkit-mask: unset; -webkit-perspective-origin-x: unset; -webkit-perspective-origin-y: unset; -webkit-print-color-adjust: unset; -webkit-rtl-ordering: unset; -webkit-ruby-position: unset; -webkit-tap-highlight-color: unset; -webkit-text-combine: unset; -webkit-text-decorations-in-effect: unset; -webkit-text-emphasis-position: unset; -webkit-text-emphasis: unset; -webkit-text-fill-color: unset; -webkit-text-orientation: unset; -webkit-text-security: unset; -webkit-text-stroke: unset; -webkit-transform-origin-x: unset; -webkit-transform-origin-y: unset; -webkit-transform-origin-z: unset; -webkit-user-drag: unset; -webkit-user-modify: unset; -webkit-writing-mode: unset; accent-color: unset; alignment-baseline: unset; animation: unset; appearance: unset; aspect-ratio: unset; backdrop-filter: unset; backface-visibility: unset; background-attachment: unset; background-blend-mode: unset; background-clip: unset; background-color: unset; background-image: linear-gradient(to right,var(--ds--code--line-number-bg-color,#EBECF0),var(--ds--code--line-number-bg-color,#EBECF0) calc(1ch + 16px),transparent calc(1ch + 16px),transparent); background-origin: unset; background-position: unset; background-repeat: unset; background-size: unset; baseline-shift: unset; block-size: unset; border-block: unset; border-collapse: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-inline: unset; border-radius: unset; border-spacing: unset; border-start-end-radius: unset; border-start-start-radius: unset; border: unset; box-shadow: unset; box-sizing: unset; break-after: unset; break-before: unset; break-inside: unset; buffered-rendering: unset; caption-side: unset; caret-color: unset; clear: unset; clip-path: unset; clip-rule: unset; clip: unset; color-interpolation-filters: unset; color-interpolation: unset; color-rendering: unset; color-scheme: unset; color: unset; column-fill: unset; column-rule: unset; column-span: unset; columns: unset; contain-intrinsic-size: unset; contain: unset; content-visibility: unset; content: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; cursor: unset; cx: unset; cy: unset; d: unset; display: unset; dominant-baseline: unset; empty-cells: unset; fill-opacity: unset; fill-rule: unset; fill: unset; filter: unset; flex-flow: unset; flex: 1 0 auto; float: unset; flood-color: unset; flood-opacity: unset; font-feature-settings: unset; font-kerning: unset; font-optical-sizing: unset; font-stretch: unset; font-style: unset; font-variant: unset; font-variation-settings: unset; font-weight: unset; forced-color-adjust: unset; gap: unset; grid-area: unset; grid: unset; height: unset; hyphens: unset; image-orientation: unset; image-rendering: unset; inline-size: unset; inset-block: unset; inset-inline: unset; inset: unset; isolation: unset; letter-spacing: unset; lighting-color: unset; line-break: unset; line-height: unset; list-style: unset; margin-block: unset; margin-inline: unset; margin: unset; marker: unset; mask-type: unset; mask: unset; max-block-size: unset; max-height: unset; max-inline-size: unset; max-width: unset; min-block-size: unset; min-height: unset; min-inline-size: unset; min-width: unset; mix-blend-mode: unset; object-fit: unset; object-position: unset; offset: unset; opacity: unset; order: unset; orphans: unset; outline-offset: unset; outline: unset; overflow-anchor: unset; overflow-clip-margin: unset; overflow-wrap: unset; overflow: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; overscroll-behavior: unset; padding-block: unset; padding-bottom: 8px; padding-inline: unset; padding-left: 0px; padding-right: 8px !important; padding-top: 8px; page-orientation: unset; page: unset; paint-order: unset; perspective-origin: unset; perspective: unset; place-content: unset; place-items: unset; place-self: unset; pointer-events: unset; position: unset; quotes: unset; r: unset; resize: unset; ruby-position: unset; rx: unset; ry: unset; scroll-behavior: unset; scroll-margin-block: unset; scroll-margin-inline: unset; scroll-margin: unset; scroll-padding-block: unset; scroll-padding-inline: unset; scroll-padding: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; shape-image-threshold: unset; shape-margin: unset; shape-outside: unset; shape-rendering: unset; size: unset; speak: unset; stop-color: unset; stop-opacity: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-linecap: unset; stroke-linejoin: unset; stroke-miterlimit: unset; stroke-opacity: unset; stroke-width: unset; stroke: unset; tab-size: unset; table-layout: unset; text-align-last: unset; text-align: unset; text-anchor: unset; text-combine-upright: unset; text-decoration-skip-ink: unset; text-decoration: unset; text-indent: unset; text-orientation: unset; text-overflow: unset; text-rendering: unset; text-shadow: unset; text-size-adjust: unset; text-transform: unset; text-underline-offset: unset; text-underline-position: unset; touch-action: unset; transform-box: unset; transform-origin: unset; transform-style: unset; transform: unset; transition: unset; user-select: unset; vector-effect: unset; vertical-align: unset; visibility: unset; widows: unset; width: unset; will-change: unset; word-break: unset; word-spacing: unset; writing-mode: unset; x: unset; y: unset; z-index: unset; zoom: unset;&quot;&gt;&lt;span class=&quot;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;csv = csv.astype({&#39;total_uv_in_thousands&#39; : &#39;int64&#39;})&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;However this giving me this error.&amp;nbsp;&lt;span style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p data-renderer-start-pos=&quot;255&quot; style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;code-block sc-LKuAh YrRHi&quot; style=&quot;background-color: white; border-radius: 3px; clear: both; color: #172b4d; display: grid; grid-template-columns: minmax(0px, 1fr); margin: 0.75rem 0px 0px; max-width: 100%; overflow-wrap: normal; padding: 0px; position: relative; tab-size: 4; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;sc-kaNhvL enEQMC&quot; style=&quot;-webkit-box-pack: end; display: flex; grid-column: 1 / auto; justify-content: flex-end; position: sticky; top: 0px;&quot;&gt;&lt;div role=&quot;presentation&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;div style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;button aria-haspopup=&quot;true&quot; aria-label=&quot;Copy&quot; class=&quot;copy-to-clipboard css-jiizgi&quot; style=&quot;-webkit-box-align: baseline; -webkit-box-pack: center; align-items: baseline; background: none rgb(244, 245, 247); border-color: rgb(255, 255, 255); border-radius: 4px; border-style: solid; color: #42526e; cursor: pointer; display: flex; font-style: normal; font-weight: 500; height: 32px; justify-content: center; line-height: 1.71429em; max-width: 100%; opacity: 0; outline: none; padding: 2px; position: absolute; right: 6px; top: 4px; transition: opacity 0.2s ease 0s; vertical-align: middle; white-space: nowrap; width: 32px;&quot; tabindex=&quot;0&quot; type=&quot;button&quot;&gt;&lt;span class=&quot;css-1ujqpe8&quot; style=&quot;-webkit-box-flex: 0; align-self: center; display: flex; flex-grow: 0; flex-shrink: 0; line-height: 0; margin: 0px 2px; opacity: 1; transition: opacity 0.3s ease 0s; user-select: none;&quot;&gt;&lt;span aria-label=&quot;Copy&quot; class=&quot;css-pxzk9z&quot; role=&quot;img&quot; style=&quot;--icon-primary-color: currentColor; --icon-secondary-color: #FFFFFF; display: inline-block; flex-shrink: 0; line-height: 1;&quot;&gt;&lt;svg height=&quot;24&quot; role=&quot;presentation&quot; viewbox=&quot;0 0 24 24&quot; width=&quot;24&quot;&gt;&lt;g fill=&quot;currentColor&quot;&gt;&lt;/g&gt;&lt;/svg&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;path d=&quot;M10 19h8V8h-8v11zM8 7.992C8 6.892 8.902 6 10.009 6h7.982C19.101 6 20 6.893 20 7.992v11.016c0 1.1-.902 1.992-2.009 1.992H10.01A2.001 2.001 0 018 19.008V7.992z&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M5 16V4.992C5 3.892 5.902 3 7.009 3H15v13H5zm2 0h8V5H7v11z&quot;&gt;&lt;/path&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;span class=&quot;prismjs css-1xfvm4v&quot; data-code-lang=&quot;&quot; data-ds--code--code-block=&quot;&quot; style=&quot;background-attachment: local, scroll, scroll; background-color: var(--ds--code--bg-color,#F4F5F7); background-image: linear-gradient(to left, rgb(244, 245, 247) 8px, transparent 8px), linear-gradient(to left, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px), linear-gradient(to right, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px); background-position: 100% 0px, 100% 0px, 0px 0px; border-radius: 3px; border-style: none; display: flex; grid-column: 1 / auto; line-height: 1.5rem; overflow-x: auto; white-space: pre;&quot;&gt;&lt;code style=&quot;-webkit-app-region: unset; -webkit-border-image: unset; -webkit-box-align: unset; -webkit-box-decoration-break: unset; -webkit-box-direction: unset; -webkit-box-flex: unset; -webkit-box-ordinal-group: unset; -webkit-box-orient: unset; -webkit-box-pack: unset; -webkit-box-reflect: unset; -webkit-font-smoothing: unset; -webkit-highlight: unset; -webkit-hyphenate-character: unset; -webkit-line-break: unset; -webkit-line-clamp: unset; -webkit-locale: unset; -webkit-mask-box-image: unset; -webkit-mask-composite: unset; -webkit-mask: unset; -webkit-perspective-origin-x: unset; -webkit-perspective-origin-y: unset; -webkit-print-color-adjust: unset; -webkit-rtl-ordering: unset; -webkit-ruby-position: unset; -webkit-tap-highlight-color: unset; -webkit-text-combine: unset; -webkit-text-decorations-in-effect: unset; -webkit-text-emphasis-position: unset; -webkit-text-emphasis: unset; -webkit-text-fill-color: unset; -webkit-text-orientation: unset; -webkit-text-security: unset; -webkit-text-stroke: unset; -webkit-transform-origin-x: unset; -webkit-transform-origin-y: unset; -webkit-transform-origin-z: unset; -webkit-user-drag: unset; -webkit-user-modify: unset; -webkit-writing-mode: unset; accent-color: unset; alignment-baseline: unset; animation: unset; appearance: unset; aspect-ratio: unset; backdrop-filter: unset; backface-visibility: unset; background-attachment: unset; background-blend-mode: unset; background-clip: unset; background-color: unset; background-image: linear-gradient(to right,var(--ds--code--line-number-bg-color,#EBECF0),var(--ds--code--line-number-bg-color,#EBECF0) calc(1ch + 16px),transparent calc(1ch + 16px),transparent); background-origin: unset; background-position: unset; background-repeat: unset; background-size: unset; baseline-shift: unset; block-size: unset; border-block: unset; border-collapse: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-inline: unset; border-radius: unset; border-spacing: unset; border-start-end-radius: unset; border-start-start-radius: unset; border: unset; box-shadow: unset; box-sizing: unset; break-after: unset; break-before: unset; break-inside: unset; buffered-rendering: unset; caption-side: unset; caret-color: unset; clear: unset; clip-path: unset; clip-rule: unset; clip: unset; color-interpolation-filters: unset; color-interpolation: unset; color-rendering: unset; color-scheme: unset; color: unset; column-fill: unset; column-rule: unset; column-span: unset; columns: unset; contain-intrinsic-size: unset; contain: unset; content-visibility: unset; content: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; cursor: unset; cx: unset; cy: unset; d: unset; display: unset; dominant-baseline: unset; empty-cells: unset; fill-opacity: unset; fill-rule: unset; fill: unset; filter: unset; flex-flow: unset; flex: 1 0 auto; float: unset; flood-color: unset; flood-opacity: unset; font-feature-settings: unset; font-kerning: unset; font-optical-sizing: unset; font-stretch: unset; font-style: unset; font-variant: unset; font-variation-settings: unset; font-weight: unset; forced-color-adjust: unset; gap: unset; grid-area: unset; grid: unset; height: unset; hyphens: unset; image-orientation: unset; image-rendering: unset; inline-size: unset; inset-block: unset; inset-inline: unset; inset: unset; isolation: unset; letter-spacing: unset; lighting-color: unset; line-break: unset; line-height: unset; list-style: unset; margin-block: unset; margin-inline: unset; margin: unset; marker: unset; mask-type: unset; mask: unset; max-block-size: unset; max-height: unset; max-inline-size: unset; max-width: unset; min-block-size: unset; min-height: unset; min-inline-size: unset; min-width: unset; mix-blend-mode: unset; object-fit: unset; object-position: unset; offset: unset; opacity: unset; order: unset; orphans: unset; outline-offset: unset; outline: unset; overflow-anchor: unset; overflow-clip-margin: unset; overflow-wrap: unset; overflow: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; overscroll-behavior: unset; padding-block: unset; padding-bottom: 8px; padding-inline: unset; padding-left: 0px; padding-right: 8px !important; padding-top: 8px; page-orientation: unset; page: unset; paint-order: unset; perspective-origin: unset; perspective: unset; place-content: unset; place-items: unset; place-self: unset; pointer-events: unset; position: unset; quotes: unset; r: unset; resize: unset; ruby-position: unset; rx: unset; ry: unset; scroll-behavior: unset; scroll-margin-block: unset; scroll-margin-inline: unset; scroll-margin: unset; scroll-padding-block: unset; scroll-padding-inline: unset; scroll-padding: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; shape-image-threshold: unset; shape-margin: unset; shape-outside: unset; shape-rendering: unset; size: unset; speak: unset; stop-color: unset; stop-opacity: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-linecap: unset; stroke-linejoin: unset; stroke-miterlimit: unset; stroke-opacity: unset; stroke-width: unset; stroke: unset; tab-size: unset; table-layout: unset; text-align-last: unset; text-align: unset; text-anchor: unset; text-combine-upright: unset; text-decoration-skip-ink: unset; text-decoration: unset; text-indent: unset; text-orientation: unset; text-overflow: unset; text-rendering: unset; text-shadow: unset; text-size-adjust: unset; text-transform: unset; text-underline-offset: unset; text-underline-position: unset; touch-action: unset; transform-box: unset; transform-origin: unset; transform-style: unset; transform: unset; transition: unset; user-select: unset; vector-effect: unset; vertical-align: unset; visibility: unset; widows: unset; width: unset; will-change: unset; word-break: unset; word-spacing: unset; writing-mode: unset; x: unset; y: unset; z-index: unset; zoom: unset;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;&quot;&gt; astype_nansafe
&lt;/span&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;2&lt;/span&gt;    raise ValueError(&quot;Cannot convert non-finite values (NA or inf) to integer&quot;)
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;3&lt;/span&gt;ValueError: Cannot convert non-finite values (NA or inf) to integer
&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;452&quot; style=&quot;background-color: white; color: #172b4d; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;letter-spacing: -0.08px;&quot;&gt;To resolve this I’ve changed on NaN’s in this column to zero and it now works. 
&lt;/span&gt;
&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;&lt;span style=&quot;background-color: #f4f5f7; letter-spacing: normal; white-space: pre;&quot;&gt;csv = csv.fillna({&#39;total_uv_in_thousands&#39; : 0}).astype({&#39;total_uv_in_thousands&#39; : &#39;int64&#39;})&lt;/span&gt; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: x-small;&quot;&gt;This works.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://littleripplesproject.blogspot.com/feeds/15444833598524942/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8608610523928821757/15444833598524942' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/15444833598524942'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8608610523928821757/posts/default/15444833598524942'/><link rel='alternate' type='text/html' href='http://littleripplesproject.blogspot.com/2021/09/python-pandas-cannot-convert-non-finite.html' title='Python Panda&#39;s - Cannot convert non-finite values (NA or inf) to integer'/><author><name>DJ Millward</name><uri>http://www.blogger.com/profile/00956188700712120760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5uFzd1oDU8E1oYBaMPDAXQqDF8voL7_YuinTX2a5FTfUVOLIhcJsm0I-K32ktkqqP5cpdEDbnRa81lsicGD0m2mUF8MzoNxHRAF-6A3SIXAwEC4ScJzDjgmq73ZC6OlU/s220/surfing2008.png'/></author><thr:total>0</thr:total></entry></feed>