How to put your website online in under 10 minutes?
As a beginner in web development, you may always think about how to actually put a website you made, on the internet. In this blog, you are going to learn how you can do it in less than 10 minutes with simple steps using Github pages.
End Result
This is what we are going to make by the end of the blog. See the URL, it's on the internet 👀.
(This is a simple calculator web app that contains HTML, CSS, and js files)
Prerequisites
- A website having HTML, CSS, and Javascript files. (because Github pages support only static websites)
- Github account.
- Basic knowledge about git.
Let's get started
Step-1:
Create a repository on GitHub and add all your HTML, CSS, js files.
Note: Make sure you make the repository public.
Step-2:
Open the repository and click on Settings.
Step-3:
Scroll down and click on Pages from the left panel.
Step-4:
Now you have to enable GitHub pages for the repository. To do so, click on None and select the main branch of your repository. In my case, it is master.
Step-5:
After selecting the branch, the save button will be enabled, so click on Save to confirm.
Step-6:
Now, you can see an indication saying - Your site is ready to be published at
Step-7:
Wait for a few minutes and refresh the page. That indication will be changed to - Your site is published at
Click on the link and that's it your site is ready and you can share the URL with anyone and show off your project.
Refer to this blog to deploy your react app with GitHub pages:
Also read:
Hope this helps you!
LEAVE A COMMENT OR START A DISCUSSION
MORE ARTICLES
8 min read
How Feature Flags Can Help You Ship Faster and Smarter?
Are you tired of long development cycles and hesitant to push new features to production? Feature flags may be the solution you're looking for. In this blog post, we'll explore how feature flags can streamline your development process, reduce the risk of errors, and give you more control over the features you release to your users. From testing new features to rolling out changes to a select group of users, feature flags can help you do it all. Keep reading to learn how you can start using feature flags in your development workflow today.
14 min read
Dockerizing Your MERN Stack App: A Step-by-Step Guide
Are you tired of spending hours messing with crontabs and installing packages in an attempt to run your app locally? Are you sick of always missing a dependency that doesn't allow you to run the app and therefore you have to debug it for hours trying to find what's wrong? Then you've come to the right place. In this article, you will learn how to make use of Docker to develop and ship your software faster and easier.