Below you will find pages that utilize the taxonomy term “Python”
Posts
Message Queue MUD Dockerization Update
I made progress on that MUD I’ve been working on.
Try it out (yea, naming things is hard):
git clone -b v0.1.0_share https://gitlab.com/modle13/queue-mud.git cd queue-mud docker-compose up Over the weekend, I got it working nearly back to the state it was before dockerizing. There’s a bit less logic (the creatures decision point just returns a string), and the Angular frontend is still disabled. I had had a publisher and consumer working back in early January, but now it has the whole chain: command > validate > attack if command is attack and there’s a target > response queue.
Posts
Choose Your Own Adventure
Re: Black Mirror Bandersnatch: If this is a test, I’m pretty sure I failed. Watched 12/30/18. I settled in for a 50ish minute chill out. (I don’t do much passive TV watching. Always building something or reading something or feeling like I should be. But I was tired. I expected to watch and go to bed.) Turns out this is an interactive episode, which is incredibly engaging. I tried as many of the forks as I could, and took almost 2 hours.
Posts
Hosting Your Django App on Heroku
Heroku is a fantastic service that lets you get your app on the web quickly, for free (with the base model).
If you followed my previous post Django, A Framework for Python Web Apps, then you already have most of the tools you need to publish your work on the web for demoing and testing purposes. The final step is hosting your project on Heroku.
Publishing an update to Heroku is as easy as a git remote push (in fact, that’s all there is to it!
Posts
More Nuts and Bolts of a Django App
In Django Hello World! we verified the Python installation, got Django installed, and output ‘Hello World!’ from the Python shell.
Next up: running a Django web page on a local server!
Primary Django Web Page Components urls.py views.py models.py template.html settings.py URLs and Views At a minimum, we need to configure these two elements. The urls.py file contains the information Django needs to determine which view to process, while the views.
Posts
Django, A Framework for Python Web Apps
This tutorial is intended as a quick setup guide, designed to get you started as quickly as possible. I’ve found the best way to learn is to jump in and get your hands dirty. Then when you read the documentation, there’s context behind it, and it sticks a little better. While I’ll include basic explanations in this post, you should definitely read through the Django tutorials if you’re interested in learning more about the individual commands and design elements.