2023-11-18

Goal

To design the Taskmaster App and learn how to interact with the webpage (i.e structure the actual app).

Pomodoro

None today, just being a straight up baller I guess.

Notes

I made a lot of progress today. I was able to successfully create, access, and render the core components of the Taskmaster App. Then I pushed it to production. I learned that when I add a Django App app in django by running the

python manage.py startapp your_app_name

command I also need to make its migrations to set up its tables / databases

python manage.py makemigrations

and then actually migrate the database to update it with the necessary changes

python manage.py migrate.

This process also needs to happen when it comes to deploying it to Heroku, otherwise you'll get a 500 Response Error. To migrate / update the database after pushing to heroku, the following lines can be ran

heroku git:remote -a dimmin git remote -v heroku run python manage.py migrate -a dimmin

Now I need to find a way to alter the state of a model using my buttons and then track that change in some kind of historical table. Interestingly, my Static Files don't seem to be rendering (or at least updating?) in my local development. This means that when

Results

Next Time

  • Figure out how to clear the server cache so I can update Javascript and CSS on my webpage.

Previous Note 2023-11-17 Next Note 2023-11-19