<?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 Miracle Ayodele on Medium]]></title>
        <description><![CDATA[Stories by Miracle Ayodele on Medium]]></description>
        <link>https://medium.com/@iammiracle?source=rss-52fa84173a7b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*kL1RObVh3NlHP0bae0GKcw.png</url>
            <title>Stories by Miracle Ayodele on Medium</title>
            <link>https://medium.com/@iammiracle?source=rss-52fa84173a7b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 23:39:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@iammiracle/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[Deploy Django on Apache + mod_wsgi]]></title>
            <link>https://medium.com/@iammiracle/deploy-django-on-apache-mod-wsgi-747c6e4db9d1?source=rss-52fa84173a7b------2</link>
            <guid isPermaLink="false">https://medium.com/p/747c6e4db9d1</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[apache]]></category>
            <category><![CDATA[django]]></category>
            <dc:creator><![CDATA[Miracle Ayodele]]></dc:creator>
            <pubDate>Wed, 17 Apr 2019 05:16:18 GMT</pubDate>
            <atom:updated>2019-05-24T09:33:22.180Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gAkOZIaTg4jscrIaAAEabw.png" /><figcaption>Django with Apache and mod_wsgi</figcaption></figure><p>Have you ever tried to deploy an app you worked so hard to develop, only to find yourself jump from one tutorial to the other, and yet you couldn’t figure it out?</p><p>Well, my hands are raised, I have been in that situation and trust me some experts out there have faced this challenge before, so relax, you are not the first and won’t be the last.</p><p>I will be showing you, how to deploy your Django app with Apache and mod_wsgi, and this will be very detailed.</p><p>So why am I sharing this:</p><p>I decided to share this, because it was hard for me to get a straightforward reference when I wanted to deploy my app. So what I will be showing you has been used several times, I have never had issues, so you should not have issues deploying a Django app too.</p><p>So before going into details, you should know this:</p><p>The word “mod_wsgi” is an Apache module which can host any Python WSGI application, including Django. Django will work perfectly with any version of Apache as long as it supports mod_wsgi. I believe you know what Apache is, Apache is a web server just like Nginx and can be used with any application writing in any language.</p><p>In this tutorial, it is assumed that you already know how to build a django application or you have an existing django application, if you don’t have a django knowledge, you can check this tutorial: <a href="https://realpython.com/django-setup/">Starting a Django Project</a> by <a href="http://realpython.com/">Real Python</a> or you check <a href="https://tutorial.djangogirls.org/en/django_start_project/">Creating your first Django Project</a> by <a href="https://tutorial.djangogirls.org/">Django Girls</a>.</p><p>Now into details:</p><p><strong>First thing First: Installing the Needful</strong></p><p>You should have apache and mod_wsgi installed, for you to deploy your Django app, with this guys (apache and mod_wsgi), you must have them on your server and it is very easy:</p><p>For apache, just do this: <em>sudo apt-get install apache2, </em>you can also add this</p><pre><em>sudo apt-get apache2.2-common apache2-mpm-prefork apache2-utils libexpat1</em></pre><p>For mod_wsgi, if you are using python 3, you should install mod_wsgi using</p><pre><em>sudo apt-get install libapache2-mod-wsgi-py3</em></pre><p>but for python 2, you can install mod_wsgi using</p><pre><em>sudo apt-get install libapache2-mod-wsgi</em></pre><p>With all necessities installed, lets get to work.</p><p><strong>Apache Configuration:</strong></p><p>To make Django work with Apache, you must setup the <strong><em>conf</em></strong><em> </em>properly. I will advise you have your own <strong><em>conf </em></strong>file instead of editing an existing file. So how do you do this:</p><ul><li>Navigate to the apache conf directory:</li></ul><pre>cd /etc/apache2/sites-available/</pre><ul><li>Create your file using the command:</li></ul><pre>sudo nano new_config.conf</pre><ul><li>Include the code below and save</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fc331c8294f8a80cf6e4403aed38ca51/href">https://medium.com/media/fc331c8294f8a80cf6e4403aed38ca51/href</a></iframe><p>So, let me point out few lines of code that are important for the smooth running of your application;</p><ul><li><strong>ServerName</strong>, simply means the server you are using, this could be a domain or an IP, so if you have a domain or IP you want your app to be connected to that domain or IP, just replace the IP or domain with the 127.0.0.1.</li><li><strong>Alias /static, </strong>this is very important as Apache will be the one responsible for serving your static files to your app. So the <strong><em>/var/www/project_name/static/</em></strong><em> </em>is pointing to the static directory in your app, which is supposed to house all static files used in your app (css, js,images, etc). So make sure you point correctly</li><li><strong>DocumentRoot, </strong>you just need to reference to the root of your project. So, this depends on the location of your project.</li><li><strong>WSGIScriptAlias, </strong>this is another important thing you must not miss out. You use this to point to the wsgi file in your project, and this must be referenced correctly.</li><li><strong>ErrorLog</strong>, In order to effectively manage a web server, it is necessary to get feedback about the activity and performance of the server as well as any problems that may be occurring. So make sure you create a directory called logs, so you won’t get errors.</li></ul><p>Having understood, the code, you must disable the default virtual host config file i.e <strong>000.default.conf</strong>, and enable the newly created virtual host config file and restart as shown below.</p><pre>sudo a2ensite new_config.conf</pre><pre>sudo /etc/init.d/apache2 restart</pre><p>After restart, you should see a message like this:</p><pre>[ ok ] Restarting apache2 (via systemctl): apache2.service</pre><p>Once you get the “OK” message, you have more one thing to do, and that is telling apache to import your python project. The WSGIPythonPath line ensures that your project package is available for import on the Python path; in other words, that import my_project works.</p><p>This can be done inside the apache2.config as shown below</p><pre>sudo nano /etc/apache2/apache2.conf</pre><p>Then at the later part of the code, add your WSGIPythonPath:</p><pre>WSGIPythonPath /var/www/my_project</pre><p>Save and exit, you can also restart your apache and check your app on the browser without the port.</p><p>You are also free to turn off DEBUG, if you are on production, don’t worry your static files are taken care of.</p><p>I hope this help you and has given you more understanding of how Apache and mod_wsgi works fine with Django.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=747c6e4db9d1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Before You Settle For That ERP Software]]></title>
            <link>https://medium.com/@iammiracle/before-you-settle-for-that-erp-software-a0fb663d99dd?source=rss-52fa84173a7b------2</link>
            <guid isPermaLink="false">https://medium.com/p/a0fb663d99dd</guid>
            <category><![CDATA[erp-solutions]]></category>
            <category><![CDATA[erp]]></category>
            <category><![CDATA[erp-software]]></category>
            <dc:creator><![CDATA[Miracle Ayodele]]></dc:creator>
            <pubDate>Tue, 29 Jan 2019 20:38:22 GMT</pubDate>
            <atom:updated>2019-01-30T06:19:01.801Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/617/1*DQz30Mwo-y1ROPFojsj8tQ.png" /></figure><blockquote>As it is said, if you fail to plan, you plan to fail.</blockquote><p>I will like to start with a common example anyone could have found his/her self;</p><p><em>Assuming you need a phone, and you are contemplating on Samsung, Huawei, Infinix and iPhone, there are many things you process within your thoughts right?</em></p><p><em>Someone like me will consider, the battery life span, the memory, the camera quality, the price and I will never neglect people’s review about the phones, that is top priority.</em></p><p>Now back to ERP…</p><blockquote>The choice of an ERP Software can either make or mar your business.</blockquote><p>Enterprise Resource Planning (ERP) applications are always regarded as business applications simply because they automate business processes and make business activities easy. Some of these applications are industry specific and some can easily be plugged into any kind of business.</p><p>There are numerous applications and any business trying to invest in one should consider some if not all of the things I will be explaining.</p><p><strong>1. Open Source vs “Closed Source” ERPs</strong></p><p>Depending on the business you run, one of theses ERPs might be good for you or might be bad for you.</p><p>If you are considering, the flexibility to customize and make the software suite any part of your business, then you should go for Open Sourced but the risk is high as the developer can do anything to break the software, so you should consult an expert.</p><p>On the other hand, if you consider Closed Sourced software, then you will have to always depend on the manufacturer of the software which might cost you a lot and might probably take time to fix or add what you want.</p><p><strong>2. Cheap vs Expensive</strong></p><p>I am pretty sure that every business will like a cost-effective software and some don’t even care about the price as long as they can get the value they want.</p><p>Nevertheless, there are ERP apps that are cheap and yet, can get you the the value you crave for. OSS are less expensive than Closed Source softwares, you just need to pay a consultant, a good consultant, so you don’t waste money.</p><p><strong>3. Good Vendors vs Bad Vendors</strong></p><p>Vendors can sometimes be annoying especially if you have hired the wrong vendor.</p><p>Everyone claims to understand the business of any ERP you are choosing but truthfully they might be lying. So make sure you do your thorough research about a vendor before you hire any.</p><p><strong>4. Cross Platform App vs Single Platform App</strong></p><p>Another factor you should consider before you settle for an ERP, is to check if the ERP is cross platform or one platform.</p><p>Cross platform means, the ability of the ERP to run smoothly on any device; android, iphone or your PC and the single platform app can only work on the platform it was designed for.</p><p>The importance of this, is that the users can easily use the ERP app anywhere, any time.</p><p><strong>5. Easy to Use vs Difficult to Use</strong></p><p>The importance of any purchased ERP is that, it can be used by the users of the business without any difficulties.</p><p>If the users cant use the app, then their is no need for it which will be a pain to the business but if the user can easily flow with the app, then the business will never regret the choice of the purchased ERP.</p><p>In summary, before you settle for any ERP, you should check if it can work on any platform, if it is easy to use, if you can get the right vendor for the ERP, if you can afford the cost and if you prefer closed over open or open over closed ERP. Once these concerns are sorted out, you can now settle for the ERP of your choice.</p><p>Feel free to drop your comments, if you think there are other things to consider before anyone settle for that ERP Software.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a0fb663d99dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>