A Curious Moon | Week 3 | Makefile & Normalize Data
A Curious Moon | Week 3 | Makefile & Normalize Data
Apologies, it’s been a while
We are sorry, life hit us hard in November. I always forget how quickly holidays are upon us. This year April and Kaleb took a much deserved vacation and so they were out of town for a few weeks and so we opted to wait for them instead of charging on ahead of them. I think it was a wise decision. We don’t want anyone becoming so far behind that they feel they can’t catch up. The idea is to do this together so waiting made the most sense.
A Curious Moon | Week 2 | Master Plan
A Curious Moon | Week 2 | Master Plan
Create Master Plan table
create table master_plan(
the_date date,
title varchar(100),
description text
);We have a table! Just as we were getting exciting we find out that we were supposed to add a primary key and also what if the table already exists? So in order to fix those things our new create table looks like this:
drop table if exists master_plan;
create table master_plan(
id serial primary key,
the_date date,
title varchar(100),
description text
);The serial primary key is some postgres shortcode that will add a column of integer type that can’t be NULL and will auto increment.
A Curious Moon | Week 1 | Getting Setup
A Curious Moon | Week 1 | Getting Setup
After completing our Python course, Complete Python Bootcamp: Go from zero to hero in Python 3 at Udemy, we decided the next thing we would like to learn more about would be databases. At work I’ve been participating in a course in PostgreSQL called A curious Moon and I suggested that to the group. They have agreed and so we have begun.
Setting up; It’s never easy
We actually started a week or maybe 2 ago and ran into more issues that I care to cover trying to get April and Kaleb up and running on their Windows laptops. So many, in fact, that we decided instead that we would install Ubuntu on their laptops and dual-boot so that we could have them inside a Linux environment where I could better help them as issues come up. I, and my brother Austin, are both working on Mac OSX and so this will make a more consistent environment. One that I hope means any issues they come across I will have also and will therefore be able to assist them. (I’m still debating if I should install Ubuntu, I do have it on a VirtualBox VM if I absolutely need it…).