<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Preps on CS 347</title>
    <link>/prep/</link>
    <description>Recent content in Preps on CS 347</description>
    <generator>Hugo</generator>
    <language>en</language>
    <atom:link href="/prep/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Prep 02: Django Models and admin from MDN Tutorial Parts 3-4</title>
      <link>/prep/02/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/prep/02/</guid>
      <description>&lt;p&gt;Continuing to work in the repo you created for Prep 01.&lt;/p&gt;&#xA;&lt;h2 id=&#34;part-3&#34;&gt;Part 3&lt;/h2&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Do Part &lt;a href=&#34;https://cs-347-f26.github.io/mdn-content/en-us/docs/learn_web_development/extensions/server-side/django/models/&#34;&gt;3 (Models)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Question: what is a migration? did we need any yet? what alternative could there have been? how do they work?! e.g.&#xA;&lt;ol&gt;&#xA;&lt;li&gt;how does django know what to put in a migration?&lt;/li&gt;&#xA;&lt;li&gt;how does django know which migrations have been applied?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Read &lt;a href=&#34;https://shinesolutions.com/2018/01/08/falsehoods-programmers-believe-about-names-with-examples/&#34;&gt;&amp;ldquo;Falsehoods Programmers Believe About Names – With Examples&amp;rdquo;&lt;/a&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Based on the points in the article, what (if any) changes might you propose to the models in this Prep?&lt;/li&gt;&#xA;&lt;li&gt;Have you ever been unsure how to enter information about yourself into a computer system?&#xA;&lt;ol&gt;&#xA;&lt;li&gt;What information were you trying to enter?&lt;/li&gt;&#xA;&lt;li&gt;Do you recall what system?&lt;/li&gt;&#xA;&lt;li&gt;What was the cause of your uncertainty?&lt;/li&gt;&#xA;&lt;li&gt;(reflect on this personally, and if you have reflections that you wish to share that don&amp;rsquo;t doxx you, feel free to bring them to in-class discussion)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Consider installing some database tools:&#xA;&lt;ol&gt;&#xA;&lt;li&gt;GOAT: &lt;a href=&#34;https://dbeaver.io/download/&#34;&gt;DBeaver Community&lt;/a&gt; (supports pretty much every kind of db ever)&lt;/li&gt;&#xA;&lt;li&gt;db-specific:&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://sqlitebrowser.org/&#34;&gt;DB Browser for SQLite&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.pgadmin.org/&#34;&gt;PGAdmin for PostgresQL (we don&amp;rsquo;t need the PostgresQL stuff yet)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h2 id=&#34;best-practices-env-files-for-repeatability-secrets-and-great-good&#34;&gt;Best Practices: env files (for repeatability, secrets, and great good)&lt;/h2&gt;&#xA;&lt;p&gt;env files help track configuration information. Often these values may differ on different machines of your own or at least between you and a team member, and likely also between your machine for (local) development and your server(s) in the cloud that hosts your app.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Prep 03: Django Admin Site and Home Page from MDN Tutorial Part 5</title>
      <link>/prep/03/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/prep/03/</guid>
      <description>&lt;ol&gt;&#xA;&lt;li&gt;Continuing to work in the repo you created for Prep 01, and extended in Prep 02, complete MDN Django Tutorial Part 5.&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Note:&lt;/strong&gt; &lt;a href=&#34;https://cs-347-f26.github.io/mdn-content/en-us/docs/learn_web_development/extensions/server-side/django/home_page/#what_does_it_look_like&#34;&gt;Near the end of Part 5&lt;/a&gt;, the tutorial fails to mention that if you have had your development server (the one you get with the &lt;code&gt;runserver&lt;/code&gt; command) running the whole time you were working on this Part, you&amp;rsquo;ll have to kill it and start it again before you can expect django to find your new template.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Push your updated code back to the github repo&lt;/li&gt;&#xA;&lt;li&gt;submit the most recent commit URL to the gradescope assignment.&lt;/li&gt;&#xA;&lt;/ol&gt;</description>
    </item>
  </channel>
</rss>
