<?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[Deckspire Thoughts - Medium]]></title>
        <description><![CDATA[Deckspire is a product development firm. We share thoughts on products, technology, development, enterprise startups, tech investing, and more. - Medium]]></description>
        <link>https://medium.com/deckspire-thoughts?source=rss----f1c3650e590c---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Deckspire Thoughts - Medium</title>
            <link>https://medium.com/deckspire-thoughts?source=rss----f1c3650e590c---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 12:42:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/deckspire-thoughts" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Why technology matters more than ever in the insurance]]></title>
            <link>https://medium.com/deckspire-thoughts/why-technology-matters-more-than-ever-in-the-insurance-e8e9df43ce4c?source=rss----f1c3650e590c---4</link>
            <guid isPermaLink="false">https://medium.com/p/e8e9df43ce4c</guid>
            <category><![CDATA[fintech]]></category>
            <category><![CDATA[insurtech]]></category>
            <category><![CDATA[insuretech]]></category>
            <category><![CDATA[insurance]]></category>
            <dc:creator><![CDATA[Nitish Aitharaju]]></dc:creator>
            <pubDate>Thu, 19 Jan 2017 14:36:36 GMT</pubDate>
            <atom:updated>2017-01-19T14:35:43.464Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OQ6UrLou4m5o-JMYNXcpUw.png" /></figure><p>Insurance is a huge, sophisticated industry with of some of the largest companies on the planet. Moreover, it is a relatively sophisticated industry. After all, the leading insurance companies must be able to analyze huge amounts of data to make insurance pricing decisions and invent new insurance products.</p><h3>Insurance is behind in tech</h3><p>Despite all of this, it is still fair to say that the insurance industry is way behind from a technology-perspective. Take one look at the websites for some of the largest insurance companies and you quickly sense that technology (and design) aren’t the highest priorities. It isn’t just a cosmetic problem. Most insurance companies have antiquated technology infrastructures and are surprisingly paper-based. One large insurance company we are familiar with (that prides itself on being easy to work with) has an agent system that is only compatible with Internet Explorer.</p><p>This is not entirely the fault of the industry. Agents, who are themselves typically on the older side, dominate insurance sales. As a result, there was little advantage to be had by investing billions of dollars in cutting edge productivity tools and consumer facing applications. A knock-on effect of this lack of investment was the resultant silo-ed technology systems and databases that are ever more difficult to work with. This is one reason why it was so difficult to launch <a href="http://healthcare.gov/">healthcare.gov</a> that “simple website”.</p><h3>A Retiring Workforce</h3><p>So why is it changing now? For one thing, the industry’s workhorse, the agent sales force, is on the verge of retiring en masse without a suitable number of young agents ready to replace them. This retirement wave will require insurance carriers to finally confront the problem of direct distribution how to build the technology that is necessary to solve that problem. Moreover, companies that have already embraced this change — see Geico and Progressive — have grown their market share over the recent decades, showing the value of investing in technology.</p><p>All of this has led to the rise of the “<em>insurtech</em>” movement, with disruptors popping up daily to challenge the historic dominance of legacy firms. At Bungalow, we believe the movement towards the “<em>consumerization</em>” of the insurance industry will continue and that is why we partnered with Deckspire to build a website that uses the latest technology standards and design principles. We believe this will differentiate Bungalow and our insurance partners in the minds of the consumers. All we have to do now is come up with some witty SuperBowl commercials :).</p><p><strong>About Tom Austin</strong></p><p><em>Tom Austin is a co-founder of Bungalow Insurance, a startup that is improving the way people buy insurance online. Check the company out to learn how the company is improving the </em><a href="http://www.bungalowinsurance.com/"><em>online renters insurance purchasing</em></a><em> experience.</em></p><p><em>Read the original article on our blog at </em><a href="https://www.deckspire.com/blog/why-technology-matters-in-insurance/"><em>https://www.deckspire.com/blog/why-technology-matters-in-insurance/</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8e9df43ce4c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/deckspire-thoughts/why-technology-matters-more-than-ever-in-the-insurance-e8e9df43ce4c">Why technology matters more than ever in the insurance</a> was originally published in <a href="https://medium.com/deckspire-thoughts">Deckspire Thoughts</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Build Vs. Buy: A How-To Guide For Answering The Age-Old Software Question]]></title>
            <link>https://medium.com/deckspire-thoughts/build-vs-buy-a-how-to-guide-for-answering-the-age-old-software-question-ca35f42e43d2?source=rss----f1c3650e590c---4</link>
            <guid isPermaLink="false">https://medium.com/p/ca35f42e43d2</guid>
            <category><![CDATA[saas]]></category>
            <category><![CDATA[product-development]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[Marino Orlandi]]></dc:creator>
            <pubDate>Wed, 01 Jun 2016 15:03:36 GMT</pubDate>
            <atom:updated>2016-06-01T15:19:00.757Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*m-ZvyWO-293lDziHmlJTOA.jpeg" /></figure><p>One of the most important decisions growing companies have to make is whether they will build a custom software solution or buy one off-the-shelf. Executives are tasked with choosing a path that reconciles their company’s immediate needs with their strategy for long-term scalability. The unique structure and requirements of each organization means there is little consensus on the correct answer to this dilemma.</p><p>The strategy for approaching this quandary centers around understanding and accepting that there is no single correct answer, but there is a right answer for your company’s situation. While the nuance of this can initially create more confusion than clarity, taking the time to critically think through your options will lead to better and more effective long-term technology decisions!</p><p>The first step in figuring out a solution to the build versus buy dilemma is to understand, on a high level, the short and long term implications of each choice. There are certain situations when either building or buying are the only logical options, and starting from there can often be the most efficient way to evaluate your options. The following chart breaks down the fundamental pros and cons of each decision:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*FnxVevZ3Q34C4SqFBZlF9g.png" /></figure><p>So what is the right decision for your company? If you don’t clearly fit into one of those four boxes — the most common situation for a growing venture — the following plan of action will you make the smartest decision based on your current requirements.</p><p><strong>#1: Identify Your Business Requirements, Not The Features You Want</strong></p><p>One of the first mistakes companies make when thinking about software is focusing too much on features, and too little on requirements. This can make it difficult to properly evaluate how both off-the-shelf and custom solutions will fit into your business model.</p><p>The distinction between features and requirements is a seemingly small but considerably important one, particularly when it comes to making effective technology decisions. Features are general terms used to describe the particular solutions that a piece of software provides. Requirements are the situation-specific tools that your company and team need in order to incorporate those solutions into your existing business practices.</p><p>A simple example of the difference between features and requirements is the way different organizations utilize CRM (customer relationship management) software. A large percentage of companies out there utilize a team of salespeople to push their product and drive revenue. If one of those companies decides it wants to improve its sales process by obtaining a CRM solution, a very common feature request would be “outreach tracking”: the ability to organize and evaluate the emails, phone calls, and meetings that salespeople are having with prospective clients. Nearly every off-the-shelf CRM solution has an outreach tracking feature.</p><p>That said, there are many different sales structures that companies utilize depending on their vertical, size, and growth strategy. Some companies assign geographic regions to certain sales representatives, and want to be able to compare outreach success across those various regions and salespeople. Other companies require direct integration into their email platform of choice. Some sales organizations want full transparency across the board on outreach, while others require customizability to match their hierarchical structure.</p><p>Identifying not only the features you want, but the requirements that will make them effective based on how your team approaches their work, is a key first step in moving towards the best possible solution. Making this contrast is valuable because it allows you to better understand and lay out the processes that your software solution will have to integrate with.</p><p>The most successful method for putting together a list of business requirements is working backwards. Work within your organization to understand the high-level features that this software needs to have in order to be considered an improvement upon the current process. From that list of features, you can break each one down into the specific business requirements that your ideal software solution would address.</p><p><strong>#2: Learn From Those Around You</strong></p><p>As both individuals and the companies that are comprised of them, we have a fundamental tendency to perceive our problems as unique. While this is sometimes true, it is often the case that the problems we are having have been faced many times by both our predecessors and our competitors. It is important to look at both of these groups when considering investing in software. Certain challenges that businesses face have been solved many times, and understanding the kinds of solutions other organizations are utilizing can give you very valuable insight into the ways that you can best address those same issues.</p><p>Additionally, it is helpful as an evaluative technique to get a sense for whether there is any precedent for the particular path you are considering. Reaching out to contemporaries in your industry in order to learn where they found success, and difficulty, in solving these problems is a good barometer test of the direction you are considering heading in.</p><p><strong>#3: Evaluate Off-The-Shelf Software Based On Your True Business Requirements</strong></p><p>If, as described in the above chart, your budget or timeline preclude you from considering a custom solution, it is important that you choose the right software to purchase. One of the fundamental truths of off-the-shelf software is that no purchased solution can solve every problem, but it may be able to solve a large percentage of them. This is why identifying your business requirements is so important before you begin to engage with vendors.</p><p>It is likely that most established companies selling software will answer a high percentage of your feature requirements. Capitalizing on the insight into your company’s specific business requirements you gained by working backwards from your feature requirements, though, you can work with competing vendors to determine which piece of software will most seamlessly integrate into your current and future work flows.</p><p>It is important to ask any vendor you are considering doing business with: “<em>How does each feature you provide satisfy our company’s business requirements?</em>” Doing so will give you the clearest picture of your options as you move towards making a decision.</p><p><strong>#4: Consider True Cost At Scale</strong></p><p>Finally, it is incredibly important to consider the implications of both building and buying software in the long term. Thinking about not only the immediate costs, but also the long-term costs of building versus buying is an often overlooked component of the decision making process, and one that can be instrumental in determining whether a decision has a wholly positive or negative effect on a company’s growth.</p><p>To do this effectively, it is key to understand both the optimistic and realistic goals for scaling your company. For smaller companies, off the shelf solutions can be an appealing option because of their relatively low upfront cost in comparison to working with a development agency to create a custom solution. However, the costs of many software solutions increase exponentially as the amount of users increases. These costs not only increase; they also continue into perpetuity and can become an enormous cost center.</p><p>Taking time to think considerably about how the pricing structure of an off the shelf solution compares to a custom solution when taking into account organizational growth will allow the most effective, responsible, and successful decision making.</p><p>There are positives and negative solutions to any technological solution a company chooses. The key to making the right decision between building and buying is to recognize that success comes from optimization, not perfect. Best of luck and please reach out to us with any questions!</p><p><a href="http://www.deckspire.com/blog/2016/06/01/build-vs-buy-a-how-to-guide-for-answering-the-age-old-software-question/"><em>Also posted on our blog, which you can check out here.</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ca35f42e43d2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/deckspire-thoughts/build-vs-buy-a-how-to-guide-for-answering-the-age-old-software-question-ca35f42e43d2">Build Vs. Buy: A How-To Guide For Answering The Age-Old Software Question</a> was originally published in <a href="https://medium.com/deckspire-thoughts">Deckspire Thoughts</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[6 Things Startups MUST Consider Before Engaging a Development Agency]]></title>
            <link>https://medium.com/deckspire-thoughts/6-things-startups-must-consider-before-engaging-a-development-agency-b3b63cef095a?source=rss----f1c3650e590c---4</link>
            <guid isPermaLink="false">https://medium.com/p/b3b63cef095a</guid>
            <category><![CDATA[product-development]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Marino Orlandi]]></dc:creator>
            <pubDate>Mon, 02 May 2016 22:41:03 GMT</pubDate>
            <atom:updated>2016-05-03T15:00:43.002Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*cQlmr52SGRF9gqHOOMDnXA.jpeg" /></figure><p>Startups often find themselves in a position where they require technical work on their product, but because of either financial or logistical reasons, it doesn’t make sense to hire a full time engineering team. In this case, software development agencies, often called “dev shops”, provide a valuable service to growing companies. Comprised mostly of engineers, they are teams that work on a contract basis with companies of all sizes — from your college roommate’s marketing startup to the tech development team at Nike — in order to design and develop software solutions that bring ideas from the minds of non-technical founders to the screens of customers.</p><p>If you are at the stage where you require high level development work and you are willing to pay for it, development agencies can be a game-changing resource.</p><p>Over the course of three months, we met with founders of over fifty different development agencies across Boston, San Francisco, New York, Baltimore, and Philadelphia and boiled our learnings down to these six key lessons about how to work with a development agency to successfully launch your product.</p><p><strong>#1–Milestones are paramount to successful projects.</strong></p><p>As entrepreneurs, there is a tendency to see our idea — and the product that’s bringing it to life — as a “<em>thing</em>”, one large object of innovation. While completely understandable, this can also damage the long-term success of developing an application. The end-goal may very well be a sleek, interfacing, do-it-all tool, but thinking too far ahead can obfuscate all of the subtle and important nuances of how that product gets built.</p><p>When a novelist sets out to write a bestseller, they do not write the book in one long sitting. They write it chapter by chapter: planning, drafting, and iterating along the way. This is because crafting and perfecting smaller chapters makes the process far more manageable. Each chapter exists as a standalone segment of narrative that tells its own small story. When put together, many great chapters become a great book.</p><p>Building a product is similar. Taking the time to break your idea down into independent milestones before bringing on a development agency will allow for a more disciplined approach to the development process. Additionally, the larger and more complex a project is, the easier it becomes for things to get overlooked or altogether forgotten.</p><p>Of the 50 development agencies we spoke with, more than 50% choose to explicitly follow a milestone focused project structure, where projects are broken down into multiple self-sufficient deliverables. A key learning from the people we spoke with was the importance on not only milestones themselves, but also the value of metrics. Having metrics by which you evaluate each milestone allows for conclusivity.</p><p>Using a metric-driven milestone method creates accountability around each important stage of your product, and that accountability makes for a more efficient and successful project.</p><p><strong>#2–The relationship <em>begins </em>when the contract is signed.</strong></p><p>There is so much emphasis put on the importance of finding the “right agency for you” out there that once a deal is struck and work begins, it’s easy to breathe a sigh of relief. Getting started is a huge step in the process, and it should feel good to finally find the right partner. That said, one of the biggest mistakes an entrepreneur can make is not realizing that the real work is just beginning.</p><p>Software development is an iterative process. As components of your idea become real and interactive, it will make readily apparent both the most innovative as well as the fundamentally flawed parts of your product. Nearly 8 out of 10 development agencies we spoke with utilize a <em>discovery phase</em> in their contract model. This is an initial period, usually around two weeks, where the development agency and the client work together with the expressed intention of learning whether there is a good fit on both sides.</p><p>Another reason a discovery phase is valuable is that along with being iterative, a successful development project is a two-way street. Most of the development agencies we spoke with are highly selective about the clients they take on. We’ve met with agencies who have fired clients mid-project because of micromanagement, unrealistic expectations, and disregard for agreed upon project parameters. So in order to position yourself for a successful development partnership, it is important to always ask the agency to describe what their ideal client looks like and understand the best way to work with them in order to get a sense for how to best proceed.</p><p>Utilizing this information to best engage with a development partner will pay dividends in the long run. Abandoning ego and striving to consistently evaluate and test your ideas is essential to building the best possible version of your product.</p><p><strong>#3–Good code is a prerequisite: seek out development partners who add value to your business.</strong></p><p>It is widely accepted in the startup world that the criterion by which all development agencies are to be judged centers around their quality of code. Common sense indicates that this is true: good development agencies are writing good code, and bad agencies are turning out products with poor code. In the most valuable development partnerships, good code is a prerequisite.</p><p>Every partner you even begin to consider should have a proven track record of building high quality, scalable, and successful products in their space. The deciding factor, instead, should be value-added: which development agencies are known combining their industry expertise and strategic insights, along with their technical skill, to offer you the most valuable partnership possible?</p><p>To build on the aforementioned point, development work is iterative by nature. Actively seeking a development partner who will engage in a feedback-based development process — shown below — to consistently challenge and improve your ideas will produce the highest quality result at the end of the project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/0*Sl-xxedAK6H_SGO7." /></figure><p>Finally, it is important to point out that in order to get the most out of a relationship with a development agency, it is necessary to let go of any stubborn pride. Founders can become protective of their ideas, and this is completely understandable. What is important, however, is to never let pride get in the way of considering feedback. If you are hiring a development team to build your product, it is likely you do not have the in-house technical expertise to create it without one. Additionally, it is likely that the partner you choose to work with has a lot more collective experience building these technologies than your team does. Taking their feedback seriously and incorporating it with your own vision will produce the highest quality result when it comes time to launch.</p><p><strong>#4–Technology decisions have long-term business implications.</strong></p><p>If you are not a technical founder, and you’re looking to have a web or mobile application built, it is imperative you take more than the initial cost of development into consideration. Here’s a quick breakdown, based on our conversations, of the top five languages development agencies are supporting:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/862/0*NjlTQM-wY_lhqRku." /></figure><p>Different technologies have different financial and logistical challenges that can be less than intuitive, and sometimes saving time and money upfront can be detrimentally problematic down the road.</p><p>One of the biggest contributors to this is the variance in <a href="https://en.wikipedia.org/wiki/Total_cost_of_ownership">cost of ownership</a> that various programming languages have. Software requires maintenance, and unless your application will never be updated or changed, you will likely be bringing people onboard again at some point to do that work. How time-intensive and expensive it is to hire developers to do that work is completely dependant on the language your platform was originally built in. This is the average annual salary for one engineer — based on data from Glassdoor, Indeed, and Angel.co for New York City — for each of the five above languages:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/0*wujllhsWyPvQTcmA." /></figure><p>Thinking further down the road, it is likely that you will eventually be bringing some technical people onto your team. You want your product to be built in a language that will allow you to hire from a deep and competitive candidate pool, so you can choose who you bring on board based on both skill and fit, as opposed to being forced to hire a niche programmer out of mere necessity.</p><p><strong>#5–Forget about trading equity for development work.</strong></p><p>On the surface, trading some portion of equity for free development (i.e. <a href="http://www.investopedia.com/terms/s/sweatequity.asp">sweat equity</a>) may seem like a plausible option for an early stage entrepreneur looking to save money where he/she can.</p><p>The truth is, the only time you should be considering this is if you are bringing somebody on board as a full time technical co-founder. There are only two scenarios that can play out when a services-based company like a development agency agrees to do work for equity, and neither bodes well for a startup:</p><p><strong>Scenario One</strong><em>: </em>If an agency focuses on developing for equity, it is likely that their work will be supremely subpar. If they are operating under this model, they are looking to build as many products as possible in the shortest amount of time. The more products they build, the higher their chances are of an exit occurring for one of those companies and, in turn, the developers getting paid. They have no incentive to produce anything more than passable, and oftentimes come up with much less. Additionally, this space tends to be occupied with less sophisticated players desperate to get started.</p><p><strong>Scenario Two</strong><em>: </em>Developers need to keep the lights on too, and as such you might find a development agency that focuses mainly on contract development work but will occasionally work on projects for equity. This is a bad situation, because as a project that isn’t directly contributing to revenue, you will fall to the bottom of the list in terms of priority work. In this type of scenario, you lose all control over if and when your project is being worked on. This kind of scope creep can be ruinous for a company looking to launch a product.</p><p><strong>#6–When structuring a deal, choose time and materials over fixed cost.</strong></p><p>We asked all fifty development agencies what their thoughts were on cost structure for software development projects. Here is the breakdown of agencies that structure projects using <a href="http://www.accountingtools.com/time-and-materials-pricing">time and materials</a>, <a href="https://en.wikipedia.org/wiki/Fixed-price_contract">fixed cost</a>, and those that use a hybrid approach:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/859/0*rEwZ4RRyBDl1E9Kz." /></figure><p>Software development is one of the most difficult things to scope out, and it is nearly impossible to predict exactly how many hours and engineers it will take to build a product. As a result, the rigidity of fixed pricing is beneficial to neither you nor the development agencies you hire. Even more importantly, the nature of fixed pricing is extremely limiting to an entrepreneur’s product development process.</p><p>A fixed price means that any iterations or changes that were to come up during the build process would require a restructuring of the payment deal, and as a result a higher price. On the other side, time and materials allows for iteration at the pace of the entrepreneur, and encourages a more collaborative process. It is certainly appropriate to set a fixed budget, but demanding a finished product for a set dollar amount at the onset of the project will rarely ending up being more cost effective and will certainly make the process more stressful and less valuable.</p><p>There are a lot of factors that go into a successful development project, and keeping these things in mind will give you an edge as you consider your options. Best of luck and happy building!</p><p><a href="http://www.deckspire.com/blog/2016/05/02/6-things-startups-must-consider-before-engaging-a-development-agency/"><em>Also posted on our blog, which you can check out here.</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b3b63cef095a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/deckspire-thoughts/6-things-startups-must-consider-before-engaging-a-development-agency-b3b63cef095a">6 Things Startups MUST Consider Before Engaging a Development Agency</a> was originally published in <a href="https://medium.com/deckspire-thoughts">Deckspire Thoughts</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Parse is shutting down. How does this affect me?]]></title>
            <link>https://medium.com/deckspire-thoughts/parse-is-shutting-down-how-does-this-affect-me-88cb825dd592?source=rss----f1c3650e590c---4</link>
            <guid isPermaLink="false">https://medium.com/p/88cb825dd592</guid>
            <category><![CDATA[mobile]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[parse]]></category>
            <dc:creator><![CDATA[Marino Orlandi]]></dc:creator>
            <pubDate>Wed, 27 Apr 2016 15:28:07 GMT</pubDate>
            <atom:updated>2016-03-04T18:07:52.038Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/738/1*eRJk5jCg5-jklilHxzAHog.png" /></figure><p><em>Reposted from our company blog. </em><a href="http://www.deckspire.com/blog/2016/02/29/parse-shut-down-how-does-this-affect-me/"><em>Read it here</em></a><em>.</em></p><p>Facebook has recently announced that Parse, the mBaaS (mobile backend as a service) platform it acquired in 2013, is being shut down. Developers currently working off of Parse will have one year to move their apps off of Facebook’s servers, and have been given the option to download a version of the Parse software that can run on top of a Node.js server (most likely hosted on the servers of competitors like Salesforce’s <a href="https://www.heroku.com/">Heroku</a>). With a year of runway, nobody needs to panic just yet. At Deckspire, we’ve used Parse for a few projects and wanted to dig into the story a little bit and offer a few solutions. That said, it begs the question: what happened, and what does this mean for the app development space?</p><p>In 2013, the Facebook team recognized that if they wanted to compete with the likes of Google, Amazon, Microsoft, and other tech giants, they would have to take the plunge and become a true cloud business. Parse represented an opportunity for Facebook to do just this, at a time when the business was facing a number of challenges. They continued to struggle to build out a powerful mobile advertising platform. Coupled with this, in 2013 <a href="http://www.reuters.com/article/us-facebook-ipoprice-idUSBRE96T1CI20130730">Facebook’s stock was trading at a below-IPO price of $38/share</a>. The mobile space was exploding with growth as more and more users shifted away from desktop computing and towards phones and tablets, bringing with it an entire generation of mobile app developers. The Parse acquisition was Facebook’s strategic play at killing more than a few birds with one stone.</p><p>Looking back at Facebook’s biggest challenges nearly three years ago, and understanding that acquiring Parse was an attempt at solving those challenges, it becomes clear that the discontinuation of the Parse platform was a decision made out of pure pragmatism. Today, Facebook stock is up more than 250% from its April 2013 price, closing this evening at $102.01. The mobile development space has lost significant steam from its rapid growth rates a few years back, while Facebook’s <a href="http://adage.com/article/digital/facebook-q4-2016-earnings/302378/">mobile advertising now generates an incredible 80% of their revenue</a>. Parse’s <a href="http://bits.blogs.nytimes.com/2016/01/28/facebook-to-shut-down-parse-its-platform-for-mobile-developers/">15 million users</a>represent not even 1% of the Facebook user base, and the time and effort it required eventually became more of a burden than a benefit in the eyes of the Facebook executive team.</p><p>“Moving forward we want to dedicate more resources to high-impact products and services in areas like analytics, monetization, discovery, and authentication,” said Michael Kirkland, a Facebook representative. “As a result, we’ve made the difficult decision to wind down support for Parse.”</p><p>So the question for mobile app developers who were relying on the Parse platform is “What now?” Github, the web-based Git repository hosting service, worked with its 12 million+ members to come up with <a href="https://github.com/relatedcode/ParseAlternatives">the most comprehensive Parse Alternatives almanac available online</a>. Additionally, <a href="https://www.syncano.io/">Syncano</a> (a Parse competitor-turned-alternative) is offering its entire portfolio of features free to the general public for up to six months in order to ease the burden mobile developers are facing in the wake of the sudden news.</p><p><strong>What Should You Do Next?</strong></p><p>While Facebook decision to shut down Parse will prove problematic for some, it may prove better in the long-run as we hope to see more mBaaS providers surfacing who have nothing but the best interests of the developers who work so hard at heart. In the meantime, there are three options you can consider to deal with the eradication of Parse:</p><p><strong>Option One: An Open Source Parse Server</strong></p><p>In order to make the switch easier on developers, Facebook has chosen to <a href="https://github.com/ParsePlatform/parse-server">open source a very large portion of its technology</a>. With this, you will be able to switch over to running a “light” version of Parse on either your own hardware or through a virtualized server. This option provides the least development work and is probably the simplest route.</p><p><em>Pros:</em></p><ul><li>Free to download and get started</li><li>Easiest option from a development standpoint</li><li>Minor changes to your app to point to the new backend</li></ul><p><em>Cons:</em></p><ul><li>Will lack some of Parse’s previous features</li><li>There won’t be a support system</li><li>You have to host it yourself on your own infrastructure</li><li>Future development is on you</li></ul><p><strong>Option Two: Make The Switch To a Different mBaaS Provider</strong></p><p>There are a number of companies who provide similar services to Parse, that are looking to get your business by providing as much incentive as possible to those who were previously using the now defunct platform. For developers who were happy with Parse and are looking for a similar mBaaS experience (with some added features), we recommend <a href="https://www.kumulos.com/">Kumulos</a> and <a href="https://www.firebase.com/">Firebase</a>.</p><p><em>Pros:</em></p><ul><li>Many features</li><li>High quality support</li><li>Free for apps that currently have a small user base</li></ul><p><em>Cons:</em></p><ul><li>Expensive for apps with a large user base</li><li>You have to switch out Parse from your app and release a new update</li><li>There is a risk that what happened to Parse will happen to these companies (Firebase owned by Google, and it is plausible that Kumulos will be acquired by a large company at some point as well)</li></ul><p><strong>Option Three: Build Your Own Backend</strong></p><p>This is by far the most challenging path technically. It is also the most expensive and time intensive. That said, rolling out your own backend is the only choice that will give you complete and absolute control of your app going forward. It should be noted that this will also require maintaining your own servers.</p><p><em>Pros:</em></p><ul><li>Complete control</li><li>Cheaper long term when looking to scale</li><li>Totally customized for your app</li></ul><p><em>Cons:</em></p><ul><li>Highest cost of development</li><li>Longest development timeline</li><li>No support from large entity</li><li>Difficult to maintain your own servers</li></ul><p>— — —</p><p>Each option has pros and cons based on your app’s specific needs. For the average app developer, we think that continuing with Parse on your own server (Option One) makes the most sense. No option is perfect, but this will provide you with the most cost and time effective option, which will allow you to focus on growing your app’s user base while you consider some of the more intensive options down the line.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=88cb825dd592" width="1" height="1" alt=""><hr><p><a href="https://medium.com/deckspire-thoughts/parse-is-shutting-down-how-does-this-affect-me-88cb825dd592">Parse is shutting down. How does this affect me?</a> was originally published in <a href="https://medium.com/deckspire-thoughts">Deckspire Thoughts</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Outsourcing Development Without Killing Your Startup]]></title>
            <link>https://medium.com/deckspire-thoughts/outsourcing-development-without-killing-your-startup-efc710948a3a?source=rss----f1c3650e590c---4</link>
            <guid isPermaLink="false">https://medium.com/p/efc710948a3a</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[entrepreneurship]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[Marino Orlandi]]></dc:creator>
            <pubDate>Wed, 30 Mar 2016 19:37:41 GMT</pubDate>
            <atom:updated>2016-03-30T19:37:41.397Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rj0HSpJ-u3Uxli_XY7xhVw.jpeg" /></figure><p>At an early stage company, tight budgets and even tighter timelines are cause for constant pressure. Simultaneously, web and mobile software development remains one of the most costly components of any startup’s early budget.</p><p>One of the ways to reign in the often astronomical costs of developing a product is to outsource that work overseas to countries where developers work for far more affordable rates than they do in the United States. Outsourcing often gets a bad rep among entrepreneurs; <a href="http://www.cio.com/article/2406007/outsourcing/it-outsourcing--how-offshoring-can-kill-innovation.html">everyone has heard the horror stories</a> of lost time, wasted money, and failed companies that suffered at the hands of poor offshore development.</p><p>The truth is, any time you relinquish control you are inevitably taking on risk. Knowing how to properly manage that risk is the key differentiator between success and failure. Here are five things we learned — many the hard way — about successfully outsourcing development work:</p><h3><strong>#1 — Recognize that you are building an MVP.</strong></h3><p>One of the easiest mistakes to make when outsourcing development work for your startup is to bite off more than you can chew. Web and mobile applications, just like the ideas behind them, are constant works in progress. Think about when you first had the idea for the product you’re building. Since then, you’ve probably re-worked, re-molded, and improved on that idea many times. And you are going to continue to do so, long after this first version is built.</p><p>One of the safest ways to avoid wasting valuable time and money is to focus on using the offshore development team to produce the simplest, leanest version of your product that still demonstrates the value that it will bring to users (hence the term <a href="https://leanstack.com/minimum-viable-product/">MVP</a>, or <a href="https://leanstack.com/minimum-viable-product/">minimum viable product</a>). Whittling your product down to an MVP, and setting aside all extra features for a later build, will allow you to keep both your budget and timeline intact as you build something that proves your value proposition.</p><h3><strong>#2 — Compare multiple developers to find the best fit for you and your team.</strong></h3><p>A common misconception is that developers are tools that you are bringing in to do a straightforward technical job and leave. The inconsistency here is that you are asking these developers to bring an idea to life: that requires a transfer of key information from your team to theirs. As a result, you are going to want to make sure you place as much value on the interpersonal compatibility and communication skills of the offshore team you hire as you do on their technical expertise.</p><p>Finding a team that you feel comfortable communicating with will save time and money in the long run, as it will minimize the need to repeatedly backtrack and fix things that were done incorrectly the first time.</p><p>The best and most cost efficient way to compare teams is to break your MVP down into milestones, and use the first milestone — what should be a very small project — as a test for three or four offshore agencies you are considering. Assign the same small milestone project to each team you are considering for the full build, and use this time to find the best team to move forward with for the rest of the project.</p><p>Paying a couple of development teams for one to three weeks of preliminary work will cost a little bit more in the short term, but will save you time, money, and immeasurable headache in the long term.</p><h3><strong>#3 — Establish clear understanding of the product: nothing is intuitive.</strong></h3><p>Once you hire a team, it is important to avoid mid-project iteration and backtracking as much as possible, because this will inevitably lead to <a href="https://www.techopedia.com/definition/24779/scope-creep">scope creep</a>. In order to best manage this, it is very important that you <strong><em>never assume anything about your product is intuitive</em></strong><em>.</em></p><p>When you spend most of your time thinking about an idea, and discussing it with the people around you, it is easy to begin to see certain aspects of what you are building as obvious and naturally apparent. Do not make this mistake. When you outsource development work, you are bringing people on board who are quite likely from a very different place and culture than your own. Their perspective will differ greatly, as will their propensity for seeing your product through the same lens you do.</p><p>Once you’ve selected a team, it can be tempting to have them start hammering away at their keyboards as soon as possible. Do not do this. Instead, begin the project with a comprehensive<a href="http://alistapart.com/article/kick-ass-kickoff-meetings"> kickoff call</a><em>.</em> Use this call as an opportunity to explain the project from top to bottom to the development team. Explain the product idea, and explain the problem it solves. Go through each feature they will be building and explain what it does, how it should function, and why it is a valuable component of your MVP.</p><p>Finally, follow up this call by sending your development team a detailed summary of everything you discussed. This will help you to make sure everybody is on the same page, and establish a paper trail of accountability across teams.</p><h3><strong>#4 — Understand what it means to work with a team in another country: logistics and culture.</strong></h3><p>When outsourcing work, it is likely that the team you end up hiring will be working in a part of the world far from where you are located. This presents a unique set of requirements that can be easy to overlook; sometimes in focusing on getting the most from a technical standpoint out of an offshore team, one can neglect the very real challenges logistics and culture can present.</p><p>People conduct business very differently depending on where they are from. Without an understanding of the <a href="http://www.worldbusinessculture.com/business-with-other-countries.html">business culture in the country you have hired developers</a>, miscommunications can arise that are frustrating and time-consuming. Taking time to learn about the cultural differences between how you conduct business in your own culture and how the team you’ve hired conducts business in theirs is not only efficient, it is also respectful.</p><p>Beyond general cultural practices, there are a number of more specific things to make sure you are familiar with when you begin working with an offshore team. The first has to do with communication practices. Knowing how employees communicate with their boss is very important for managing an offshore team. In certain cultures, it is common practice for employees to answer in the affirmative, even if this is untrue, in order to avoid a perceived “disappointing” of an authority figure. Being actively aware of these varying eccentricities will allow for more effective management throughout a project.</p><p>Additionally, it is important to be aware of holidays that your team will be taking off. When we were working with a team in Chennai, India for the first time, our project suffered from this initially. The office in India would be off of work Thursday and Friday for a holiday, which was perfectly reasonable. However, when that wasn’t something we were planning for, work commencing on Wednesday and not starting back up until the following Monday (two days off and then the weekend) felt like a huge setback to our team and our clients. The biggest lesson here was that a lack of cultural understanding on our part lead to surprise delays, which created unnecessary stress on our team.</p><p>Finally, from a pure logistics standpoint, working with teams in different timezones can be very difficult. To illustrate the logistical difficulties that can arise from working across timezones, we’ve created this tool to help visualize some of the constraints.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*r6lZHDmR24PvLodL." /><figcaption>A visualization of the timezone overlaps between the US (EST and PST) and three common outsourcing regions.</figcaption></figure><p>As you can see, there are often narrow or non-existent windows during a typical 9am-6pm workday during which your two teams can communicate. This generally means that somebody is going to have to get up early or stay late in order to keep communication consistent. Recognizing this at the onset of a project and scheduling meetings outside of the workday to account for this as necessary is key to maintaining the project scope you’ve agreed upon.</p><h3><strong>#5 — Buffer. Buffer. Buffer.</strong></h3><p>Speaking of project scope: no matter how many precautions you take to mitigate confusion and maximize productivity, the truth is that something will always come up and cause delay. When you choose to outsource your development work, you are giving up control, and putting that control in somebody else’s hands. With this comes the reality that when a project sees delays, there is little you can do first hand to right the ship. There are few quicker ways to detract from the confidence of your team, investors, and clients than by missing promised deadlines. In order to be absolutely certain (or as certain as possible) that this does not happen, you as a manager need to buffer your timelines. Here’s how we recommend doing it:</p><p>Using the techniques outlined above, work with your development team to come up with a realistic and achievable timeline for how long your project should take. Take into account all the tangibles — and intangibles — we discussed above, in order to have the most feasible date for project completion. Now, <strong>double that timeline.</strong></p><p>That new doubled number is the number you, your team, and your investors plan around. Missed deadlines cause bottlenecks and waste time and money that can be detrimental to an early stage venture (or the success of any project). It is far better to be pleasantly surprised by a project coming in early and under-budget than frustrated by the stress of a deadline being missed.</p><p>We hope these lessons are as helpful for you as they have been for us. Outsourcing isn’t easy, but when it is managed properly it can be a highly effective and impactful resource. Best of luck!</p><p><a href="http://www.deckspire.com/blog/2016/03/24/outsourcing-development-without-killing-your-startup/"><em>Also posted on our blog, which you can check out here.</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=efc710948a3a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/deckspire-thoughts/outsourcing-development-without-killing-your-startup-efc710948a3a">Outsourcing Development Without Killing Your Startup</a> was originally published in <a href="https://medium.com/deckspire-thoughts">Deckspire Thoughts</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The MBA Guide to Learning How to Code]]></title>
            <link>https://medium.com/deckspire-thoughts/the-mba-guide-to-learning-how-to-code-a441515e592f?source=rss----f1c3650e590c---4</link>
            <guid isPermaLink="false">https://medium.com/p/a441515e592f</guid>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[mba]]></category>
            <dc:creator><![CDATA[Nitish Aitharaju]]></dc:creator>
            <pubDate>Sun, 13 Mar 2016 04:40:41 GMT</pubDate>
            <atom:updated>2016-03-04T17:36:59.173Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Reposted from our company blog. Read it here as well: </em><a href="http://www.deckspire.com/blog/2016/02/29/mba-guide-to-learning-how-to-code/"><em>http://www.deckspire.com/blog/2016/02/29/mba-guide-to-learning-how-to-code/</em></a></p><p>When I first started teaching myself to code, one of the greatest sources of frustration I faced was my inability to find a concrete answer to a seemingly straightforward question: <strong>where do I start?</strong> There were so many programming languages to learn and so much that those languages could be used for, yet I couldn’t for the life of me find any solid advice on where someone with absolutely no programming background should begin.</p><p>The majority of my confusion, as I have since come to understand, stemmed from the fact that I saw “coding” as a thing, a solitary process through which fingers hammered away at keyboards and subsequently computer magic was made. All of the information about “coding” resided in a book, as I understood it, and I desperately wanted to know what was in chapter one.</p><p>The truth is, this is an ineffective way to approach coding. Programming languages are, in fact, much like speaking languages. In this way, we can begin to understand why there is no answer to “How do I learn to code” much like there is no definitive answer if someone were to ask you “how do I learn to speak?” Similarly to spoken language, if someone were to want to learn how to communicate verbally, you would tell them that one language isn’t inherently superior or more fundamental than another. Instead, you would tell them that which language one learns is completely dependent on how they want to use it. It follows, then, that in the same way there is no one correct way to approach verbal communication (because there are many spoken languages that each have their own benefits and drawbacks depending on how they are applied), there is also no one correct way to approach coding.</p><h3>What is it that I want to build?</h3><p>With this realization comes the first thing you have to figure out when teaching yourself to code: <em>What is it that I want to build?</em></p><p>Answering this will help you begin to figure out which language is best for you to start working on. Slant has put together an extremely valuable comparison tool that you can use to understand the pros and cons of each language, which you can find <a href="http://www.slant.co/topics/25/~programming-language-to-learn-first">here</a>.</p><h3>Understand the basic theory</h3><p>The second thing to do is to familiarize yourself as much as possible with the basic theory and lingo that programming languages utilize, in order to give yourself as much contextual information as possible.</p><p>Lifehacker’s Adam Dachis <a href="https://dl.dropboxusercontent.com/u/3448760/Learn%20How%20To%20Code.pdf">put together</a> what I consider to be one of the most helpful, and more importantly well written, introductions to coding that you can find for free online. It provides an explanation of what code does, how it does it, and a lot of the language and theory that you will encounter when you begin learning. Having this background information is a little bit like having taken a language in high school before starting that same course in college. It in no way makes you an expert, but even a rudimentary familiarity with the material will facilitate faster and more effective learning.</p><h3>Take The Plunge</h3><p>Armed with a solid foundation in the basics of computer programming theory and lingo, and a clear idea of what you want to build, it’s time to start learning to code! We’ve found that new coders typically fall into one of three tiered categories:</p><h3>1) A general interest in computers and programming:</h3><p>Interested in learning about how coding works, but not necessarily planning on spending your nights and weekends building programs? Many people want to learn to code in order to better understand a certain component of the job they already have. Maybe you’re the non-technical founder of a startup and want to feel less in the dark when hiring a development team. Maybe you’re a sales rep at a software company and want to better understand how the product you’re selling actually works. If this sounds like you, the best place to start is also the most traditional, a book.</p><p>For somebody looking to gain fundamental understanding of a specific subject, the open-endedness of the internet can be both daunting and somewhat inefficient. Books provide a reliable and affordable way to dive into a very specific topic at your own pace.</p><p>We recommend you begin with <a href="http://www.amazon.com/Code-Language-Computer-Hardware-Software/dp/0735611319/ref=sr_1_3?s=books&amp;ie=UTF8&amp;qid=1456707943&amp;sr=1-3&amp;keywords=coding">Code: The Hidden Language of Computer Hardware and Software</a> by Charles Petzold. Petzold explains, in plain language, the ins and outs of everything that makes your computer tick.</p><p>Another great book for the entrepreneurially minded is <a href="http://www.amazon.com/Hello-Startup-Programmers-Building-Technologies/dp/1491909900/ref=sr_1_3?s=books&amp;ie=UTF8&amp;qid=1456708197&amp;sr=1-3&amp;keywords=coding">Hello, Startup: A Programmer’s Guide to Building Products, Technologies, and Teams</a> by Yevgeniy Brikman. This book gives fascinating insight into some of Silicon Valley’s best technological practices.</p><p><em>Time Commitment: Low</em></p><p><em>Cost: Low</em></p><p><em>Knowledge Developed: Medium</em></p><h3>2) A desire to become both knowledgeable and technically proficient:</h3><p>If your thirst for programming knowledge extends beyond a high-level understanding of how things work, and your goals include being able to become an amateur programmer, the best resources for you are online coding courses. Majority of these are very affordable and are great ways to learn by doing. What they lack in structure, you will make up in learning actual skills that you can use to bring your own ideas to life.</p><p>We recommend these three online resources, because of their fantastic reputation, affordability, and effective curriculum:</p><p><a href="https://teamtreehouse.com/">Treehouse</a></p><ul><li>Treehouse is a hands on learning resource that is intended to provide learning opportunities that range from a complete beginner’s course to a highly advanced tool for seasoned programmers. It is reasonably priced and constantly being improved upon.</li></ul><p><a href="https://www.hackerrank.com/">HackerRank</a></p><ul><li>HackerRank provides a level of gamification that can be very helpful in the beginning stages of a hands on learning process. This is a completely free tool, and is a really good resource for somebody who enjoys teaching themselves things.</li></ul><p><a href="https://www.codecademy.com/">Codecademy</a></p><ul><li>Codecademy is direct competitor of Treehouse, focusing on hands-on learning through detailed repetition. It is free, but the paid version, Codecademy Pro, is where the true value lies. Pro includes video descriptions to go along with every lesson and access to a message board to discuss challenges with other students. The lessons themselves, however, are identical whether you pay or not.</li></ul><p>Each of these resources will allow you to begin learning to actually write code on day one, while affording you the luxury of learning at your own pace and at the times that best fit your schedule.</p><p><em>Time Commitment: Low</em></p><p><em>Cost: Medium</em></p><p><em>Knowledge Developed: Medium — High</em></p><h3>3) An interest in making a career out of programming:</h3><p>If you are interested in making the switch from your current career into a full time programming position, classes are the way to go. While some argue that you can learn any skill on your own, there are few better ways to learn than fully immersing oneself in an environment with like-minded people striving to attain the same skills.</p><p>The quality of coding schools (institutions dedicated to providing full time enrollment in immersive programming courses) varies greatly. To make this easier for you, we’ve gone through the best — and worst — programs in both San Francisco and New York City to find the top program for people residing on each coast.</p><p>San Francisco’s <a href="http://www.hackreactor.com/">Hack Reactor</a> and New York City’s <a href="http://flatironschool.com/">Flatiron School</a> are our recommendations for the best places to start your career as a full time programmer.</p><p><em>Time Commitment: High</em></p><p><em>Cost: High</em></p><p><em>Knowledge Developed: High</em></p><h3>A Final Note</h3><p>Whichever category you fall into, these are all effective first steps in learning to write code. The key is to be realistic about your intent and expectations and then see which learning style is effective, clear, and most importantly fun, for you. Go at your own pace, do not be intimidated, and remember that everyone, from the IT guy at your local high school to the Senior Software Developers at Google, all started exactly where you are now. Good luck, and happy coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a441515e592f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/deckspire-thoughts/the-mba-guide-to-learning-how-to-code-a441515e592f">The MBA Guide to Learning How to Code</a> was originally published in <a href="https://medium.com/deckspire-thoughts">Deckspire Thoughts</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[4 lessons learned deploying Python Django on EC2]]></title>
            <link>https://medium.com/deckspire-thoughts/recently-i-spent-4-solid-days-working-on-deploying-a-python-django-application-on-an-ec2-instance-ea4a00803d55?source=rss----f1c3650e590c---4</link>
            <guid isPermaLink="false">https://medium.com/p/ea4a00803d55</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[django]]></category>
            <dc:creator><![CDATA[Nitish Aitharaju]]></dc:creator>
            <pubDate>Sun, 13 Mar 2016 04:40:20 GMT</pubDate>
            <atom:updated>2016-03-14T18:23:29.911Z</atom:updated>
            <content:encoded><![CDATA[<p>Recently I spent 4 solid days working on deploying a Python Django application on an EC2 instance. The process was way longer than I expected it to be, but this helped me learn a lot about Python Django deployment that I think will be valuable to share.</p><h3>Deployment is important but annoying</h3><p>When you’re busy designing and building a functional web application, it’s easy to forget that you have to deploy it onto a server at some point. Using a local development environment is great. You have a local Sqlite3 or MySQL where the data doesnt matter, you can keep tweaking the models as you see fit, run migrations like a maniac, hardcode arbitrary values in settings.py, but all this changes when you try to get the application ready for deployment.</p><h3>There are two predominant ways to deploy code</h3><p>There are predominantly two popular ways to deploy a web application (note that I am broadly simplifying a very compilcated process):</p><ul><li>Git-based deployment (or broadly, source control management based deployment)</li><li>SSH-based deployment</li></ul><h4>Git-based deployment</h4><p>For Git-based deployment, the development team has a dedicated server that monitors a branch (usually master) for changes and upon a successfully change deploys the code to a staging server. The process is supported by a set of scripts (Bash, Python, Ruby, etc.) to get the app deployed across a set of servers.</p><p>Platform-as-a-Service vendors like Heroku and Openshift allow for a slightly modified version of Git-based deployment where they provide a remote git repo you can push to which then triggers a deployment. The main drawback to this is that the app goes down for a short period of time as the servers checkout the latest codebase and run bootstrap scripts.</p><p>Git-based deployment is great if you have a relatively mature web application with a sizable team of engineers where a select few are given the rights to push to master. In addition, you should have robust test coverage so as to be quite confident that when you push things will work for the most part. In addition, this is a great step toward setting up a continuous integration deployment environment.</p><p>However, git-based deployment is overkill for a web app that is relatively new and only spans a few servers. The iteration cycle to fixing issues is quite high, you have to keep making commits to make small changes which can get annoying.</p><p>There are several interesting tools that solve this problem, the most notable ones in my experience are <a href="https://travis-ci.org/">TravisCI</a> and <a href="https://jenkins-ci.org/">JenkinsCI</a>. You can find a <a href="https://en.wikipedia.org/wiki/Comparison_of_continuous_integration_software">more comprehensive list here</a></p><h4>SSH-based deployment</h4><p>SSH-based deployment is where the source code is packaged into an archive and then copied over to a server using SSH. Then some shell commands are run to launch some bootstrap scripts to update configuration, other setup, and restart the app and web servers if needed. If you have multiple servers this is done for each one.</p><p>Two notable frameworks that come to mind are <a href="http://capistranorb.com/">Capistrano</a> and <a href="http://www.fabfile.org/">Fabric</a>. Capistrano is Ruby based while Fabric is Python based.</p><p>SSH-based deployment is quick and simple. It’s a great way to get started for a web app that has limited testing and is less mature. Since you can SSH into a server, you can easily tweak configuration, install packages, edit code, and mess around with processes quite easily. This allows you to iterate quickly to get up and running and makes debugging deployment a lot easier. However, as you scale you probably don’t want everyone in the team to have SSH access to your servers and want to centralize everything.</p><h3>What I learned after wasting 4 days</h3><p>I spent 4 full days reading dozens of tutorials and how-to guides to get this app up and running. I didn’t care if Gunicorn was faster than uwsgi or if supervisor provided more features than Upstart, I just needed something working and somewhat scalable. In order to deploy my Django application I ultimately used:</p><ul><li>Fabric for deployment</li><li>Ubuntu-based machine (Ubuntu 14.04.4)</li><li>EC2 small instance, the micro instances are generally terribly slow</li><li>nginx for the web server</li><li>uwsgi for the app server (also tried gunicorn)</li><li>MySQL for the database</li><li>init.d and start-stop-deamon to manage services (tried supervisor but it has drawbacks)</li></ul><h3>1. Centralize your server setup scripts using fabric</h3><p>Fabric is a powerful tool, we centralize all our setup scripts into a set of Fabric tasks so that way provisioning a new Ubuntu server is super easy. Our scripts install the appropriate packages, create the necessary folders, and setup the server to be used to deploy.</p><h3>2. Don’t use the default app server</h3><p>A lot of tutorials I found by Google-ing suggested that I simply run the same command as I do during development:</p><pre>python manage.py runserver</pre><p>However, this is not a good idea. The default app server that Django provides is lightweight but is development oriented. In production it’s a good idea to use a WSGI based app server like <a href="https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/uwsgi/">uwsgi</a> or <a href="https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/gunicorn/">gunicorn</a> which are production-ready and battle tested.</p><h3>3. Use a virtualenv for deployment</h3><p>Once our code is packaged and deployed onto the server we install it by runningpython setup.py install onto a virtualenv that we specifically set up for running the application. Then we point our app server (uwsgi) to use that virtualenv to run the application and point it to the wsgi.py file in the latest release. A lot of tutorials were quite unclear about this.</p><h3>4. Supervisor is overkill initially</h3><p><a href="http://supervisord.org/">Supervisor</a> is a great process monitoring system which I thought might be a good idea to use. It has a configuration file you can setup and then use the supervisorctlcommand to monitor and manage the services you want.</p><p>However, supervisor only let you specify one command to run so that it can monitor that. It doesn’t provide a way to specify pre-run and post-run scripts or chain multiple shell commands into one line. This is especially key for MySQL on EC2 since the PID and LOG file are stored on the <em>/var/run</em> directory which is erased upon an EC2 restart. You need to run a shell script to create the appropriate folders and files before MySQL is run.</p><p>For a simple web app it’s perfectly alright to get started using <a href="http://www.tldp.org/HOWTO/HighQuality-Apps-HOWTO/boot.html">init.d</a> and <a href="https://gist.github.com/alobato/1968852">start-stop-daemon</a> to monitor processes. We simply store our init.d scripts for each service in our repo and there are plenty of open source starter scripts available online.</p><p>So there you go, if you’re dealing with problems while deploying a Django app on EC2 hopefully my experience will help you save hours of time and focus on getting your app live as quickly as possible.</p><p><em>Reposted from our company blog, you can also read it here: </em><a href="http://www.deckspire.com/blog/2016/03/12/4-lessons-learned-deploying-python-django-on-ec2/"><em>http://www.deckspire.com/blog/2016/03/12/4-lessons-learned-deploying-python-django-on-ec2/</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ea4a00803d55" width="1" height="1" alt=""><hr><p><a href="https://medium.com/deckspire-thoughts/recently-i-spent-4-solid-days-working-on-deploying-a-python-django-application-on-an-ec2-instance-ea4a00803d55">4 lessons learned deploying Python Django on EC2</a> was originally published in <a href="https://medium.com/deckspire-thoughts">Deckspire Thoughts</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>