<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Flask on Nyghtowl</title>
    <link>https://nyghtowl.com/tags/flask/</link>
    <description>Recent content in Flask on Nyghtowl</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <copyright>&lt;a href=&#34;https://creativecommons.org/licenses/by-nc-sa/4.0/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;CC BY-NC-SA 4.0&lt;/a&gt;</copyright>
    <lastBuildDate>Sun, 15 Sep 2013 01:24:02 +0000</lastBuildDate>
    <atom:link href="https://nyghtowl.com/tags/flask/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How Flask, Heroku &amp; Alembic Play Together</title>
      <link>https://nyghtowl.com/posts/2013/09/how-flask-heroku-alembic-play-together/</link>
      <pubDate>Sun, 15 Sep 2013 01:24:02 +0000</pubDate>
      <guid>https://nyghtowl.com/posts/2013/09/how-flask-heroku-alembic-play-together/</guid>
      <description>&lt;p&gt;I just spent a couple days getting up to speed on database migrations in general, how to make it work with Flask and Postgres and how to make them work on Heroku. There is some information out there but it took a little time hunting down what I needed; thus, I’ve summarized some of the main steps to help get others up and running with Flask, Heroku and Alembic.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Why migrate?&lt;/strong&gt; Best practice is to avoid recreating your database(s). Usually you just want to make changes to the existing database(s) and track those changes. If at any time you need to go back to a previous version, the migration docs will help you easily revert to an old version / schema and then upgrade back to the most recent depending on your needs.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Deployment is not the Devil (Flask &amp; Heroku Tips)</title>
      <link>https://nyghtowl.com/posts/2013/09/deployment-is-not-the-devil/</link>
      <pubDate>Sun, 01 Sep 2013 23:20:49 +0000</pubDate>
      <guid>https://nyghtowl.com/posts/2013/09/deployment-is-not-the-devil/</guid>
      <description>&lt;p&gt;On a previous post I claimed deployment is the devil because after several successful (not always easy) deployments, pushing up my Sun Finder app proved elusive. I seriously wanted to scratch my eyes out at times with all the errors and issues. Still it was a good learning experience (one that I fought against but a good one all the same), and I did finally deploy as of last week! Check it out at &lt;a href=&#34;http://sunfinder.io&#34; title=&#34;Sun Finder&#34;&gt;sunfinder.io&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Flask Mega Tutorial, Sun Finder and SheCodes</title>
      <link>https://nyghtowl.com/posts/2013/08/flask-mega-tutorial-sun-finder-and-shecodes/</link>
      <pubDate>Sat, 10 Aug 2013 16:28:13 +0000</pubDate>
      <guid>https://nyghtowl.com/posts/2013/08/flask-mega-tutorial-sun-finder-and-shecodes/</guid>
      <description>&lt;p&gt;It has been a busy several weeks and I’ve written just as lengthy of a blog post as last time from all of it. After deploying my Rails app, I switched gears to refocus on Sun Finder (through an indirect route). I signed up to present the app at SheCodes Conference on August 9th (yesterday) and I wanted to spiff it up a bit.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Flask Mega Tutorial (detour)&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Before going back to Sun Finder, I spent a week finally going through the &lt;a href=&#34;http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world&#34; title=&#34;Flask Mega Tutorial&#34;&gt;Flask Mega Tutorial&lt;/a&gt; which I had wanted to do since March. I highly recommend it because it goes from setting up a virtual environment through full stack development to a variety of deployment options. Going through that after the Rails tutorial was valuable because it solidified common concepts around web application structure (e.g. configuration, app instance setup, db setup and integration, where to delineate between view and controller). And of course it was helpful to contrast the differences to better understand how much Rails does for you behind the scenes.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Sun Finder – Where is it now?</title>
      <link>https://nyghtowl.com/posts/2013/06/sun-finder-where-is-it-now/</link>
      <pubDate>Sun, 09 Jun 2013 08:52:20 +0000</pubDate>
      <guid>https://nyghtowl.com/posts/2013/06/sun-finder-where-is-it-now/</guid>
      <description>&lt;p&gt;For those following along, I have made very little progress on my Sun Finder application since Career Day about a month ago. Since hindsight is 20/20, I probably could have seen this coming, but I was living in a blissful imaginary world that said: “There will be all this time after I graduate to do all these things”. The reality is that all that time was about to be commandeered by interviews, practice &amp;amp; studying for interview and a bunch of life stuff that you can never plan for.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
