<?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 Sumit Chhetri on Medium]]></title>
        <description><![CDATA[Stories by Sumit Chhetri on Medium]]></description>
        <link>https://medium.com/@shhetri?source=rss-c5ad1206503------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*9cIlGtrRIn5oaCyZ_oOrdQ.jpeg</url>
            <title>Stories by Sumit Chhetri on Medium</title>
            <link>https://medium.com/@shhetri?source=rss-c5ad1206503------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 12:59:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shhetri/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[YoungInnovations Weekly # 69: Series of Blog, CSPO, AAF and SASS Workshop Participation, Secret…]]></title>
            <link>https://medium.com/younginnovations-blog/younginnovations-weekly-69-series-of-blog-cspo-aaf-and-sass-workshop-participation-secret-4a94f6e18605?source=rss-c5ad1206503------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a94f6e18605</guid>
            <category><![CDATA[christmas]]></category>
            <category><![CDATA[weekly]]></category>
            <category><![CDATA[new-year]]></category>
            <category><![CDATA[farewell]]></category>
            <category><![CDATA[agile]]></category>
            <dc:creator><![CDATA[Sumit Chhetri]]></dc:creator>
            <pubDate>Thu, 29 Dec 2016 10:33:46 GMT</pubDate>
            <atom:updated>2016-12-29T10:38:40.555Z</atom:updated>
            <content:encoded><![CDATA[<h3>YoungInnovations Weekly # 69: Series of Blog, CSPO, AAF and SASS Workshop Participation, Secret Santa, Farewell</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XtTMZ5cZ2KWWVFATIr3dpQ.png" /></figure><p>Hello people!! Here I am with yet another but the last weekly for this year. We have so much going on this week, its full of mixed emotions. We are so excited to publish a series of blog posts showcasing the year 2016 at <a href="https://medium.com/u/9d6b00a4800b">YoungInnovations</a> and we have been playing secret Santa this whole week as a part of Social All Hands happening this Friday. But sadly, we are preparing ourselves for yet another goodbye.</p><h4><strong>Blog Series</strong></h4><p><strong>2016 </strong>has been a very busy year here at YoungInnovations. We have been daring; daring in the sense that we have been welcoming changes throughout the year and embracing them. So to give you an insight on where we are right now at the end of the year 2016, we have been publishing a series of <strong>Year 2016 at YoungInnovations</strong> blogs for you. Below are the blogs that are already published and there’s more to come.</p><ul><li><a href="https://blog.yipl.com.np/new-technologies-adopted-year-2016-at-younginnovations-a9d2d5e3f6ef#.z5eb6g4ql">New technologies we adopted in 2016</a></li><li><a href="https://blog.yipl.com.np/project-achievements-year-2016-at-younginnovations-957112e5f1ff#.le5sygrcm">Key achievements in projects we made in 2016</a></li><li><a href="https://blog.yipl.com.np/events-year-2016-at-younginnovations-25ec26688621#.ojsjtbw8v">Events organized in 2016</a></li><li><a href="https://blog.yipl.com.np/event-representations-of-younginnovations-year-2016-67d22522c10f#.n05606hki">Event representations of YoungInnovations in 2016</a></li></ul><h4><strong>CSPO, AAF and SASS Workshop Participation</strong></h4><p><a href="https://medium.com/u/3119645406d4">Prashant Shrestha</a> and <a href="https://medium.com/u/e7a5e24386fd">Prawesh Shrestha</a> attended the two day Certified Scrum Product Owner training course, which was organized by Agile Nepal on December 23, 24. The training provided an in-depth knowledge about Agile and Scrum. It taught the scope and roles of a Product Owner along with practical exercises to learn the duties of the Product Owner. After the training both Prashant and Prawesh have become Certified Product Owners.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*7-NFcXIfn7ajP9Fo3emhvQ.jpeg" /></figure><p>We also participated at the Asia Agile Forum, which was a conference on Agile. The theme of the event was scaling agile and we had different speakers from across Asia like India, Bangladesh, Singapore, Nepal speaking on different topics on how agile can be scaled at an enterprise level.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sDC8cAuqqX_b8LGgy2-zog.jpeg" /></figure><p><a href="https://medium.com/u/4d8602ad9759">Nirazan Basnet</a> participated in SASS Workshop organized by Web Designers Nepal at Leapfrog Academy on 24th Dec. The workshop focused on SASS and its various techniques to improve front-end CSS workflow. The techniques like imports, comments, nesting and writing reusable styles mixed with optional arguments were demonstrated.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*kdII4faLYDPhafdaqqLhZw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*ZBUqhRrv54xgALQ_sn9Xkw.jpeg" /></figure><h4><strong>Social All Hands</strong></h4><p>We will have our social all hands for the month of December this Friday. Tribe 2, which includes me, is the organizer this time. We are looking forward to have loads of fun prior to New year’s eve. Meanwhile, the theme of the Social All hands is Christmas and we came up with this fantastic idea of secret Santa. So everyone in YoungInnovations is a secret Santa of one colleague and he/she will have to present a gift to the colleague on Social All Hands. The fun part is, he/she will have to interact with the receiver indirectly to find out a suitable gift for him/ her .</p><h4><strong>Farewell</strong></h4><p>This week we are bidding farewell to two of our beloved colleagues, <a href="https://medium.com/u/c81c4fe6282e">Julian</a> and <a href="https://medium.com/u/c5ad1206503">Sumit</a>. Yes, this is my last week here at YoungInnovations. All of us wish <a href="https://medium.com/u/c81c4fe6282e">Julian</a> a very successful life ahead and hope he excels in whatever path he choose to move on. As for me, I will miss YoungInnovations so much and I will be saying “GoodBye” with a smiling face because :</p><blockquote>“A good-bye is never painful unless you’re never going to say hello again.”</blockquote><h4><strong>My Experience</strong></h4><p>Since I am leaving and most probably this is going to be my last weekly post for YoungInnovations, I want to share some of my experience with you. I still remember 16th Feb 2015, the day of my interview at YoungInnovations. I was a fresher with handful of skill sets, yet to explore this vast industry of Software Engineering. And here I am today, entitled as Senior Software Engineer, experienced in various back-end and front-end frameworks, participants of different meetups as well as a panelist in one of them, implementer of ChatOps in YoungInnovations and a role model for some of my colleagues. I have achieved so much, in past 22 months, while being a part of YoungInnovations and for all of it, I have my utmost and eternal gratitude towards YoungInnovations and specially <a href="https://medium.com/u/aebbb8050203">Geshan Manandhar</a> who has been a great mentor, supporter, motivator and my role model.</p><p>That’s all for this week. See you in the next year.</p><blockquote>HAPPY NEW YEAR PEOPLE!!</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a94f6e18605" width="1" height="1" alt=""><hr><p><a href="https://medium.com/younginnovations-blog/younginnovations-weekly-69-series-of-blog-cspo-aaf-and-sass-workshop-participation-secret-4a94f6e18605">YoungInnovations Weekly # 69: Series of Blog, CSPO, AAF and SASS Workshop Participation, Secret…</a> was originally published in <a href="https://medium.com/younginnovations-blog">YoungInnovations&#39; Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting better at Object Oriented Approach]]></title>
            <link>https://medium.com/younginnovations-blog/getting-better-at-object-oriented-approach-7d554e12630a?source=rss-c5ad1206503------2</link>
            <guid isPermaLink="false">https://medium.com/p/7d554e12630a</guid>
            <category><![CDATA[php]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[oop]]></category>
            <dc:creator><![CDATA[Sumit Chhetri]]></dc:creator>
            <pubDate>Mon, 23 May 2016 03:32:07 GMT</pubDate>
            <atom:updated>2016-05-23T03:32:07.664Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HKjw7GovucwloNAD5vYnhA.png" /><figcaption>How I code these days…</figcaption></figure><p>I have been coding for around 3 years now. The latter half of it as a professional developer. I had a strong affinity towards Java back in the day when I started coding. Later I switched to PHP, specifically to Laravel framework and now I am a full time PHP developer, developing applications using Laravel framework. Even though I changed the programming language from Java to PHP, I have always been coding in an Object Oriented environment.</p><p>Working in Laravel is fun. It has a codebase that is so expressive and beautiful to read. If you dive into the core of Laravel, you’ll find that it leverages many Object Oriented Design patterns, and this encourages me to architect the project I work on with a mindset of Object Oriented approach. But what exactly is Object Oriented approach? Following SOLID principles, implementing Design Patterns where applicable, preferring composition over inheritance, writing DRY code as much as possible, etc are some of the signs of following Object Oriented approach. But even after following the patterns and principles, I often ended up with convoluted classes which were very difficult to understand and maintain.</p><p>As a general rule of thumb, I designed classes on the basis of responsibilities and then used composition to piece them together. But even so, I ended up with classes like below :</p><pre>&lt;?php</pre><pre>class Invoice</pre><pre>{<br>    public function __construct(<br>        InvoiceRepositoryInterface $invoice,<br>        InvoiceItemRepositoryInterface $invoiceItem,<br>        DiscountRepositoryInterface $discount,<br>        Payment $payment,<br>        DatabaseManager $database,<br>        MessengerInterface $messenger,<br>        InvoiceEmailInterface $invoiceEmail,<br>        ConverterInterface $converter,<br>        TenantFileManager $tenantFileManager,<br>        Dispatcher $event,<br>        LoggerInterface $logger<br>    )<br>...</pre><blockquote>Despite convincing myself that I did all of this to refactor the Invoice class, it turned into a GOD class with more than 1000 lines of code. The main problem with this design was that to even call a method in injected classes, I had to create a proxy method in the Invoice class.</blockquote><p>I asked myself, “What did I do wrong?”.</p><p>Laracasts recently released a series named <a href="https://laracasts.com/series/whip-monstrous-code-into-shape"><strong>Whip Monstrous Code Into Shape</strong></a>. It shed light on the exact problems I was facing. I realised that the problem was not in separation of concerns but in the way I had pieced the classes together. Not everything has to be injected through constructor. Not everything has to be extracted in a class. There are better methods to extract common logic from a class and still be able to use it in that class. Going through the series I learnt some new ways to put together the functionalities without having to inject classes into the constructor or make a class in the first place. I have listed some of the methods below.</p><ol><li>Use Traits</li></ol><pre>&lt;?php<br><br><em><br></em>class ExtraMappings<br>{<br>    use MapsExtraMappings, ModifiesEMISCode,       <br>        ExtractsFoundationAndRoof, ModifiesPieceAssessment;<br><br>    <em>/**<br>     * </em><strong><em>@var </em></strong><em>array<br>     */<br>    </em>protected $mappings = [<br>...</pre><p>I rarely used a trait before because I thought it was for extracting common methods that could be used throughout the application. But now, I have changed my perspective on traits. I extract common methods of a class; that may or may not be used in other classes, into a trait. I name the trait by what purpose it serves. This way the class is less cluttered and I can still use the methods through a readable trait.</p><p>2. Use Strategy Pattern</p><pre>protected function mapForPresentKey(ONAData $onaData, $onaKey, array $mappingMetaData)<br>{<br>    if (Modifier::shouldModifyOnaData($mappingMetaData)) {<br>        $modifiedValue = Modifier::get($mappingMetaData)-&gt;modify($onaValue, $onaKey);</pre><pre>...</pre><p>Use factory to instantiate the desired class and call the common method in it. Here, Modifier gets the desired Modifier class and ‘<em>modify’</em> method is called in it. This is called Strategy Pattern.</p><p>3. Use Composite Pattern</p><pre>$installers = [<br>    Installation\CreateLaravelProject::<strong>class</strong>,<br>    Installation\DownloadSpark::<strong>class</strong>,<br>    Installation\UpdateComposerFile::<strong>class</strong>,<br>    Installation\ComposerUpdate::<strong>class</strong>,<br>    Installation\AddCoreProviderToConfiguration::<strong>class</strong>,<br>    Installation\RunSparkInstall::<strong>class</strong>,<br>    Installation\AddAppProviderToConfiguration::<strong>class</strong>,<br>    Installation\RunNpmInstall::<strong>class</strong>,<br>    Installation\RunGulp::<strong>class</strong>,<br>];<br><br>foreach ($installers as $installer) {<br>    (new $installer($this, $input-&gt;getArgument(&#39;name&#39;)))-&gt;install();<br>}</pre><p>The point of the <a href="http://en.wikipedia.org/wiki/Composite_pattern">composite pattern</a> is to be able to treat a collection of objects as if it were a single object. The above code is from the <a href="https://github.com/laravel/spark-installer/blob/master/src/NewCommand.php#L66-L80">Laravel Spark installer</a> command. Here, small tasks are split into smaller classes and common method ‘<em>install</em>’ is specified in all of them which then are called in loop.</p><p>4. Use Pass Through</p><pre>class Invoice<br>{<br>    public function payment()<br>    {<br>        return new Payment($this);<br>    }<br>}</pre><p>To call the methods of Payment class, I do not have to create proxy methods inside Invoice class. Instead, I can create a single method ‘<em>payment’ in Invoice class -</em> that gives me the instance of Payment class - and call methods in Payment class through it.</p><p>These are some of the ways I have started to use, to find a better way to piece the functionalities together. Now, I do not end up with GOD classes and also maintain the readability of the code.</p><p>I think, I am getting better at Object Oriented Approach.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7d554e12630a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/younginnovations-blog/getting-better-at-object-oriented-approach-7d554e12630a">Getting better at Object Oriented Approach</a> was originally published in <a href="https://medium.com/younginnovations-blog">YoungInnovations&#39; Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploy a Laravel 5 application with Capistrano 3]]></title>
            <link>https://medium.com/younginnovations-blog/deploy-a-laravel-5-application-with-capistrano-3-6134a1be5ef7?source=rss-c5ad1206503------2</link>
            <guid isPermaLink="false">https://medium.com/p/6134a1be5ef7</guid>
            <category><![CDATA[capistrano]]></category>
            <category><![CDATA[laravel-5]]></category>
            <category><![CDATA[deployment]]></category>
            <dc:creator><![CDATA[Sumit Chhetri]]></dc:creator>
            <pubDate>Mon, 07 Dec 2015 10:32:05 GMT</pubDate>
            <atom:updated>2016-04-06T04:24:21.180Z</atom:updated>
            <content:encoded><![CDATA[<p>A week ago, I wrote a blog on <a href="https://medium.com/@sumitchhetri/still-stuck-with-ftp-or-git-pull-to-deploy-a1b6d52e7515#.yj70b9lca">Automated Deployment With Capistrano</a>. This is a part-2 to that blog. Here, you will learn to deploy a <a href="http://laravel.com/">Laravel 5</a> application using <a href="http://capistranorb.com/">Capistrano 3</a>. If you come across some terminologies, of which you have no idea, please checkout these <a href="http://shhetri.github.io/capistrano-presentation/#/11">slides</a>. Now lets learn how to deploy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1009/1*0c6HGOkhLsMnHiuVFLCaoA.png" /></figure><h3>Assumptions</h3><p>I will assume that the following things are setup before you try the rest of the steps.</p><ul><li><a href="https://www.ruby-lang.org/en/">Ruby</a> version 1.9.3 or newer in your local machine.</li><li>A server to deploy your application and ssh access to the server with public key.</li><li><a href="http://laravel.com/docs/5.1#installation">Laravel 5</a> application and the server requirements for running it.</li><li><a href="https://git-scm.com/downloads">Git</a> in your local machine and in server. Make sure you do host your application in GitHub or any other git repository hosting service.</li><li>I will name the laravel application as <strong>blog</strong>. You can use any name of your choice.</li><li>A working domain name (eg: blog.app) which points to the application public path in the installation directory of the server, that you will define in the staging.rb file below.</li></ul><h3>Installation</h3><ol><li>Install Capistrano in your local machine</li></ol><blockquote>$ gem install capistrano</blockquote><p>2. Initialise Capistrano in your project blog</p><blockquote>$ cap install</blockquote><p>3. Done!! It was as simple as that.</p><p>Now you just need to configure the server, write some deploy scripts and you are good to go.</p><p>Let’s first see, what exactly the cap install command did in your project.</p><h3>Project Structure</h3><pre>    blog<br>    ├── Capfile<br>    |── config<br>    │   ├── deploy<br>    │   │   ├── production.rb<br>    │   │   └── staging.rb<br>    │   └── deploy.rb<br>    └── lib<br>        └─ capistrano<br>            └── tasks</pre><p>As you can see, it created some files and folders in you project. I will just briefly explain what each file consists.</p><ul><li>Capfile : This is the first file capistrano reads when you run the deploy command. It takes care of loading the bundled deploy tasks as well as any custom tasks from lib/capistrano/tasks.</li><li>deploy.rb : Configuration that applies to all stages can be set in this file. You will write your deploy tasks in this file which runs for all the stages.</li><li>production.rb/staging.rb : These are the stage specific files where you configure you corresponding server. These may also contain the deploy tasks which will run only for the corresponding server.</li></ul><h3>Configuration</h3><p>Now you will configure your server and write some deploy scripts to deploy the blog into the server.</p><pre>staging.rb</pre><pre># server ip address, username with which you ssh to your server and the roles assigned to this server<br>server &#39;192.168.10.10&#39;, user: &#39;vagrant&#39;, roles: %w{app db web}</pre><pre># path to deploy the project<br>set :deploy_to, &#39;/home/vagrant/www/app/staging&#39;</pre><pre># set some variables that is used in deploy tasks written in deploy.rb<br># don&#39;t keep the sensetive credentials here; like database name, username and password<br># you can use overlay for setting sensetive information.<br>set :app_path, &#39;/home/vagrant/www/app/staging/current&#39;<br>set :app_debug, false<br>set :app_key, &#39;NrLNIrApophsxQzbm98DGNlnWK1wxxdc&#39;</pre><p>I am assuming your server to be an staging server and hence, only configuring staging.rb file. I have configured it for my server, which is a vagrant box, homestead. The idea is same for different servers.</p><pre>deploy.rb</pre><pre># config valid only for current version of Capistrano<br>lock &#39;3.4.0&#39;</pre><pre># application name<br>set :application, &#39;blog&#39;</pre><pre># repo url to the project<br>set :repo_url, &#39;https://github.com/shhetri/blog.git&#39;</pre><pre>namespace :environment do<br>    desc &quot;Set environment variables&quot;<br>    task :set_variables do<br>        on roles(:app) do<br>              puts (&quot;--&gt; Create environment configuration file&quot;)<br>              execute &quot;cat /dev/null &gt; #{fetch(:app_path)}/.env&quot;<br>              execute &quot;echo APP_DEBUG=#{fetch(:app_debug)} &gt;&gt; #{fetch(:app_path)}/.env&quot;<br>              execute &quot;echo APP_KEY=#{fetch(:app_key)} &gt;&gt; #{fetch(:app_path)}/.env&quot;<br>        end<br>    end<br>end</pre><pre>namespace :composer do<br>    desc &quot;Running Composer Install&quot;<br>    task :install do<br>        on roles(:app) do<br>            within release_path do<br>                execute :composer, &quot;install --no-dev&quot;<br>                execute :composer, &quot;dumpautoload&quot;<br>            end<br>        end<br>    end<br>end</pre><pre>namespace :deploy do<br>  after :updated, &quot;composer:install&quot;<br>  after :finished, &quot;environment:set_variables&quot;<br>end</pre><p>Here, I have written two tasks named, set_variables inside environment namespace and install inside composer namespace. Its clear with the command name itself, what these tasks do. After the repo is cloned form the Github, the packages are installed through composer and after the deploy is finished, the environment variables are setup. These are the minimal tasks I have demonstrated here as each project has its own requirements, and so its own deploy tasks. You can follow the same pattern to write your own tasks. Just be sure on when to call your tasks. Capistrano comes with predefined <a href="http://capistranorb.com/documentation/getting-started/flow/">workflow</a> and you must check it.</p><h3>Deploy</h3><p>You have configured the server and the deploy tasks. Now its time to deploy your application.</p><blockquote>blog $ cap staging deploy</blockquote><blockquote>The command takes the form of : cap <em>stage</em> deploy</blockquote><p><em>Stage</em> could be staging, production or any other.</p><p>Now if you hit your registered domain name for this application, in the browser, you will see your application up and running.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6134a1be5ef7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/younginnovations-blog/deploy-a-laravel-5-application-with-capistrano-3-6134a1be5ef7">Deploy a Laravel 5 application with Capistrano 3</a> was originally published in <a href="https://medium.com/younginnovations-blog">YoungInnovations&#39; Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Still stuck with FTP or Git pull to deploy?]]></title>
            <link>https://medium.com/younginnovations-blog/still-stuck-with-ftp-or-git-pull-to-deploy-a1b6d52e7515?source=rss-c5ad1206503------2</link>
            <guid isPermaLink="false">https://medium.com/p/a1b6d52e7515</guid>
            <category><![CDATA[capistrano]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[deployment]]></category>
            <dc:creator><![CDATA[Sumit Chhetri]]></dc:creator>
            <pubDate>Mon, 07 Dec 2015 10:21:11 GMT</pubDate>
            <atom:updated>2015-12-09T08:45:17.108Z</atom:updated>
            <content:encoded><![CDATA[<h3>Still stuck with FTP or Git pull to deploy? It’s high time to embrace Automated Deployment with Capistrano [Slides]</h3><p>Are you still using FTP to deploy your code? Are you still manually performing the same steps of deploying a feature, again and again? How many hours have you spent on ssh-ing into the server, pulling the repo, migrating the database, reloading the web server and so on, for each deployment?? Ever wondered if there is a process as simple as a single click to perform all these steps for you?</p><p>Automated Deployment does exactly these things for you. It takes the burden of remembering all the steps required in each deployment process and execute it smoothly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a_7FvoYaNu0-BSYxGddWVQ.png" /></figure><p>You don’t need to know the rocket science to conclude that machine is reliable, efficient and faster than humans. In context to the software development, be it writing your code, testing your code and deploying your code, it is not a different story. You need to leverage the tools and technologies available, if you want to be a better software engineer. If the tools are free that is even better.</p><p>In regard to software deployment, just try to count the number of times you deploy your software to staging, testing or production server, during its life cycle. I am pretty sure you don’t have an exact number, or if you have, it is no less than hundreds. In each deployment you execute, it involves numerous steps; be it running some package installer scripts/commands, migrating your databases, notifying the clients about the deployment, and so on, which you will repeat again and again. You have no guarantee either, that the deployment will be successful each and everytime because YOU, a human, are deploying. Since you are deploying, it is more likely to be error prone than it would have been, had it been automated.</p><p>I am going to deliver a presentation in the <a href="https://developers-nepal.github.io/php/meetups/05-Sep-2015/">PHP Dev Meetup #14</a> on the very topic and below are the slides for that presentation. You can have a look at it and decide for yourself, whether you wanna keep getting stuck to the old fashioned and unreliable deployment process or or you want to follow modern deployment paradigm.</p><h3>Slides</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.slideshare.net%2Fslideshow%2Fembed_code%2Fkey%2F2pJCggyg9f24hj&amp;url=http%3A%2F%2Fwww.slideshare.net%2FSumitChhetri1%2Fautomated-deployment-with-capistrano&amp;image=http%3A%2F%2Fcdn.slidesharecdn.com%2Fss_thumbnails%2Fautomateddeploymentwithcapistrano-150904031940-lva1-app6892-thumbnail-4.jpg%3Fcb%3D1441340389&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=slideshare" width="425" height="355" frameborder="0" scrolling="no"><a href="https://medium.com/media/aa831d37b3c80f963d13c9c7138f058d/href">https://medium.com/media/aa831d37b3c80f963d13c9c7138f058d/href</a></iframe><p>You can also view the slides from <a href="http://shhetri.github.io/capistrano-presentation/">Github</a>.</p><p>There is a <a href="https://medium.com/@sumitchhetri/deploy-a-laravel-5-application-with-capistrano-3-6134a1be5ef7#.uskbqz7rw">part-2</a> to this blog, in which I have written in detail, on how you can setup and deploy a <a href="http://laravel.com/">Laravel 5</a> project using <a href="http://capistranorb.com/">Capistrano 3</a>. So do check it out.</p><p>Happy Deploying!! :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a1b6d52e7515" width="1" height="1" alt=""><hr><p><a href="https://medium.com/younginnovations-blog/still-stuck-with-ftp-or-git-pull-to-deploy-a1b6d52e7515">Still stuck with FTP or Git pull to deploy?</a> was originally published in <a href="https://medium.com/younginnovations-blog">YoungInnovations&#39; Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>