Skip to content

Blog

Working on Arch January 6, 2022

January 6, 2022 - Jekyll on Arch

Installed Jekyll on Arch and got it working. Some updates needed to my instructions that I have stored in Dokuwiki, so I updated those. Good for me.

Installed mate-polkit and autotiling and copied the respective lines from the Arch i3 config file that came from the cyberpower pc.

Worked on the openbox install on Arch on the Beelink and think it's pretty good so I have the choice of doing either i3 or openbox. Now to make sure the rsync dotfiles script works.

Web Development Journal January 4, 2022

January 4, 2022 - Web Development

I want to put a picture on a page of a web site and I have no idea how to do it easily. I either have to get back to CSS or Bootstrap. My first inclination is Bootstrap. And I suppose there are other front end frameworks that would also work. Maybe I'll investigate.

They're not quite up to date, but I could use John Elder's HTML, Bootstrap, and Javascript courses to do this. OK never mind, I started the Incredible HTML/CSS course on Udemy over again. Part of it is just so I can actually finish a course, but another part is to learn enough HTML and CSS to make sense of either Django or Flask. I might throw in some Bootstrap too, but so far this is where my head is.

Journal January 3, 2022

January 3, 2022 - Grav, Wordpress

So I felt like I didn't like Grav because a normal user couldn't edit posts - but I'm not nuts about Wordpress either, so I'm going to take a shot at Grav for a few days and see what I think.

Couldn't even get Grav to add a post. No idea why. Gave up. Back to Jekyll for blogging. Aargh!!!

I've said this before but I think I just need to pick something and power through it.

Thinking about Log4J

So I'm thinking that the 2 forward facing internet sites should probably be just things like Jekyll and MkDocs where I've got the original stored on Nextcloud or Syncthing so that if I get hacked I can just nuke and pave the site. That means that tools like Django, Flask, Tiddlywiki, and Dokuwiki are better left on my Raspberry Pi's that I'm using as home servers.

I played around a bunch trying to work out a blog on MkDocs and really didn't like anything I saw. I think I need to get back to work on the Jekyll site - just have posts there and for documentation get a really nice MkDocs site going.

Still Confused

I did get Django to work remotely on the pi4 in the basement. So yay for that.

I'm still struggling with where to focus my time - Python via Flask and Django, or web development with HTML/CSS and Javascript.

Codemy Django

I'm going to try to restart the Codemy.com Django classes. I think I know how to create it on a server (probably the pi that houses the Tiddlywiki stuff). Couple of things I want to do first:

  • Backup Tiddlywiki's
  • Figure out how to remote into a server with VSCode
  • Work on the first really simple Codemy.com Django course.

Learning Plans Update

Several thoughts while I couldn't sleep last night.

  • I could run Django projects on my servers here at home using the development server pretty easily.
  • I'm not sure whatever I developed in Django would be any better or as good as what I can accomplish with Jekyll, Dokuwiki, Tiddlywiki, MkDocs etc.
  • I do think I could get back to things like the Freecell solver and have some fun with desktop development.

Learning Plans

So I'm suddenly pretty happy with Jekyll and what I've got set up in this real thing directory. So I'm going to work on both the Udemy Django course and I think Net Ninja's stuff. But I've got both the Academind and the Colt Steele web courses on Udemy also.

I want to set up my categories page so that it's got all the preset categories pages that I might need.

I looked at and tried to follow a video about running Django on a Ubuntu server and I'm a little disappointed in that. So I think it's Academind 100 Days Web Developement course for me right now.

Simplest Web Developer Path

OK, here's his list. His favorite course is Colt Steele Web Developement.

  • HTML
  • CSS
  • Javascript
  • Either React or Vue (Front End Framework)
  • Node JS
  • Express (Node JS Framework)
  • Database like MongoDB
  • MERN Stack - Mongo, Express, React, NodeJS

At the end you should be able to build a CRUD application. Create, Read, Update, and Delete. Proves knowledge of how to put these things together.

Extras: TypeScript, GraphQL

Rsync and Jekyll

I have a working shell script to upload this jekyll site to 192.168.86.20. Here's the code

    #!/bin/bash
    cd /home/terry/Sync/real_thing
    bundle exec jekyll build --baseurl ""
    rsync -vrzc --chown=www-data:www-data /home/terry/Nextcloud/real_thing/_site/* terry@192.168.86.20:/home/terry/webroot