<?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 Oussama Hichou on Medium]]></title>
        <description><![CDATA[Stories by Oussama Hichou on Medium]]></description>
        <link>https://medium.com/@usmhic?source=rss-c05fb238233d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*VnKeOj-k-p8BHYBg0ir5fQ.jpeg</url>
            <title>Stories by Oussama Hichou on Medium</title>
            <link>https://medium.com/@usmhic?source=rss-c05fb238233d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 21:37:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@usmhic/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[The End of Software Development!?]]></title>
            <link>https://medium.com/@usmhic/the-end-of-software-development-b295a097e201?source=rss-c05fb238233d------2</link>
            <guid isPermaLink="false">https://medium.com/p/b295a097e201</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Oussama Hichou]]></dc:creator>
            <pubDate>Wed, 07 Oct 2026 20:59:50 GMT</pubDate>
            <atom:updated>2026-10-07T20:59:50.210Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8bzw73NMVIh8oJjAWoY01Q.png" /><figcaption>Generated with ChatGPT</figcaption></figure><p>I’m a heavy AI user.</p><p>Sometimes probably too heavy. I even use AI for tasks I could easily do myself.</p><p>But I try to keep one rule:</p><p><strong>AI can help me build, but I remain in control.</strong></p><p>I decide the architecture, the direction, the trade-offs and what actually belongs in the codebase.</p><p>I consider myself more of a generalist software engineer than a framework-specific developer. Languages and frameworks are tools. What matters more to me is understanding how software works underneath them.</p><p>My journey started with competitive programming. I spent years solving algorithmic, mathematical and computational problems. At the time, I was much more interested in difficult problems than building websites or mobile apps.</p><p>Then, during the COVID period, I started exploring cloud technologies, open source and the idea of building my own products.</p><p>That was when I discovered something interesting.</p><p><strong>Being good at programming did not automatically mean being good at building software.</strong></p><p>A real product involved much more: databases, APIs, authentication, frontend design, infrastructure, security, deployment, monitoring and, most importantly, understanding what users actually need.</p><p>So I started experimenting.</p><p>J2EE, FastAPI, Next.js, .NET, Spring Boot, Expo, DevOps, GitHub Actions, blockchain, machine learning and many other technologies.</p><p>Some experiments were useful.</p><p>Some were terrible.</p><p>But they taught me to see software as a complete system rather than just code.</p><p>My first serious freelance project was an Expo mobile application with a Spring Boot backend and Auth0. I designed the database, APIs, authentication flow and parts of the UI.</p><p>This was early 2021.</p><p>Then AI changed everything.</p><p>Suddenly I could explore unfamiliar technologies much faster. I could generate boilerplate, understand codebases, debug problems, write tests and experiment with ideas at a speed that previously would have been impossible for me.</p><p>And this is where I think software development is changing.</p><p>The value is slowly moving away from simply knowing <strong>how to write code</strong>.</p><p>AI is becoming very good at that.</p><p>The harder questions are becoming:</p><p><strong>What should we build?</strong></p><p><strong>How should the system work?</strong></p><p><strong>Is this architecture actually good?</strong></p><p><strong>What happens when something fails?</strong></p><p><strong>Can we trust this code in production?</strong></p><p>Current developer research reflects this contradiction. AI adoption is huge, but trust is still limited. Developers report strong productivity gains while also saying AI frequently produces solutions that are almost right, but not quite.</p><p>That is exactly why I don’t think the software engineer disappears.</p><p>The role changes.</p><p>We may write less code manually.</p><p>We may spend less time memorizing frameworks.</p><p>We may increasingly manage agents that generate, test and review software for us.</p><p>But somebody still needs to understand the system.</p><p>Somebody still needs to make decisions.</p><p>Somebody still needs to notice when the AI is confidently wrong.</p><p>AI makes me faster. It allows me to work across technologies that would previously have taken much longer to learn.</p><p>But I don’t want AI to replace my understanding.</p><p>I want it to amplify it.</p><p>So perhaps this is not really the end of software engineering.</p><p>It may simply be the end of <strong>coding being the most important part of being a software engineer.</strong></p><p>And I think that is a good thing.</p><p><em>This article was written with the help of GPT.</em></p><p><em>The experiences, opinions and ideas are mine. AI helped me research, challenge and express them more clearly.</em></p><p>Which, I suppose, is exactly the point.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b295a097e201" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Skadoosh: A Modern Software Development Lab]]></title>
            <link>https://medium.com/@usmhic/skadoosh-a-modern-software-development-lab-e7bc4680df8b?source=rss-c05fb238233d------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7bc4680df8b</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[devsecops]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[gitops]]></category>
            <dc:creator><![CDATA[Oussama Hichou]]></dc:creator>
            <pubDate>Sun, 28 Jun 2026 20:25:38 GMT</pubDate>
            <atom:updated>2026-07-16T17:59:28.363Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Modern software development isn’t just about writing code anymore. It’s about using the right tools, following proven engineering practices, and automating repetitive work so you can focus on building products.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*CwUH-2iAcZf2bJgH02R7UQ.gif" /><figcaption>.</figcaption></figure><p>Today, AI assistants, modern frameworks, containers, and CI/CD pipelines make it possible to build production-ready applications in hours instead of days , all while keeping infrastructure simple and affordable.</p><p>This is the workflow I personally use for most of my projects. It combines AI-assisted development with modern tooling to create applications that are easy to build, deploy, and maintain.</p><p>The goal isn’t to use every trendy technology. It’s to use a small set of tools that work well together, follow industry best practices, and let you ship software quickly.</p><p>In this guide we’ll build <strong>Skadoosh: </strong>a simple creative social webapp, prepare it for production, and automate the entire deployment process.</p><blockquote><em>⚠️ </em><strong><em>Before You Start</em></strong></blockquote><blockquote><em>This isn’t a step-by-step tutorial. Think of it as an overview of the workflow I use to build modern full-stack applications.</em></blockquote><blockquote><em>Some of these tools require a bit of setup, and I’ve intentionally skipped many implementation details to keep this guide short and easy to follow.</em></blockquote><h3>Part 1 : Build the Project</h3><p>Every project starts the same way.</p><p>Instead of spending hours configuring a project from scratch, I prefer starting with a solid foundation that already includes documentation, modern tooling, and a clean project structure.</p><p>We’re building <strong>Skadoosh</strong>, a creative social platform for publishing and discovering articles, stories, galleries, collections, and projects.</p><p>We’ll keep the application intentionally simple so we can focus on the workflow rather than the business logic.</p><h3>Bootstrap the Project</h3><p>I like starting with <a href="https://www.fumadocs.dev/docs#automatic-installation"><strong>Fumadocs</strong></a> because it provides an excellent developer experience out of the box.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*toPEEsD2TAU7LbrZoeVxkw.png" /></figure><p>It includes Next.js, Tailwind CSS, documentation, API routes, and a clean folder structure, everything you need to hit the ground running.</p><pre>npx create-fumadocs-app@latest skadoosh<br>cd skadoosh<br>npm install</pre><p>Within a couple of minutes you’ll already have a clean, modern project ready for AI to extend.</p><h3>Prompt 1 : Build the Application</h3><p>Now it’s time to let AI do the heavy lifting.</p><p>Open GitHub Copilot Agent (or your preferred AI coding assistant) and give it one clear objective. One thing I’ve learned: <strong>simple prompts produce better results.</strong></p><p>Instead of asking AI to build your entire infrastructure, focus on generating the application first.</p><pre>Build a simple, modern full-stack application called Skadoosh, <br>a creative social platform for publishing and discovering articles, <br>stories, galleries, collections, and projects.<br><br>Keep the architecture simple and easy to maintain.<br><br>Use:<br>- Next.js App Router<br>- Better Auth<br>- tRPC<br>- Prisma<br>- PostgreSQL<br>- TypeScript<br><br>Create reusable components.<br>Implement authentication.<br><br>Users should be able to:<br>- Publish creative content.<br>- Discover creators and projects.<br>- Give Kudos, comment, and follow users.<br>- Manage their profile and portfolio.<br><br>Generate clean documentation.<br>Do not over engineer.<br>Keep the folder structure simple.</pre><p>Then…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/256/0*1aQ6oiFlKUj5Fqcc.gif" /><figcaption><em>☕ Go grab a dumpling. Or a coffee. AI is doing the Wuxi Finger Hold on your codebase.</em></figcaption></figure><p>By the time you’re back, you’ll usually have most of the application scaffolded.</p><h3>Prompt 2 — Review, Debug and Clean Up</h3><p>Once the application has been generated, I always ask AI to review its own work before moving on. This catches small issues early and gives you a cleaner project before adding Docker or deployment automation.</p><pre>Review the entire project.<br>Keep everything simple.<br><br>Fix every:<br>- TypeScript error<br>- ESLint error<br>- Build error<br><br>Ensure npm run build completes successfully.<br>Improve the project structure.<br><br>Generate:<br>- .env.example<br>- .gitignore<br>- Better README<br>- Better folder organization<br><br>Review Prisma schema.<br>Remove unused code.<br>Follow modern best practices.<br>Do not over engineer.<br>Keep everything easy to understand and maintain.</pre><p>At the end of this step you should have:</p><ul><li>✅ A clean project structure</li><li>✅ No TypeScript errors</li><li>✅ No ESLint errors</li><li>✅ A successful production build</li><li>✅ A proper .gitignore</li><li>✅ An .env.example</li><li>✅ Clean documentation</li><li>✅ A project that’s ready to be containerized</li></ul><p>Notice that we haven’t talked about Docker, CI/CD, or deployment yet. At this stage we’re <strong>only focused on building a solid application.</strong> Deployment comes next.</p><h3>Commit Your Work</h3><p>Once you’re happy with the project, initialize Git and push it to your repository.</p><pre>git init<br>git add .<br>git commit -m &quot;Initial project&quot;<br>git branch -M main<br>git remote add origin &lt;repository-url&gt;<br>git push -u origin main</pre><p>That’s it for Part 1. We now have a clean, production-ready application that’s easy to maintain. In the next part, we’ll prepare it for deployment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*OvnoFqKiIcorsUuJavyYQA.gif" /></figure><h3>Part 2 — Prepare for Deployment</h3><p>Now that the application is in a good state, it’s time to prepare it for deployment.</p><p>The goal of this part isn’t to deploy the application yet. Instead, we’ll make sure it can run consistently <strong>anywhere</strong> using Docker, then prepare our server for both Development and Production environments.</p><h3>Prompt 3 — Containerize the Application</h3><p>Before writing any workflows or automation, I let AI prepare the project for containerized deployments. Again, keep the prompt focused and simple.</p><pre>Prepare this project for containerized deployments.<br>Keep everything simple.<br><br>Generate:<br>- Dockerfile<br>- .dockerignore<br><br>The Docker image should:<br>- Install dependencies<br>- Build the application<br>- Run Prisma migrations automatically when the container starts<br>- Start the production server<br><br>Do not use Docker Compose.<br>Follow Docker best practices.<br>Do not over engineer.</pre><p>At the end of this step, your project should include:</p><ul><li>✅ Dockerfile</li><li>✅ .dockerignore</li><li>✅ Production-ready container</li><li>✅ Automatic Prisma migrations on startup</li></ul><p>Your application is now portable and can run anywhere Docker is available.</p><p><em>“Works on my machine” is not a deployment strategy. Docker is.</em></p><h3>Create Your Server</h3><p>For hosting, I usually use <a href="https://www.hetzner.com/cloud"><strong>Hetzner Cloud</strong></a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MDVkwsyV1Bhw107i43IIrw.png" /></figure><p>It’s inexpensive, reliable, and more than powerful enough for side projects, internal tools, and many SaaS applications.</p><ol><li>Create a small VPS</li><li>Install <a href="https://dokploy.com/"><strong>Dokploy</strong></a></li></ol><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fx2s_Y5ON-ms%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dx2s_Y5ON-ms&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fx2s_Y5ON-ms%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/c8901c4c1420ed4e7791be62ffea7b4e/href">https://medium.com/media/c8901c4c1420ed4e7791be62ffea7b4e/href</a></iframe><p>Dokploy is an open-source deployment platform that lets you deploy and manage Docker applications on your own server with a simple UI, automated deployments, and far less complexity than traditional DevOps tools.</p><h3>Organize Your Project</h3><p>Inside Dokploy, create a new project. By default it includes a Production environment. Create a second one called <strong>Development</strong>.</p><pre>Skadoosh<br>├── Production  →  main branch  →  latest image<br>└── Development →  dev branch   →  dev image</pre><p>Keeping these environments separate lets you safely test new features before they go live. You push to dev, verify it works, then merge to main. Skadoosh. Done.</p><h3>Configure Your Environments</h3><p>Each environment pulls a different container image:</p><pre>Production   →  latest<br>Development  →  dev</pre><p>Every push to main publishes the latest image. Every push to dev publishes the dev image. Dokploy pulls the correct one automatically.</p><h3>Add PostgreSQL</h3><p>One of my favorite things about Dokploy is how easy it is to provision supporting services.</p><p><strong>New Service → PostgreSQL → Deploy</strong></p><p>That’s it. Once it starts, copy the generated connection string into your application.</p><h3>Environment Variables</h3><p>Your application only needs a few environment variables:</p><pre>DATABASE_URL=<br>BETTER_AUTH_SECRET=<br>BETTER_AUTH_URL=<br>NEXT_PUBLIC_APP_URL=<br>RESEND_API_KEY=<br>EMAIL_FROM=</pre><p>Keep an .env.example in your repo so new contributors know exactly what&#39;s needed. Future-you will thank present-you.</p><h3>Add Email Notifications</h3><p>For emails, I use <a href="https://resend.com/"><strong>Resend</strong></a>. Simple, reliable, takes minutes to integrate.</p><p>It’s worth noting that Resend is an external service — it isn’t hosted on your Hetzner server. Your VPS only hosts your own infrastructure:</p><pre>Hetzner Cloud VPS<br>┌──────────────────────────────┐<br>│  Dokploy                     │<br>│  • Production Environment    │<br>│  • Development Environment   │<br>│  • PostgreSQL                │<br>│  • Your Application          │<br>└──────────────────────────────┘<br><br>External:  Resend (email delivery)</pre><p>Keep external services external. It makes everything easier to debug and replace later.</p><h3>Where We Are</h3><ul><li>✅ A production-ready application</li><li>✅ A Docker image</li><li>✅ A Hetzner server with Dokploy installed</li><li>✅ Production and Development environments</li><li>✅ PostgreSQL provisioned</li><li>✅ Environment variables configured</li><li>✅ Email provider connected</li></ul><p>The only thing left is automation. In the next part, we’ll wire everything together with GitHub Actions and webhooks so every push deploys itself.</p><h3>Part 3 — Automate Everything</h3><p>Our application is ready. Our server is ready. Now it’s time to <strong>Skadoosh</strong> the entire deployment pipeline.</p><p>The goal is simple:</p><ul><li>Build automatically</li><li>Publish Docker images automatically</li><li>Deploy automatically</li></ul><p>After this, releasing a new version is nothing more than pushing your code.</p><p><em>One push. The whole deployment. Skadoosh.</em> 🐾</p><h3>Prompt 4 — Generate the CI/CD Pipeline</h3><pre>Generate GitHub Actions workflows.<br>Keep everything simple.<br><br>Create two workflows:<br><br>Development:<br>- Trigger on pushes to dev<br>- Build the application<br>- Build the Docker image<br>- Tag the image as &quot;dev&quot;<br>- Push to GitHub Container Registry (GHCR)<br>- Notify the Development Dokploy webhook<br><br>Production:<br>- Trigger on pushes to main<br>- Build the application<br>- Build the Docker image<br>- Tag the image as &quot;latest&quot;<br>- Push to GitHub Container Registry (GHCR)<br>- Notify the Production Dokploy webhook<br><br>Reuse steps where possible.<br>Keep the workflows clean.<br>Do not over engineer.</pre><p>Notice something important: <strong>the workflows do not deploy the application.</strong> Their only job is building, publishing Docker images and notifying Dokploy that a new image is available. Deployment is handled by Dokploy.</p><p>This separation keeps the pipeline clean and easy to maintain. Each tool does one thing.</p><h3>GitHub Container Registry</h3><p>The workflows publish two images:</p><pre>ghcr.io/your-project<br>├── latest   →  Production<br>└── dev      →  Development</pre><p>Nothing more.</p><h3>Connect Dokploy</h3><p>Go back to Dokploy. For each environment, copy the deployment webhook.</p><p>You’ll end up with:</p><ul><li>Production webhook</li><li>Development webhook</li></ul><p>Add each as a secret in your GitHub repository. Now the pipeline is complete.</p><h3>The Complete Workflow</h3><p><strong>Development</strong></p><pre>Push to dev → GitHub Actions → Build App → Build Image<br>→ Push &quot;dev&quot; to GHCR → Notify Dokploy → Development Live</pre><p><strong>Production</strong></p><pre>Push to main → GitHub Actions → Build App → Build Image<br>→ Push &quot;latest&quot; to GHCR → Notify Dokploy → Production Live</pre><h3>Daily Development Workflow</h3><p>From now on, developing new features is dead simple.</p><pre>git add .<br>git commit -m &quot;Added New Feature&quot;<br>git push origin dev</pre><p>A few moments later:</p><ul><li>The application is built</li><li>A new Docker image is created</li><li>The dev image is pushed to GHCR</li><li>Dokploy updates your Development environment</li></ul><p>Test your changes. If everything looks good:</p><pre>git checkout main<br>git merge dev<br>git push origin main</pre><p>Production updates itself automatically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*dCIToTThuEnLs4P8SG33OA.gif" /></figure><h3>Final Thoughts</h3><p>Modern software development doesn’t have to be complicated.</p><p>By combining AI with a handful of well-designed tools, you can build applications that are simple to develop, easy to deploy, and inexpensive to maintain.</p><p>This workflow isn’t about using the newest technology just because it’s new. It’s about choosing tools that work well together and remove repetitive tasks from your day.</p><p>There is no secret ingredient. Just good tools, wired together cleanly.</p><h3>Summary</h3><p>Here’s the complete workflow at a glance:</p><ol><li>Bootstrap a project with <strong>Fumadocs</strong></li><li>Use <strong>AI</strong> to generate the application</li><li>Ask AI to review, debug, and clean the project</li><li>Generate a production-ready <strong>Docker image</strong></li><li>Create a <strong>Hetzner</strong> server and install <strong>Dokploy</strong></li><li>Create a project with <strong>Production</strong> and <strong>Development</strong> environments</li><li>Add <strong>PostgreSQL</strong> and configure your environment variables</li><li>Connect external services like <strong>Resend</strong></li><li>Generate <strong>GitHub Actions</strong> workflows</li><li>Publish dev and latest Docker images to <strong>GHCR</strong></li><li>Let <strong>Dokploy</strong> deploy the correct image using webhooks</li></ol><p>After that, every push follows the same path:</p><pre>Code → GitHub → GitHub Actions → Docker Image → GHCR → Dokploy → Live 🚀</pre><p>A simple, modern, production-ready workflow that lets you spend less time managing infrastructure and more time building features.</p><p>If you have questions, suggestions, or would like a more detailed version of any part of this guide, feel free to reach out.</p><p>📧 <strong>Email:</strong> me@osas.cloud <br>💼 <strong>LinkedIn:</strong> <a href="https://linkedin.com/in/usmhic">https://linkedin.com/in/usmhic</a></p><p>Happy building! 🚀🥢</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7bc4680df8b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying and managing your websites has never been easier!]]></title>
            <link>https://medium.com/@usmhic/deploying-and-managing-your-websites-has-never-been-easier-e201ddb12869?source=rss-c05fb238233d------2</link>
            <guid isPermaLink="false">https://medium.com/p/e201ddb12869</guid>
            <category><![CDATA[wordpress]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[deployment]]></category>
            <category><![CDATA[digital-ocean-droplet]]></category>
            <category><![CDATA[website]]></category>
            <dc:creator><![CDATA[Oussama Hichou]]></dc:creator>
            <pubDate>Thu, 01 Sep 2022 21:46:00 GMT</pubDate>
            <atom:updated>2022-09-02T08:20:11.332Z</atom:updated>
            <content:encoded><![CDATA[<h4>Create, manage, and deploy your HTML, PHP and WordPress websites with EasyEngine.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h3xzKpsj5PqnQAadvh1XCw.png" /></figure><p>There are so many ways of how you can create or deploy a website. However, at some point, it’s either <strong>complicated </strong>or <strong>expensive</strong>.</p><p>I’m not talking about simple static websites which you can deploy easily on <strong>GitHub </strong>for <strong>FREE </strong>with <a href="https://pages.github.com/"><strong>GitHub Pages</strong></a>.</p><blockquote><strong>I’m talking about multiple HTML, PHP and WordPress websites all in one place, each with a specific subdomain.</strong></blockquote><p><strong>What you’ll need:</strong></p><ul><li><em>A server with ports http and https open (80, 443).</em></li><li><em>A domain name pointed to your server’s IP Address.</em></li></ul><blockquote><strong>If you don’t have them, no worries! we’ll go through the best deals of how you can get them.</strong></blockquote><p>Here is a summary of what we’ll do together:</p><ol><li>Creating a Server.</li><li>SSH into the Server.</li><li>Setting up EasyEngine.</li><li>Setting up a domain name.</li><li>Creating websites.</li></ol><blockquote><strong>Feel free to skip any part you want if you feel like you got it!</strong></blockquote><h3><strong><em>Creating a Server:</em></strong></h3><p>First, we need to <strong>create a server</strong> in the cloud. A computer provided by a cloud services provider in a datacenter capable of hosting your websites.</p><p>There are so many companies providing servers with different sizes, shapes… However, personally, for this case, I prefer <a href="https://m.do.co/c/2caaab166c18"><strong>Digital Ocean</strong></a>, for their <strong>easy</strong>, <strong>fast </strong>and <strong>cheap</strong> solutions.</p><p>Also, when you sign up for the first time you’ll get <strong>100$ FREE credit valid for 2 months</strong>.</p><p>Now let’s create a <a href="https://m.do.co/c/2caaab166c18">Digital Ocean account</a> and get the 100$ FREE credit:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JhcVCgVRxsoe7bMMzBtSCA.png" /></figure><p>After creating your account, you’ll see a message showing that to be able to use the 100$ you must add payment method.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3WEqjhlEqR1-Of_IWyq-2A.png" /><figcaption>df</figcaption></figure><p>Okay, Let’s add a payment method…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*giDtU4iQc03jOzN7eNkbjw.png" /></figure><p><strong>Please note that you’ll be charged only for what you use when your 100$ expires. </strong>Although, they will ask for few bucks in the process, but you’ll still get the<em> </em><strong><em>100$+the few bucks.</em></strong></p><p><strong>The 100$ will expire in 2 months, you better make the most out of it!</strong></p><p>Now, after creating the account, a default project called <strong>first-project</strong> will be created automatically. We can change it, create a new project, or continue working with it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gj4to5OsejFWs1fVE1cSwA.png" /></figure><p>Let’s<strong> create a droplet now</strong>, it’s a fancy word for a<strong> virtual machine</strong> (your server).</p><p>We’ll be using <em>Ubuntu 20.04 (LTS) X64</em> as the operating system of our droplet in a shared CPU.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m5Abwdxt5AUATxpro0eRXg.png" /></figure><p>Let’s pick a plan…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vfXYMhDVvTXZT_aOaNCAPg.png" /></figure><p>The cheapest option is <strong>6$ per month</strong>. <strong>You’ll be charged hourly only when the server is running</strong>, which means <strong>if you turn off your machine, you will be charged very little to none, just to reserve the IP and storage.</strong></p><p><strong>Please note that you can upgrade and downgrade your plan however and whenever you want.</strong></p><p>In this case, the more websites you’ll have, the more computing power you’ll need but for now we don’t need much!</p><blockquote><strong><em>The tricky part is going to start now! If you’re new to this, EMBRACE FOR IMPACT!</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*57_HADk1Wifv2bmj9KI8BA.png" /></figure><p>We need to add an <strong>authentication method</strong>, how we’re going to access our droplet the <strong>best </strong>and <strong>most secure</strong> way possible.</p><p>For this we’re picking <strong><em>SSH </em></strong>(secure shell)…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9ZpGVuSaKwlf5qTz6KpZCg.png" /></figure><p>SSH requires that you generate a <strong>super private key</strong> in your machine which pairs with <strong>public key</strong>. Your computer takes care of everything! you just need to enter few commands.</p><p>To generate this key, open your terminal (Powershell on windows) and type:</p><pre>ssh-keygen</pre><p>The command is valid for both Linux and Windows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NW8CasLh0gGEB61w7QvYLQ.png" /></figure><p>It will ask you for the<strong><em> ssh key </em></strong>file name, you can change it, or press enter and keep the default name<strong><em> id_rsa</em></strong><em>.</em></p><p>Afterwards, it will ask you add a <strong>passphrase </strong>to your key. It’s like a password to view your key. <strong>It’s good to have!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2ax2xwXP4Hs0QtAdOurnfg.png" /></figure><p>And <strong>BOOM</strong>! your key is generated… Now let’s go to the directory where our key is stored.</p><p>For Windows:</p><pre>C:\Users\[YOUR_WINDOWS_USERNAME]\.ssh</pre><p>For Linux:</p><pre>/home/[YOUR_LINUX_USERNAME]/.ssh</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/863/1*nZ8Zk11hFk1q0Eqz3MTQSg.png" /></figure><p>You’ll see two files, a private and a public key, the public key will have the extension <strong><em>.pub</em></strong> at the end. Open it with a text editor. Double click or Ctrl+A to <strong>select everything </strong>and then <strong>copy it</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TO_VvkYbs2o-SKBX412N8g.png" /></figure><p>Go back your Digital Ocean Dashboard and<strong> paste the <em>ssh key</em></strong>…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0tBP_pQuWX3FsVkXjAr9SQ.png" /></figure><p>Pick any additional services you want and rename your droplet if you want.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DetXCvUe6dn10Xg8IPmnZw.png" /></figure><p>After you finish, verify all your input, and click on <strong>create droplet</strong> down below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U0qSNmbYnFl4ixhk591J2g.png" /></figure><p><strong>Congratulations</strong>! you created a virtual machine! if you click anywhere on the bar tab, more information about your virtual machine will be shown.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/891/1*UpPKYv1c7X6f4LOnYrVVlg.png" /></figure><blockquote><strong>Please note that the IP address is the public address of your virtual machine that will allows it to connect and communicate on the internet!</strong></blockquote><p>You can configure your virtual machine by clicking on your virtual machine’s name in the bar tab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oalUBsCSY0thoVszGAYJtw.png" /></figure><h3>SSH into the Server</h3><p>Now we need to access our virtual machine. There are so many ways to do it. <strong>The easiest and most secure is via your terminal.</strong></p><p>Open your terminal and type:</p><pre>ssh root@[YOUR_MACHINE_PUBLIC_IP_ADDRESS]</pre><p>It will ask you to verify your connection, just type <strong><em>yes</em></strong>… And just like that you’re in another computer in a datacenter probably few countries away.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mMY6gN3bVBOe0EmowRF62A.png" /></figure><blockquote><strong>If you receive some key error, no worries! you can still access your server via your Digital Ocean Dashboard.</strong></blockquote><p>Click on your server’s name then <strong>access</strong>..</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/942/1*UOi0hcgPOMG0ZslHMNdp6A.png" /></figure><p>And launch it… A new browser tab will pop up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/793/1*_FenXjTQTMOjdvyCNmtEHg.png" /></figure><p>We want now to update our virtual machine now. To do so, we need to run the update command:</p><pre>sudo apt update</pre><p>and then</p><pre>sudo apt upgrade</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dIjQI3bhZXJ3OpOaKxHmVg.png" /></figure><p>Type <strong><em>yes</em> </strong>to continue.</p><h3><strong>Setting up EasyEngine</strong></h3><p>EasyEngine is a Command-line control panel for Nginx Server to manage WordPress sites running on Nginx, PHP, MySQL, and Let’s Encrypt.</p><blockquote><strong><em>In a nutshell, It what will help us create and manage websites!</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c3stpMlCeAzrYv6Adqtflw.png" /></figure><p><strong>Past the following command to install EasyEngine on your server:</strong></p><pre>wget -qO ee rt.cx/ee4 &amp;&amp; sudo bash ee</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KtJX_ExuGhusBZ96xXtj9g.png" /></figure><p><em>It will take few minutes…</em></p><h3>Setting up a domain name</h3><p>You’re going to need a <strong>domain for your websites</strong>. If you already have a domain, just <strong>point it to your server’s IP address</strong>. If not, follow the instructions bellow of how you can get one.</p><blockquote><strong>Personally, I use Namecheap, they have the cheapest domains in the market… they can go down as low and 1$.</strong></blockquote><p>If chose to use <a href="https://www.namecheap.com/"><strong>Namecheap go to their website</strong></a>, create an account and chose you desired domain name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NS7nhG5sox2JTdLeNtKrow.png" /></figure><p>Add as many as you like to your cart and buy them. <strong>If you’re on a budget, don’t worry! one domain can do the job, even for multiple websites.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8uEGpaNWKzhLvl7Fu1OTpQ.png" /></figure><p>When you buy the domain go to your <strong><em>domains list</em></strong>, click on <strong><em>manage </em></strong>next to the domain, and then <strong><em>advanced dns</em></strong>.</p><p>Click on <strong><em>add new record</em></strong><em> </em>and modify as described below<em>:</em></p><pre>A Record          *        [YOUR_MACHINE_PUBLIC_IP_ADDRESS]<br>A Record          @        [YOUR_MACHINE_PUBLIC_IP_ADDRESS]</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pH5GONqaWAyCoZPG5Xm55Q.png" /></figure><p>Save it and wait for few minutes before you continue. Go drink some water!</p><h3>Creating Websites</h3><p><a href="https://easyengine.io/"><strong>EasyEngine Documentation is available in their website</strong></a>. You can see all the commands and the description in <a href="https://easyengine.io/commands/"><strong><em>Commands</em></strong></a><strong><em>.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HY09-OzfmvYZEb17Y2gOoQ.png" /></figure><p><strong><em>ee site</em></strong> will show you all websites management commands.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5aNQ2Wq0DddoG5VKm_smYQ.png" /></figure><p>To create a website, you just need to type one simple command.</p><blockquote><strong>Please note that you can use any subdomain you want as described below or your root domain www or @ which redirects automatically to @ or www and vice-versa.</strong></blockquote><p>Let’s create a WordPress website:</p><pre>ee site create [WEBSITE_NAME].[YOU_DOMAIN_NAME] --type=wp --ssl=le</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/907/1*exps15NpZZFnYYRJ8KlxXQ.png" /></figure><p>When you create a website for the first time it will ask you for your email for ssl generation (to enable HTTPS, Secure HTTP).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2oGFO7H1zyT7tsRXMihBpQ.png" /></figure><p><strong>Taraaaaa!</strong> your wordpress website is ready.<strong> Make sure to save the WordPress username and password for the table generated at the end.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N_28gYzBGT52gDAW8r3oHg.png" /></figure><p>You can modify you <strong>WordPress </strong>website by going to the <strong>admin pane</strong>l in:</p><pre>https://[YOU_WEBSITE_DOMAIN]/wp-admin</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r1zKK6qRqwwj1YVSwOGgCw.png" /></figure><p>What about creating a <strong>static HTML </strong>website now?</p><pre>ee site create [WEBSITE_NAME].[YOU_DOMAIN_NAME] --type=html --ssl=le</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/909/1*YG66bKqSf2RcDXu-n7tWeg.png" /></figure><p>And <strong>BOOOOM</strong>! in just one command.</p><p>Let’s add one more, a <strong>PHP </strong>Website:</p><pre>ee site create [WEBSITE_NAME].[YOU_DOMAIN_NAME] --type=html --ssl=le</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*my70dOig_tz6rD0Ao3PYYw.png" /></figure><p><strong>Here you go!</strong></p><p>If you visit the php or html website, you’ll see something like this..</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CnMAbH3hNZSybxVGbnF-rQ.png" /></figure><p>You can change is easily by going to the source code directory using this command:</p><pre>cd /opt/easyengine/sites/[YOU_WEBSITE_DOMAIN]/app/htdocs</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3omqU6zdcfUeUdLQbq2bkg.png" /></figure><p>Change the title and text with the command:</p><pre>nano index.html</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*-Qfc9R8jH0vLWgy5_MZpvg.png" /></figure><p>And here you go!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JFAwXSSLWNlttSHSsD6n-w.png" /></figure><p>If you want to use a custom code, you can upload your code to GitHub or use an html sample and modify it as described below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/941/1*tWcYD9EwCitt0xeE3XKPvw.png" /></figure><p>We’re going to use <a href="https://github.com/mdn/beginner-html-site-styled"><strong>this repository</strong></a><strong>,</strong>click on <strong><em>code</em></strong> and <strong>copy the link</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XAr-TzeBshoFfR0qrVZ5vQ.png" /></figure><p>Go back to your code directory in your server and use the following command:</p><pre>cd /opt/easyengine/sites/[YOU_WEBSITE_DOMAIN]/app/<br>rm -rf htdocs<br>git clone <a href="https://github.com/mdn/beginner-html-site-styled.git">https://github.com/mdn/beginner-html-site-styled.git</a><br>mv <a href="https://github.com/mdn/beginner-html-site-styled.git">beginner-html-site-styled</a> htdocs</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0JKFaRamOLGaJqXSAIFd8g.png" /></figure><p>That’s it!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q1VttOFYc9PnWNgy1yRi5A.png" /></figure><h3><strong>This is the end! I hope this was beneficial.</strong></h3><p><em>If you have any questions. I’ll be happy to answer.</em></p><blockquote><strong>See you in the next Article!</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e201ddb12869" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>