Cloudflare Pages Tutorial - Deploy Your Static Site in ~90 Seconds
Want to know how to deploy your site in ~90 seconds? Well, Cloudflare just released a new product called Cloudflare pages where you can easily host your static site. In just a minute or two, you can connect Cloudflare to your Github repository, specify a build command, and have your fully deployed.
Give Cloudflare Page a Try! - bit.ly/cloudflarepages
KZread For Developers eBook - youtubefordevelopers.com/
_____________________________________________
Newsletter 🗞
Interested in exclusive content and discounts? 🤯 Sign up for the newsletter!
www.jamesqquick.com
_____________________________________________
Connect with me 😀
Live streams on Twitch - / jamesqquick
Follow me on Twitter - / jamesqquick
Join the 💬 Discord Server 💬 - / discord
_____________________________________________
COURSES 💻
Learn how to build Fullstack apps with React and Serverless Functions - www.jamesqquick.com/courses/r...
Learn everything you need to know about Visual Studio Code - www.udemy.com/learn-visual-st...
Build a Quiz App - www.udemy.com/build-a-quiz-ap...
Пікірлер: 56
Cool. I'll give it a run and see how it is. Been wanting to look at this but work's been so busy until lately so I can put time to this now. Thank you for showing this.
@JamesQQuick
3 жыл бұрын
Definitely worth taking a look. Thanks for watching :)
This looks cool. Will give it a try for sure
@JamesQQuick
3 жыл бұрын
Hope you enjoy it!
How was the page formatted and loaded? Did you have that already in GitHub? Are there templates one can use? To quickly whip up pages and deploy with some minor editing?
Cloudflare doesnt work well with next/image gives build errors. What should I do?
Hello James, I have a generic question. I have made a website which has a news section which needs to be updated weekly by a client. Would I create a backend with an Admin Login that leads to an Admin page which allows them to create 'news cards' that update the on the news section of the web page. Or I have to somehow attach my website to a CMS or re-create my website through a CMS , I'm really not sure what is generally done in this case? Thank you.
@zadekeys2194
Жыл бұрын
Atleast with Wordpress you can make posts via email, API, XML etc. Might be a solution ?
Awesome!
Ive got something weird going on.. Ive connected github to cloudflare before.. in the same account, but now ive created a new repo, when i go to create a new project, the new repo is not displayed and if I then click to connect on github in the link they give you to click if the repo is not shown, when I land in github, it takes me to a 404 page? any ideas anyone?
I like it. Can we deploy sveltekit with serverless functions with pages too?
@JamesQQuick
2 жыл бұрын
I'm not 100% sure on that unfortunately
Thank U
i was getting errors but I gave it multiple tries and it eventually worked👍
@Lightologyy
Жыл бұрын
how
@nathaneckel7105
7 ай бұрын
Same thing. After another minute it rendered properly.
you have no ideo how thank ful i am love you bro
@JamesQQuick
2 жыл бұрын
So glad to hear it :)
What if I want to do plain Html, JS, css static websites?
Will Nextjs ISR work with cloudflare pages
Noice Gonna try our Cloudfare ☁️☁️☁️
@JamesQQuick
3 жыл бұрын
Yaaaaa!!!
I can't deploy my project... it says "Unable to authenticate, your authentication token seems to be invalid." why?
Do you have a full guide how to deploy a django project to cloudfare, with database and storages for media files included?(preferably using version control to deploy such as github like in this video) I have a running website on digitalocean, but I prefer company that are loyal to freedom of speech.
@brockcaldwell33
Жыл бұрын
I'm not 100% positive, but I believe CloudFlare pages only hosts frontend code (e.g.: CSS, HTML, JavaScript). Django being a Python framework wouldn't be possible to host here.
how to deploy Ghost themes to cloudflare ? can you make a tutorial ?
always build error it cant deploy too many images website
cdn and cache by default?
Hi, would this work if the repo is private? It's because my website is for a business and I don't want the source code to be leaked. Thanks. (I mean as long as no one finds my profile it's good?)
@Mostafaabobakr7
2 жыл бұрын
Yes
Nice
I don't get it. Isn't this a free way to host a static website (with all extra Cloudflare benefits like CDN, DDOS protection, etc.)? The free plan even offers 500 Builds (deployments?) per month. For example, a freelancer could theoretically host unlimited sites in his account and work on projects at the same time. Am I missing a point or is this free hosting???
@JamesQQuick
2 жыл бұрын
I mean yeah… what are you confused about exactly?
@theacid1
2 жыл бұрын
@@JamesQQuick I normally thought that hosting costs at least 4$ or more a month. (At least that's the prices I'm used to) Additionally, I was wondering that the free plan could actually be used for a business use case. I can imagine that other providers would charge hundreds of dollars to host multiple static websites.
@JamesQQuick
2 жыл бұрын
@@theacid1 Depends on what kind of hosting you're looking for. There are lots of good FREE options for hosting static websites including Cloudflare. If you're paying to host a static site, you should definitely check out Cloudflare.
First too! Yay
@JamesQQuick
3 жыл бұрын
Yay! :)
@29namankumar29
3 жыл бұрын
@@JamesQQuick Haha😃
Can this beat Netlify?
@JamesQQuick
3 жыл бұрын
I don’t formal stats but it was fast lol
@MaxProgramming
3 жыл бұрын
@@JamesQQuick Oh okay. The best part is the subdomain
@santra528
3 жыл бұрын
I think in terms of speed yes it can probably beat Netlify. I love Netlify so much some people say only downside of Netlify is speed
Can blog be considered static?
@donmiko345
Жыл бұрын
If you don't need user comments on your posts, then yes.
@yomajo
Жыл бұрын
@@donmiko345 Thanks you. Im python dev (+ some flask web dev experience) without js frameworks experience. Have wordpress blog, which I plan on converting to static site at some point. Any recommended stack? Would like to have local CMS, not to write posts in vscode markdown, which could be creativity limiting environment.
It looks like the deployed website loads faster than Netlify and AWS Amplify.
@JamesQQuick
3 жыл бұрын
It was pretty fast not gonna lie lol I didn’t do any formal bench marks tho
@IkraamDev
3 жыл бұрын
@@JamesQQuick I just went to youtube-for-developers.pages.dev and it loads faster than my Netlify website.
It is much cheaper than Vercel!
2nd
I gave a thumbs up solely because your repo has a master branch, not a snowflake main branch .