<?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 55 Studio on Medium]]></title>
        <description><![CDATA[Stories by 55 Studio on Medium]]></description>
        <link>https://medium.com/@55studio?source=rss-e1b9637a4ebe------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*pAKT5dSu7rmzr6pD7TLsJA.jpeg</url>
            <title>Stories by 55 Studio on Medium</title>
            <link>https://medium.com/@55studio?source=rss-e1b9637a4ebe------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 00:25:38 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@55studio/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[From Code to Cloud: Orchestrating Your DigitalOcean Environment with Terraform and Ansible]]></title>
            <link>https://55studio.medium.com/from-code-to-cloud-orchestrating-your-digitalocean-environment-with-terraform-and-ansible-7757b6b46009?source=rss-e1b9637a4ebe------2</link>
            <guid isPermaLink="false">https://medium.com/p/7757b6b46009</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[iac]]></category>
            <category><![CDATA[nuxt]]></category>
            <category><![CDATA[digitalocean]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[55 Studio]]></dc:creator>
            <pubDate>Wed, 23 Oct 2024 06:57:44 GMT</pubDate>
            <atom:updated>2024-10-23T06:57:44.928Z</atom:updated>
            <content:encoded><![CDATA[<p>In this upcoming article, we will delve into how to seamlessly orchestrate your DigitalOcean environment using Terraform and Ansible. Discover the power of Infrastructure as Code (IaC) as we guide you through the process of managing cloud resources effectively.</p><h3>What You Will Learn:</h3><p><strong>Project Structure</strong>: Understand the organization of your Terraform and Ansible files for optimal management.</p><p><strong>Terraform Configuration</strong>: Set up your DigitalOcean infrastructure, including droplets, DNS records, and firewalls.</p><p><strong>Firewall Management:</strong> Implement security by configuring and managing firewalls directly through Terraform.</p><p><strong>Dynamic DNS Management</strong>: Learn how to configure A, MX, and NS records dynamically using Terraform variables to manage domains and subdomains effectively.</p><p><strong>SSL Configuration</strong>: Automate SSL certificate generation and installation for secure connections.</p><p><strong>Website Under Construction Flag</strong>: Implement a flag to show a &quot;Coming Soon&quot; page while the site is under development.</p><p><strong>Dynamic Nginx Configuration</strong>:</p><p>Manage Nginx settings with custom templates to adapt to your application&#39;s needs.</p><p><strong>Database Management:</strong> Set up PostgreSQL, Prisma, and other services like Laravel and Composer through Ansible playbooks.</p><p><strong>Node Version Management</strong>: Utilize NVM to handle Node.js versions easily.</p><p><strong>Extensible Playbooks</strong>: Create reusable Ansible playbooks for future expansion, including those for Nuxt.js and PHP applications.</p><p>Stay tuned for the full article coming later this week!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7757b6b46009" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setting Up Coolify on Ubuntu: A Step-by-Step Guide (Part 1)]]></title>
            <link>https://55studio.medium.com/setting-up-coolify-on-ubuntu-a-step-by-step-guide-part-1-3521fc110773?source=rss-e1b9637a4ebe------2</link>
            <guid isPermaLink="false">https://medium.com/p/3521fc110773</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[coolify]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[55 Studio]]></dc:creator>
            <pubDate>Sat, 06 Jul 2024 20:57:30 GMT</pubDate>
            <atom:updated>2024-07-08T10:37:35.901Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello, fellow developers and tech enthusiasts!</p><p>Today, we&#39;re diving into the world of self-hosted platforms with a step-by-step guide on installing Coolify on Ubuntu.</p><p>If you&#39;re looking for a cost-effective and versatile alternative to services like Heroku or Netlify, you&#39;ve come to the right place.</p><p>Let&#39;s embark on this journey together and unlock the potential of Coolify to manage your deployments more efficiently.</p><h3>What is Coolify?</h3><p>Before we get our hands dirty, let&#39;s understand what Coolify is. Coolify is an open-source, self-hostable platform that allows you to deploy your web apps, static sites, and databases directly to your servers. It&#39;s like having your own Heroku but with the freedom to control every aspect of the infrastructure.</p><h3>Why Ubuntu?</h3><p>Ubuntu is known for its stability and widespread support, making it a favorite among developers for hosting applications. It&#39;s also well-documented and easy to use, providing a solid foundation for our Coolify installation.</p><h3>Prerequisites</h3><p>Before we begin, ensure you have the following:<br>- An Ubuntu server (20.04 LTS recommended)<br>- SSH access to your server<br>- Basic knowledge of the Linux command line</p><h3>Step 1: Update Your Server</h3><p>First things first, let’s make sure your Ubuntu server is up-to-date. Connect to your server via SSH and run the following commands:</p><pre>sudo apt update<br>sudo apt upgrade -y<br></pre><p>This will fetch the latest versions of the packages and upgrade them.</p><h3><strong>Step 2: Install Docker</strong></h3><p>Coolify runs on Docker, so our next step is to install Docker on your Ubuntu server. Execute the following commands:</p><pre>sudo apt install apt-transport-https ca-certificates curl software-properties-common -y<br>curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -<br>sudo add-apt-repository &quot;deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable&quot;<br>sudo apt update<br>sudo apt install docker-ce -y<br></pre><p>To ensure Docker is installed correctly, run:</p><pre>sudo systemctl status docker<br></pre><p>You should see Docker running as a service.</p><p><strong>Step 3: Install Docker Compose</strong></p><p>Although Coolify uses its own version of Docker Compose, it’s good practice to have the official version installed:</p><pre>sudo curl -L &quot;https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)&quot; -o /usr/local/bin/docker-compose<br>sudo chmod +x /usr/local/bin/docker-compose<br></pre><p>Verify the installation with:</p><pre>docker-compose --version<br></pre><h3>Step 4: Install Coolify</h3><p>Now, we’re ready to install Coolify. Clone the Coolify repository and run the installation script:</p><pre>git clone https://github.com/coollabsio/coolify.git<br>cd coolify/scripts<br>./install.sh<br></pre><p>Follow the on-screen instructions to complete the setup.</p><p>Congratulations! You have successfully set up the environment necessary for running Coolify on your Ubuntu server. In the next part, i will cover how to configure Coolify, secure your setup, and deploy your first application.</p><p>Stay tuned, and happy deploying!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3521fc110773" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Starter template for a MEVN ( MongoDB, ExpressJs, VueJs v2, NodeJs ) Stack Application. ( Part 1 )]]></title>
            <link>https://medium.com/coding-vault/starter-template-for-a-mevn-mongodb-expressjs-vuejs-v2-nodejs-stack-application-part-1-62820aeb2a06?source=rss-e1b9637a4ebe------2</link>
            <guid isPermaLink="false">https://medium.com/p/62820aeb2a06</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[mongodb]]></category>
            <category><![CDATA[vuejs-2]]></category>
            <category><![CDATA[vuejs]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[55 Studio]]></dc:creator>
            <pubDate>Sat, 30 Jun 2018 15:39:32 GMT</pubDate>
            <atom:updated>2018-07-02T08:02:57.801Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VesPJpSE3b0xPhg326BqOg.png" /></figure><h4>Prerequisites for this guide:</h4><ul><li>Basic knowledge of Javascript</li><li>Node.js / NPM installed</li><li>MongoDB installed</li></ul><p>The following frameworks, and modules are required for this tutorial:</p><ul><li><a href="https://nodejs.org/">Node.js</a> ( I use v10.3.0)</li><li><a href="https://expressjs.com/">Express.js</a></li><li><a href="https://www.mongodb.com/">MongoDB</a></li><li><a href="https://mongoosejs.com/">Mongoose.js</a></li><li><a href="https://vuejs.org/">Vue.js</a></li><li><a href="https://github.com/vuejs/vue-cli">Vue-CLI</a></li><li>Terminal or Node.js command line</li><li>IDE or Text Editor ( I use Visual Studio Code )</li></ul><blockquote>If you don’t have nodejs installed, <a href="https://medium.com/u/ad0550e33afd">katopz</a> explained it really well in this <a href="https://medium.com/@katopz/how-to-install-specific-nodejs-version-c6e1cec8aa11"><strong>link</strong></a> .</blockquote><blockquote>If you don’t have mongodb installed, <a href="https://gist.github.com/nrollr/9f523ae17ecdbb50311980503409aeb3">here it is</a>.</blockquote><p>Let’s get started.</p><p>First we need to create a folder in our working directory. It can be anywhere you desire. Personally I have my own folder of nodeJs projects.</p><pre>mkdir nodejs-projects &amp;&amp; cd nodejs-projects</pre><p>For the frontend part, we are going to use VueJS and to build up the template files we are going to install VueJs CLI Globaly ( Command Line Interface ), which later we can initiate a VueJs project with command line.</p><pre>npm install -g vue-cli</pre><p>After installing Vue-CLi , check your globally installed vue cli version. My current version is .</p><pre>vue --version</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EgaF4SPFOxf7s83Lu-Oxag.png" /></figure><p>Next, we need to create a new application folder using Vue-Cli which we already installed it’s terminal globally. In your ‘projectname’ folder go ahead open terminal and type this command.</p><pre>vue init webpack projectname</pre><p>You will get the questions like below, just leave all by default.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GrMVInFdSQnJNYF_upZ7IQ.png" /></figure><p>After installing project template files, navigate to ‘projectname’ , install project dependencies (included in package.json ) and run the application.</p><pre>cd projectname<br>npm install<br>npm run dev</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tKJMmdvYaDbRMhDx0p0geA.png" /></figure><p>Now, open your preferred browser then go to this address <a href="http://localhost:8080/">http://localhost:8080</a>, to test if the application is working and you should see this screen with Vuejs logo in the middle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s05BAzY8dZNKCYCY5TNrnQ.png" /></figure><p>You can see a “#” hash tag at the end of url which is automatically added. This is because the default VueJS Router is configured to be : ‘mode : hash’. To remove the “#” tag at the end of the url, in your favorite text editor open</p><pre>projectname/src/router/index.js </pre><p>and between line 7 and 8 add this piece of code.</p><pre>mode: &#39;history&#39;,</pre><p>and finally it should look like this :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jVxE6h0XgA90RNsZUBI-wA.png" /></figure><p>Now navigate again to ‘http://localhost:8080’ and you will not see that “#” at the end.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5XWXRE3qS9McEjXB1wyQXw.png" /></figure><p>Please read more about <a href="https://router.vuejs.org/guide/essentials/history-mode.html#example-server-configurations">History Mode</a> in Vuejs Documentation.</p><p>Now let’s start creating the backend for our application.</p><p>To start creating our backend part of the application, we are going to create a folder “server” inside “projectname” which will hold all backend related folders and files .</p><pre>mkdir server &amp;&amp; cd server</pre><p>Inside server folder, we need to create a new package.json file. With the help of npm , we can create a simple default package.json. Open terminal inside “server” folder and type.</p><p>To get a default <strong>package.json</strong>, run <strong>npm init</strong> with the <strong>--yes</strong> or <strong>-y</strong> flag:</p><pre>npm init --yes</pre><p>This should create a package.json file, inside ‘projectname/server/’ and if you open<strong> package.json</strong> it should look like this.</p><pre>{ <br>   &quot;name&quot;: &quot;server&quot;,<br>   &quot;version&quot;: &quot;1.0.0&quot;,<br>   &quot;description&quot;: &quot;&quot;,<br>   &quot;main&quot;: &quot;index.js&quot;,<br>   &quot;scripts&quot;: {<br>      &quot;test&quot;: &quot;echo \&quot;Error: no test specified\&quot; &amp;&amp; exit 1&quot;<br>   },<br>   &quot;keywords&quot;: [],<br>   &quot;author&quot;: &quot;&quot;,<br>   &quot;license&quot;: &quot;ISC&quot;<br>}</pre><p>Next thing we nee to create an “app.js” file that will hold server configuration data.</p><p>In ‘projectname/server/’ create a folder ‘src’ and inside it create <strong>app.js </strong>file.</p><pre>mkdir src &amp;&amp; cd src<br>touch app.js</pre><p>This will create a blank <strong>app.js </strong>file which we need to require all server dependencies and later initiate this file in package.json file that we created before.</p><p>To check if everything is going well with our steps, let’s open <strong>app.js</strong> we just create and add this piece of code at the beginning .</p><pre>console.log(&#39;It works&#39;);</pre><p>Then inside of <strong>server </strong>folder <strong>package.json </strong>file add this piece of code between line 6 and 7 .</p><pre>&quot;start&quot;: &quot;node src/app.js&quot;,</pre><p>and the complete<strong> package.json </strong>file should look like this.</p><pre>{ <br>   &quot;name&quot;: &quot;server&quot;,<br>   &quot;version&quot;: &quot;1.0.0&quot;,<br>   &quot;description&quot;: &quot;&quot;,<br>   &quot;main&quot;: &quot;index.js&quot;,<br>   &quot;scripts&quot;: {<br>      &quot;start&quot;: &quot;node src/app.js&quot;,<br>      &quot;test&quot;: &quot;echo \&quot;Error: no test specified\&quot; &amp;&amp; exit 1&quot;<br>   },<br>   &quot;keywords&quot;: [],<br>   &quot;author&quot;: &quot;&quot;,<br>   &quot;license&quot;: &quot;ISC&quot;<br>}</pre><p>This will tell package.json file that there is a npm command with <strong>“start”</strong> that will look at <strong>app.js</strong> folder.</p><p>Now in <strong>server</strong> folder in terminal run</p><pre>npm run start</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R45TDgLxImYbtz02qLnCCA.png" /></figure><p>At the end of the terminal , you should see <strong>It works </strong>string that we added on our app.js file.</p><p>If we do any changes in server folder files, we will need to stop the server and start it again. To do this automatically, we need to install <strong>Nodemon </strong>which is a utility that will monitor for any changes in your source and automatically restart your server.</p><p>In ‘projectname/server/’ run this command in the terminal</p><pre>npm i --save nodemon</pre><p>Then open <strong>package.json</strong> file and edit the <strong>start</strong> script with this code</p><pre>&quot;start&quot;: &quot;nodemon src/app.js&quot;,</pre><p>Now whenever you run npm run start — you don’t need to stop and rerun the server again. Nodemon detects all your changes in source code and refreshes the server itself.</p><p>Now we need to install our backend dependencies starting with express.js</p><p>In ‘projectname/server/’ folder run the command</p><pre>npm i express --save</pre><p>This will install <strong>express.js</strong> inside ‘<strong>node_modules</strong>’ folder inside <strong>server</strong> folder and add this as dependency in <strong>package.json </strong>file.</p><p>Now if you open <strong>package.json </strong>file located in <strong>server </strong>folder you should see this piece of code added at the end of file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/552/1*rGQQK1-ocH8-Eu56SDl8bg.png" /></figure><p>For making HTTP requests we also need to install some other middleware dependencies like :</p><ul><li><a href="https://www.npmjs.com/package/body-parser">Body Parser</a> ( Parse incoming request bodies in a middleware before your handlers, available under the req.body property )</li><li><a href="https://www.npmjs.com/package/cors">Cors</a> ( CORS is a node.js package for providing a <a href="http://www.senchalabs.org/connect/">Connect</a>/<a href="http://expressjs.com/">Express</a> middleware that can be used to enable <a href="http://en.wikipedia.org/wiki/Cross-origin_resource_sharing">CORS</a> with various options )</li><li><a href="https://www.npmjs.com/package/morgan">Morgan</a> ( HTTP request logger middleware for node.js )</li></ul><pre>npm i --save body-parser cors morgan</pre><p>Now your package.json file should look like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/738/1*5on7qfONGcsV1PkJ_VKHtw.png" /></figure><p>Now to use this dependencies we need to import them in our <strong>app.js </strong>file. Go ahead and paste this code in ‘projectname/server/src/app.js’ file.</p><pre>const express = require(&#39;express&#39;)<br>const bodyParser = require(&#39;body-parser&#39;)<br>const cors = require(&#39;cors&#39;)<br>const morgan = require(&#39;morgan&#39;)</pre><pre>const app = express()<br>app.use(morgan(&#39;combined&#39;))<br>app.use(bodyParser.json())<br>app.use(cors())</pre><pre>app.set(&#39;port&#39;, process.env.PORT || 8081);<br>app.listen(process.env.PORT || 8081)</pre><p>Till now we have build our initial frontend and backend skeleton. You can see the frontend part if you visit <a href="http://localhost:8080/"><strong>http://localhost:8080</strong></a><strong> </strong>and the backend part with <a href="http://localhost:8081/"><strong>http://localhost:8081</strong></a><strong>.</strong></p><p>In the next part which will come <strong>soon</strong>, you are going to achieve this things :</p><ul><li>Create Frontend routes</li><li>Install Axios ( Promise based HTTP client for the browser and node.js )</li><li>Install MongoDB and MongoDB Compass ( The GUI for MongoDB. Visually explore your data)</li><li>Install Mongoose ( Which provides a validation and modeling layer to the app. It also adds some helpers to the native Mongo driver.)</li><li>Install Nodemailer ( We will send e-mails with Node.JS )</li></ul><p>and more…</p><p>Stay tuned…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=62820aeb2a06" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coding-vault/starter-template-for-a-mevn-mongodb-expressjs-vuejs-v2-nodejs-stack-application-part-1-62820aeb2a06">Starter template for a MEVN ( MongoDB, ExpressJs, VueJs v2, NodeJs ) Stack Application. ( Part 1 )</a> was originally published in <a href="https://medium.com/coding-vault">55 tudio</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>