Finishing the Setup
Last time I sat down to work on the website I broke more than I fixed or added. Today was the day that I cleaned everything up and finally finished the website setup!
What was broken?
When I left off, I had the general layout of the website was finished and in a place that I was happy with. I pushed the website to the repository, opened a PR to merge it into the main branch so it gets deployed via a github workflow to my web server (Find out more on the Making of Marcelmarzec.com). The PR showed 100+ conflicts with main and instead of using the command line, i manually when through every conflict and selected the development branch version… Looking back now I could have used the command line to complete the merge much quicker and prevent mistakes from happening. Due to me merging the project incorrectly, the files mixed together and the project was broken and would not compile.
I tried to solve the merge issues manually but eventually I decided to rebuild quartz locally and then re-add the content and config files manually. This worked exactly as planned! I built and uploaded it to the website and did it work? Sort of…
The index page was working without the image loading and when i tried to navigate to a page I constantly received 404 error messages meaning that they could not be found.
How I solved theses issues
I believe the main reason behind the 404 error messages was the .htaccess file that I uploaded to the website as htaccess without the dot in front and because quartz generates pages and links without the .html at the end, the web server wasn’t able to recognis what quartz was trying to open. A nice and simple fix!
Other changes
After sorting out these issues, its been relativly smooth for me apart from me creating more work for myself as I’m still getting used to GIT and Github. Trying to document everything has been a challenge but I’m starting to enjoy it and it will only become easier from here.
Other changes to the website include adding the favicon, og-images, adding a captcha for contact form, google analytics and changing the github workflow to build and compile quartz automatically before uploading it to the web server.
There are some articles in my personal projects index that I will be refining and making public soon!
Thanks for reading!
Have a question, enquiry or proposition?
Feel free to contact me