What happened?
So I implemented a "what you see is what you get" (WYSIWYG) editor in my site and I was unprepared for the headache it was going to give me. A few things happened that I wasn't prepared for and it caused some late nights. First, I shared too much CSS, and when I wanted to change something for my blog posts, it changed my update posts. I thought it would be best to share as much CSS as possible, that wasn't the case here. Since my WYSIWYG editor creates html tags, it was difficult to have it implemented into how I had everything set up.
Second, a list comprehension broke my blog display. I have zero clue why it breaks it, but at least I understand that it does break it. I am not going to worry about it at the moment. It is a bug I am leaving and marking as "in progress".
Is this still being tested?
I'm still testing things out, and this is a post to see if some of my changes are being implemented correctly. Styling is ok, obvisiously I want it to be better, but that's a long road I am not read for. I've learned some valuable lessons this week.
- CSS can be a nightmare.
- Planning is essential
- Even though things can break, don't be afraid
- Do at least one update a day.
I broke the website a few times, but I'm not sorry about it. I have also learned a few things about docker, especially using pip freeze. Don't delete dependencies out of you requirements.txt file! I didn't know gunicorn was required for waitress, so docker broke a lot. Finally figured that out, and no problems with docker now!
What's next?
I still have more ideas for the site, and even more ideas of how to maintain my containers. I need to setup a test database and test site for changes I want to make. By putting my testing inside a container, it is similar to how I would run my live site.
I knew this would be a challenge and of course I feel like I am not smart enough to maintain this, but it's fun to do! I am enjoying the challenge!
I'm going to try and maintain a regular update schedule, maybe once a week more or less. Blog posts require more thought, but I'm hoping to post something at least weekly in a longer format.
Expect this blog to be about anything and everything. I work on Fleetfeet, so I would like to do some posts about running and shoe / insole technology. I also want to make some tutorials about the different things I am learning in terms of programming and IT. Stay tuned for more!