On successfully deploying to Netlify
Remember when I said I couldn't deploy my website to Netlify
So, I was awake last night (today's midnight actually), and I'd wanted to download some videos per my YouTube night plans
I figured I'd find some video solutions on how to deploy the site
The solution I found suggested to add - CI= npm run build
I wanted to leave it till morning. But I decided not to procrastinate and do it again
I excitedly booted my laptop. Logged in to my Netlify account. And...
It didn't work, again.
I wanted to sleep.
But browsed around more on the community portal, and stack overflow. They all suggested the CI= npm run build command
I was about to give up and came across an article
Apparently, you can manually deploy your site just by drag-and-drop method with the folder
And you wouldn't believe it, I did that. And deployed 2 websites (the sparkle clone, and the softcom clone)
I checked it out on my screen, they weren't looking too well.
I left it for this morning. Grateful and appreciative that I'd learnt something new with the manual deployment.
So this morning, I did finishing touches to the websites, deleted the previous sites from Netlify and uploaded them
And ladies and gentlemen, I present my sites which I've deployed to Netlify.
This is a huge improvement for me. It proves to me that I have something that's actually live
And I can take my time to learn JavaScript.
The other kind of deployment can come when I start learning Version Control.
For now Chinenye, you are trying
Comments
Post a Comment