I'm trying to think how I would explain this process to a newer professional: "So what was the problem?" "OK so I named a new type of content for the site with numbers." "OK." "And that worked with Jekyll." "OK." "So I deployed." "OK." "And everything broke because Nginx." "Wat"
-
-
এই থ্রেডটি দেখান
-
"Yeah that sometimes happens." "So what did you do?" "Oh I changed the template for my configuration file to add a regular expression specifying try_files for a particular subdirectory and then rebooted the server. You know, as one does." "And that worked?" "Not the first time."
এই থ্রেডটি দেখান -
"What happened the first time?" "Well the files that were 404ing started 200ing but the files which were 200ing started 500ing." "That means?" "That's bad." "OK." "So I tried another thing and it fixed that but it broke the HTTP version of my site because of a tooling issue."
এই থ্রেডটি দেখান -
"The HTTP version?" "Yes; the insecure one." "You have an insecure one." "Yes good you're paying attention." "Why do you have an insecure one?" "To point people to the secure one." "Can you not have that?" "Well theoretically if you set the right headers but SEO concerns mean..."
এই থ্রেডটি দেখান
কথা-বার্তা শেষ
নতুন কথা-বার্তা -
-
-
Why does your blog need toolchains?
-
Just use a static site generator, they said. It will be easy, they said. ;)
-
When setting up Webpack, Docker, React and a deployment pipeline just to publish a 3 page website…pic.twitter.com/RSsUpsNgUu
-
npm install --global gatsby-cli gatsby new gatsby-site cd gatsby-site gatsby build gatsby serve ...and you're sorted!
-
This reply reminds me of this comment, heh: https://news.ycombinator.com/item?id=17500922 …
কথা-বার্তা শেষ
নতুন কথা-বার্তা -
-
-
They... don't, usually. I've seen a lot of people drown. The very first thing I teach people trying to get into programming / web development / etc. nowadays is "start with nothing, ignore all of the tools until you understand why and where you need them".
-
Same thing I tell people with OS , probably the same start everyone needs for any of the tech industry. Fortunately, there's no "Kali Linux" equivalent for web dev..... .....hopefully?
-
Something something Meteor.
কথা-বার্তা শেষ
নতুন কথা-বার্তা -
-
-
Pro tip:
@github pages make this so easy. Literally git push your Jekyll site and go. -
Unless you want a www prefix for your website and also https.
-
টুইটটি অনুপলব্ধ
-
Your SSL cert works with www but gives an SSL error without www. That's the problem I'm talking about. You can have either but not both.
-
টুইটটি অনুপলব্ধ
-
It's because the cert is only for the domain you specify in the GitHub pages setting. This all demonstrates the original point: freaking toolchains. Using a different toolchain just means you hit different bugs.
কথা-বার্তা শেষ
নতুন কথা-বার্তা -
-
-
Yeah that's the worst stuff to debug... but it makes my day to read that you had a Warcraft 2 website in middle school! I had a Warcraft 3 website in high school -- great times eh
pic.twitter.com/Ti1iaBDL9i
-
We had TRS-80 and Apple II when I was in high school.
কথা-বার্তা শেষ
নতুন কথা-বার্তা -
লোড হতে বেশ কিছুক্ষণ সময় নিচ্ছে।
টুইটার তার ক্ষমতার বাইরে চলে গেছে বা কোনো সাময়িক সমস্যার সম্মুখীন হয়েছে আবার চেষ্টা করুন বা আরও তথ্যের জন্য টুইটারের স্থিতি দেখুন।