<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: shafiqruslan</title>
    <description>The latest articles on DEV Community by shafiqruslan (@shafiqruslan95).</description>
    <link>https://dev.to/shafiqruslan95</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F257227%2Fd4960c86-9bdb-40b7-8b30-e8fb9f3efeb0.jpg</url>
      <title>DEV Community: shafiqruslan</title>
      <link>https://dev.to/shafiqruslan95</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shafiqruslan95"/>
    <language>en</language>
    <item>
      <title>How to setup Laravel and Vue .js project in single Digital Ocean droplet</title>
      <dc:creator>shafiqruslan</dc:creator>
      <pubDate>Sun, 09 Jul 2023 15:55:41 +0000</pubDate>
      <link>https://dev.to/shafiqruslan95/how-to-setup-laravel-and-vue-js-project-in-single-digital-ocean-droplet-2ka1</link>
      <guid>https://dev.to/shafiqruslan95/how-to-setup-laravel-and-vue-js-project-in-single-digital-ocean-droplet-2ka1</guid>
      <description>&lt;p&gt;I write this simple tutorial for beginner who having a hardtime to setup Laravel and Vue.js project in single droplet. This tutorial is suitable if you just want to playing around Digital Ocean and want to use it as a staging. I will not explain detail so i will just drop the link of tutorial below for every step i done.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Setup web services for Laravel and Vue.js. For me i use LEMP(linux-nginx-mysql-php)as a web services. &lt;br&gt;
Link: &lt;a href="https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-20-04"&gt;https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-20-04&lt;/a&gt; to&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;In my case i need to buy domain for both Laravel and Vue.js project. I buy domain from GodDaddy. After that i need to change nameserver in GoDaddy admin to Digital Ocean nameserver.&lt;br&gt;
Link: &lt;a href="https://docs.digitalocean.com/tutorials/dns-registrars/"&gt;https://docs.digitalocean.com/tutorials/dns-registrars/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;After you change the namespace, you now have an access from your droplet to connect your domain with any apps in DigitalOcean. &lt;br&gt;
Link:&lt;a href="https://docs.digitalocean.com/products/networking/dns/how-to/add-domains/#add-a-domain-using-the-control-panel"&gt;https://docs.digitalocean.com/products/networking/dns/how-to/add-domains/#add-a-domain-using-the-control-panel&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Then you need to clone both Laravel and Vue.js project in /var/www/. Then run composer install for laravel and run npm install for vue.js project. If your droplet doesnt have composer and npm yet you can follow tutorial below.&lt;br&gt;
Link: &lt;a href="https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-22-04"&gt;https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-22-04&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.digitalocean.com/community/tutorials/how-to-install-and-use-composer-on-ubuntu-20-04"&gt;https://www.digitalocean.com/community/tutorials/how-to-install-and-use-composer-on-ubuntu-20-04&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You need to setup Nginx sites-available config for both Laravel and Vue.js project so the projects can connected with the domain that you buy.&lt;br&gt;
Link: &lt;a href="https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-laravel-with-lemp-on-ubuntu-18-04"&gt;https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-laravel-with-lemp-on-ubuntu-18-04&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.digitalocean.com/community/tutorials/how-to-publish-a-vuetify-app-with-nginx-on-ubuntu-20-04"&gt;https://www.digitalocean.com/community/tutorials/how-to-publish-a-vuetify-app-with-nginx-on-ubuntu-20-04&lt;/a&gt; &lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;And finally now you can run both Laravel and Vue.js project in single droplet. If you having any question you guys can drop the comment below. I will try to answer it.&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>vue</category>
      <category>digitalocean</category>
    </item>
  </channel>
</rss>
