<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Lotje Kinable on Medium]]></title>
        <description><![CDATA[Stories by Lotje Kinable on Medium]]></description>
        <link>https://medium.com/@lotje-kinable?source=rss-7f34ad579b75------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_qlm33T7mygZmSEgA0DhYQ@2x.jpeg</url>
            <title>Stories by Lotje Kinable on Medium</title>
            <link>https://medium.com/@lotje-kinable?source=rss-7f34ad579b75------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 00:14:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lotje-kinable/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Using Flux UI PRO with envoyer.io]]></title>
            <link>https://lotje-kinable.medium.com/using-flux-ui-with-envoyer-io-0bf5aea67984?source=rss-7f34ad579b75------2</link>
            <guid isPermaLink="false">https://medium.com/p/0bf5aea67984</guid>
            <category><![CDATA[livewire]]></category>
            <category><![CDATA[envoyer]]></category>
            <category><![CDATA[flux-ui]]></category>
            <category><![CDATA[laravel]]></category>
            <dc:creator><![CDATA[Lotje Kinable]]></dc:creator>
            <pubDate>Tue, 24 Sep 2024 16:34:23 GMT</pubDate>
            <atom:updated>2024-09-24T16:37:54.440Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>Navigate to your project and go to ‘Deployment hooks’</li><li>Click on ‘Add hook’</li><li>Name the hook ‘Composer config for Flux UI’</li><li>Run as ‘forge’ or custom if you are not using Laravel Forge</li><li>Add the following command under cd {{ release }}</li></ol><pre>composer config http-basic.composer.fluxui.dev your@email.com your-license-key</pre><p>6. Update your@email.com and your-license-key. You can find this information on<a href="https://fluxui.dev/"> the Flux UI dashboard </a>under ‘licenses’.</p><p>7. Select the checkbox for the correct server(s).</p><p>8. Click on ‘Save hook’</p><p>9. Move the hook just above the default ‘ <strong>Install Composer Dependencies’</strong></p><p>10. Deploy your project.</p><p>Thanks for reading and have fun with Flux UI!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0bf5aea67984" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Install Vue.js in Laravel 8 application (Jetstream/Livewire Stack) on Macos]]></title>
            <link>https://lotje-kinable.medium.com/install-vue-js-in-laravel-8-application-jetstream-livewire-stack-on-macos-d137c0089740?source=rss-7f34ad579b75------2</link>
            <guid isPermaLink="false">https://medium.com/p/d137c0089740</guid>
            <category><![CDATA[jetstream-livewire]]></category>
            <category><![CDATA[vuejs]]></category>
            <category><![CDATA[laravel8]]></category>
            <dc:creator><![CDATA[Lotje Kinable]]></dc:creator>
            <pubDate>Sun, 17 Jan 2021 11:47:24 GMT</pubDate>
            <atom:updated>2021-01-17T11:47:24.903Z</atom:updated>
            <content:encoded><![CDATA[<p>I really like Livewire, but sometimes I want to use Vuejs for things like FullCalendar.io because I’m used to it.</p><ul><li>Laravel 8</li><li>Vuejs 2</li><li>Livewire 2</li><li>Laravel-mix 6</li></ul><ol><li>Use the terminal to install Vue.js (^ 2):</li></ol><pre>npm install vue  // npm i vue</pre><p>2. Install the <a href="https://github.com/livewire/vue">livewire-vue </a>package :</p><pre>npm install livewire-vue --save-dev</pre><p>3. Adapt<strong> resources/js/app.js</strong> :</p><pre>require<em>(</em>&#39;./bootstrap&#39;<em>)</em>;<br><br>require<em>(</em>&#39;alpinejs&#39;<em>)</em>;</pre><pre><strong>require<em>(</em>&#39;livewire-vue&#39;<em>)</em>;<br><br>import Vue from &#39;vue&#39;;<br>import &#39;livewire-vue&#39;;<br><br><em>window</em>.Vue = Vue // &#39;require(&#39;vue&#39;);&#39; won&#39;t work!<br><br>Vue.component<em>(</em>&#39;example-component&#39;, require<em>(</em>&#39;./components/ExampleComponent.vue&#39;<em>)</em>.default<em>)</em>;<br><br>const app = new Vue<em>({<br>    </em>el: &#39;#app&#39;,<br><em>})</em>;</strong></pre><p>4. Create (folder and) file <strong>resources/js/components/ExampleComponent.vue</strong> :</p><pre><em>&lt;</em>template<em>&gt;<br>    &lt;</em>div<em>&gt;</em>Hello World!<em>&lt;/</em>div<em>&gt;<br>&lt;/</em>template<em>&gt;<br><br>&lt;</em>script<em>&gt;<br></em>export default <em>{<br>    </em>mounted<em>() {<br>        </em>console.log<em>(</em>&quot;Mounted!&quot;<em>)</em>;<br>    <em>}<br>}</em>;<br><em>&lt;/</em>script<em>&gt;</em></pre><p>5. In your layout file, standard in Jetstream/Livewire stack is app.blade.php, add <strong>id=”app”</strong> to either the body or the “main” section.</p><pre>&lt;!-- Page Content --&gt;<br><em>&lt;</em>main <strong>id=&quot;app&quot;</strong><em>&gt;<br>    {{ </em>$slot <em>}</em>}<br><em>&lt;/</em>main<em>&gt;</em></pre><p>6. Add <strong>.vue()</strong> to webpack.mix.js. I also added the <strong>.sourceMaps()</strong> because it fixes a “DevTools failed to load SourceMap” 404 error for the source map of livewire-vue.js.map.</p><pre>const <em>mix </em>= require<em>(</em>&#39;laravel-mix&#39;<em>)</em>;<br><br>/*<br> |--------------------------------------------------------------------------<br> | Mix Asset Management<br> |--------------------------------------------------------------------------<br> |<br> | Mix provides a clean, fluent API for defining some Webpack build steps<br> | for your Laravel applications. By default, we are compiling the CSS<br> | file for the application as well as bundling up all the JS files.<br> |<br> */<br><br><em>mix</em>.js<em>(</em>&#39;resources/js/app.js&#39;, &#39;public/js&#39;<em>)<br>    </em>.postCss<em>(</em>&#39;resources/css/app.css&#39;, &#39;public/css&#39;, <em>[<br>        </em>require<em>(</em>&#39;postcss-import&#39;<em>)</em>,<br>        require<em>(</em>&#39;tailwindcss&#39;<em>)</em>,<br>        require<em>(</em>&#39;autoprefixer&#39;<em>)</em>,<br>    <em>])<br>    </em><strong>.sourceMaps<em>(</em>true, &#39;source-map&#39;<em>) </em></strong><em><br>    </em><strong>.vue<em>()</em>;<br></strong><br>if <em>(mix</em>.inProduction<em>()) {<br>    mix</em>.version<em>()</em>;<br><em>}</em></pre><p>7. Run</p><pre>npm run dev </pre><pre>OR</pre><pre>npm run watch</pre><pre>OR </pre><pre>npm run watch-poll</pre><blockquote>Happy coding and thanks for reading!</blockquote><blockquote>Kind regards,</blockquote><blockquote>Lotje Kinable</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d137c0089740" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploy a Laravel App on a Laravel Forge Server using a Digital Ocean Droplet and a domain name]]></title>
            <link>https://lotje-kinable.medium.com/deploy-a-laravel-app-on-a-laravel-forge-server-using-a-digital-ocean-droplet-and-a-domain-name-898f53c55527?source=rss-7f34ad579b75------2</link>
            <guid isPermaLink="false">https://medium.com/p/898f53c55527</guid>
            <category><![CDATA[digitalocean]]></category>
            <category><![CDATA[laravel]]></category>
            <category><![CDATA[laravel-forge]]></category>
            <dc:creator><![CDATA[Lotje Kinable]]></dc:creator>
            <pubDate>Sun, 03 Jan 2021 15:54:59 GMT</pubDate>
            <atom:updated>2021-01-03T15:54:59.701Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><strong>The accounts you need:</strong></blockquote><ol><li>Create a Laravel Forge account, add a credit card and choose which plan you want. If you choose the first plan, only one server can be created. <a href="https://lotje-kinable.medium.com/hosting-2-or-more-laravel-apps-on-one-single-laravel-forge-server-using-only-one-digitalocean-69effd4a5f0d">Checkout my article about deploying multiple Laravel Apps on one Laravel Forge Server</a>.</li><li>Use this link <a href="https://m.do.co/c/1c27867c48f0">https://m.do.co/c/1c27867c48f0</a> to create an account on Digital Ocean and get $100 in credit over 60 days!</li></ol><blockquote><strong>Add Digital Ocean as Server Provider on Laravel Forge:</strong></blockquote><p><strong>DIGITAL OCEAN Part:</strong></p><ol><li>Go to Digital Ocean</li><li>Under the tab Account select API</li><li>Under Tokens/Keys click “Generate New Token”</li><li>Fill in the name of your Token eg. &lt;Forge server App 01&gt;</li><li>Read and Write permissions are already select by default</li><li>Go ahead and click “Generate Token”.</li><li>Next you’ll see a token, copy it.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P4g_TMHkUrV7lB-rPtU-7w.png" /><figcaption>DigitalOcean Token for Laravel Forge Server</figcaption></figure><p><strong>LARAVEL FORGE Part:</strong></p><ol><li>Go to Account (Click on your name on the right)</li><li>Go to Server Providers</li><li>Choose “Digital Ocean” as provider</li><li>Fill in the email address you used for your digital ocean account</li><li>Paste the Token you copied.</li><li>Click ADD CREDENTIAL</li><li>Digital Ocean is now added to the Active providers.</li></ol><p><strong>Creating the Server on Laravel Forge:</strong></p><ol><li>Click on “FORGE” in the header</li><li>Click on the square with “Digital Ocean”</li><li>Most of the credentials are already filled in:</li></ol><ul><li>check your email address</li><li>check the name you want to give your server, leave it if you like it, it should be unique</li><li>check your region</li><li>server size: I start with the first 1GB option, that’s the 5 dollar Droplet, you can always choose a bigger Droplet when you need to</li><li>choose your PHP version</li><li>Post Provision can be ‘none’</li><li>choose your mysql version</li><li>give a NAME to your Database</li><li>leave the Load Balancer unchecked</li><li>leave the Weekly Backups unchecked (unless you want to pay for it)</li></ul><p>4. Click CREATE SERVER</p><p>5. Copy and save the Sudo Password and the Database Password to a secure place, with the name of your server ( especially if you are planning on adding multiple servers)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/497/1*Y1D3ZQqHDMQ3SpLUC-NsIg.png" /><figcaption>Laravel Forge Server Credentials</figcaption></figure><p>6. After a while (+-10 min) your server will be ready, and the status will change from ‘building’ to ‘provisioning’ to ‘connected’.</p><blockquote><strong>Once your server is connected:</strong></blockquote><ol><li>Click on the name of your server or click on Servers and select your server.</li><li>Go to Sites &gt; Active Sites and select the ‘default’ site</li><li>Under Site Details, select Meta</li><li>Fill in your domain name and click UPDATE</li><li>You’ll see your domain name, between the name of your server and your ip address</li></ol><blockquote><strong>On Digital Ocean, connect your (purchased) domain name to your newly created site/server (refresh Digital Ocean, if you were still logged in, then you can find your Droplet with the name of your newly created server under Projects &gt; resources)</strong></blockquote><ol><li>Go to Networking &gt; Domains</li><li>Enter your purchased domain and select your Project (if you have multiple otherwise leave the default)</li><li>Click Add Domain</li></ol><p><strong>Next, we’ll redirect our purchased domain to use the DigitalOcean nameservers , there are three.</strong></p><p><strong><em>Add the first nameserver:</em></strong></p><ol><li>Under Domains, click on your newly added domain</li><li>Under Create new record select the option “NS”</li><li>Add an “@“ or your domain name in the HOSTNAME field</li><li>In the WILL REDIRECT FIELD add “<a href="http://ns1.digitalocean.com/">ns1.digitalocean.com</a>.”</li><li>Leave the TTL default</li></ol><p><strong><em>Add the second nameserver:</em></strong></p><ol><li>Click on Create Record</li><li>Under Create new record select the option “NS”</li><li>Add an “@“ or your domain name in the HOSTNAME field</li><li>In the WILL REDIRECT FIELD add “ns2.digitalocean.com.”</li><li>Leave the TTL default</li></ol><p><strong><em>Add the third nameserver:</em></strong></p><ol><li>Click on Create Record</li><li>Under Create new record select the option “NS”</li><li>Add an “@“ or your domain name in the HOSTNAME field</li><li>In the WILL REDIRECT FIELD add “ns3.digitalocean.com.”</li><li>Leave the TTL default</li><li>Click on Create Record</li></ol><p><strong>Next, we’ll add an A record to redirect our domain name to our server/site:</strong></p><ol><li>Under Create new record select the option “A”</li><li>Add an “@“ or your domain name in the HOSTNAME field</li><li>In the WILL REDIRECT FIELD select your Server/Droplet from the list</li><li>Leave the TTL default</li><li>Click on Create Record</li></ol><p><strong>Then we’ll add a CNAME record to redirect </strong><a href="http://www.yourdomain.com/"><strong>www.yourdomain.com</strong></a><strong> to our server/site:</strong></p><ol><li>Under Create new record select the option “CNAME”</li><li>Add “www” or &lt;<a href="http://www.yourdomainname.com/">www.yourdomainname.com</a>&gt; in the HOSTNAME field</li><li>In the IS AN ALIAS OF field enter an @ or &lt;<a href="http://www.yourdomainname.com/">yourdomainname.com</a>&gt;</li><li>Leave the TTL default</li><li>Click on Create Record</li></ol><p><strong>Now head over to Laravel Forge, we are ready to add our Laravel App to our Site.</strong></p><ol><li>Under Sites, select the name of your Site and head over to the Apps tab.</li><li>Click on Git Repository ( Go to Account &gt; Source Control &gt; CONNECT TO GITHUB and follow the steps to connect your GitHub account to Laravel Forge)</li><li>Install Repository</li><li>Select Github</li><li>Fill in your repository details</li><li>Choose your default branch, which is “main” on Github since a few weeks.</li><li>Choose to Install Composer Dependencies</li><li>Click Install Repository</li><li>Now wait until all is installed</li></ol><p><strong>Head over to ENVIRONMENT under Site Details.</strong></p><p><em>Fill in the details about your Laravel app in the .env file.</em></p><ul><li>database, database user and password (you can create a new database under Servers &gt; Database)</li><li>email server</li><li>APP_URL -&gt; <a href="http://yourdomainname.com/">http://yourdomainname.com</a></li><li>+ all relevant .env settings for your app</li></ul><blockquote><strong>Click SAVE and go to Deployments and click Deploy Now and once the status is Finished click on the green arrow on the right site (at the top) to open up your App.</strong></blockquote><p><strong>Optional: Create an SSL certificate with Let’s Encrypt.</strong></p><ol><li>Go to SSL under Site Details</li><li>Click on the box with LetsEncrypt</li><li>Fill in your domain</li><li>Click OBTAIN CERTIFICATE</li></ol><blockquote>Sometimes it takes some after the site setup before you can create a certificate!</blockquote><p><strong>If the status is installed and active is active, go back to your website and refresh, you’ll now see the lock in your browser.</strong></p><p>Thanks for reading, please leave a comment and happy coding!</p><p>Kind regards,</p><p>Lotje Kinable</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=898f53c55527" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hosting 2 (or more) Laravel apps on one single Laravel Forge Server, using only one DigitalOcean…]]></title>
            <link>https://lotje-kinable.medium.com/hosting-2-or-more-laravel-apps-on-one-single-laravel-forge-server-using-only-one-digitalocean-69effd4a5f0d?source=rss-7f34ad579b75------2</link>
            <guid isPermaLink="false">https://medium.com/p/69effd4a5f0d</guid>
            <category><![CDATA[laravel-forge]]></category>
            <category><![CDATA[laravel]]></category>
            <category><![CDATA[digital-ocean-droplet]]></category>
            <dc:creator><![CDATA[Lotje Kinable]]></dc:creator>
            <pubDate>Fri, 01 Jan 2021 14:00:12 GMT</pubDate>
            <atom:updated>2021-01-03T19:20:45.868Z</atom:updated>
            <content:encoded><![CDATA[<h3>Hosting 2 (or more) Laravel apps on one single Laravel Forge Server, using only one DigitalOcean Droplet and with the use of subdomains (purchased domain name required).</h3><blockquote>Summary: I wanted to host my personal website on Laravel Forge and a project, that’s far from finished. I bought one domain name and one DigitalOcean Droplet. I struggled to find answer to why the “default” website worked and the new app I added to my server did not. Follow these steps to add 2 or more Laravel Apps to one Laravel Forge server (DigitalOcean droplet) and with one domain name (using subdomains).</blockquote><p>Use the link below to get $100 for free over 60 days at Digital Ocean!</p><ul><li><a href="https://m.do.co/c/1c27867c48f0">DigitalOcean - The developer cloud</a></li></ul><p>On Laravel Forge, to to Servers &gt; Sites.</p><p>In the field “root domain” add your chosen subdomain and domain name like &lt;mysubdomain.rootdomain.com&gt;. I used the name of my project for my subdomain, because I want to add multiple versions before I will deploy my project(s) on a seperate server.</p><figure><img alt="Form to create a New Site on Laravel Forge." src="https://cdn-images-1.medium.com/max/1024/1*qGhgo0qoUNSGFLme11BS4g.png" /><figcaption>Laravel Forge, creating a New Site form</figcaption></figure><p>Decide if you want to create separate database, you can always add it later too or use the default database. Then click “ADD SITE”.</p><p>Under the section “Active Sites”, you’ll see your newly created Site:</p><figure><img alt="The site we added through the form." src="https://cdn-images-1.medium.com/max/1014/1*-AB0Y9ZtNKjAhecWpWwSHQ.png" /><figcaption>Laravel Forge, newly created site</figcaption></figure><p>Now we go to Digital Ocean then Projects , locate &lt;ProjectName&gt;, go to Resources &gt; Domains.</p><figure><img alt="Overview Project on Digital Ocean" src="https://cdn-images-1.medium.com/max/1024/1*QyqI37YimixVRW6VMW-yyA.png" /><figcaption>Overview Project on Digital Ocean</figcaption></figure><p>Go to Domains, click on your &lt;purchased domain name&gt; and go to the section Create new record:</p><p>First, we’ll create an A-Record.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FtVaUQuhV99sYLU3ZDm5-g.png" /><figcaption>Overview Digital Ocean “Create new A-record” section</figcaption></figure><ol><li>Select the “A” at the top to create a new A-record (default).</li><li>add your &lt;mysubdomain.rootdomain.com&gt; in the HOSTNAME field.</li><li>select your Droplet in the WILL DIRECT TO field.</li><li>Leave the TTL, unless you know what you are doing (I don’t).</li><li>Click Create Record.</li></ol><p>Now, we’ll create a CNAME-record.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1PFkVnTqYGXL5YkjiufhhQ.png" /><figcaption>Overview Digital Ocean “Create new CNAME-record” section</figcaption></figure><ol><li>Select the “CNAME” option at the top to create a new CNAME-record.</li><li>Enter &lt;www.mysubdomain.rootdomain.com&gt; with the www in the HOSTNAME field.</li><li>Enter &lt;mysubdomain.rootdomain.com&gt; in the IS AN ALIAS OF field.</li><li>Leave TTL</li><li>Click Create Record.</li></ol><p>Now, we have 2 (or more) Sites that are linked to one Laravel Forge Server, using one Droplet. The next step is to add our (GitHub) project to our Site.</p><p>Go to Laravel Forge &gt; Sites and select &lt;mysubdomain.rootdomain.com&gt;, your newly created Site (sometime a refresh is needed to see your new sites under the Sites tab).</p><p>This bit is exactly the same as adding the first (or default) site to Laravel Forge. Click on Git Repository and add your repo.</p><p>Next, go to “Environment” on the left side and wait until the .env file is loaded.</p><p>Change the value of APP_URL to <em>https://&lt;mysubdomain.rootdomain.com&gt;</em></p><p>If you don’t change the above value, the NGINX server does not know to which site your URL needs to be redirected.</p><p>Don’t forget to change any additional values for your project, eg. Database credentials (default database or custom database), mail setup, etc…</p><p>Click “Save” and go to “Deployments” on the left hand side and click “DEPLOY NOW”.</p><p>You can use these steps to create some additional test sites. This is obviously not recommend for production, but you can easily use this to deploy your projects to test them before you decide to purchase an additional (bigger) Digital Ocean Droplet.</p><blockquote>This is my first article, feedback is highly appreciated! Have fun coding Laravel apps and deploying them on Laravel Forge! :-)</blockquote><blockquote>Kind regards,</blockquote><blockquote>Lotje Kinable</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=69effd4a5f0d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>