Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

flask
python
communitycreator

How to make your site live on GitHub pages

priyanka

In this shot, we will be publishing our website that we have made using Flask. Developers often come across a problem with web hosting, but do you know that GitHub pages can help us in publishing our static site over the Internet, free of cost!

Let’s do it step by step:

  • Step 1: Create a new repository.

  • Step 2: Make your website and upload the necessary files.

  • Step 3: Go to the settings option.

  • Step 4: Now scroll down and select the master branch option.

  • Step 5: As soon as you select it, your site will be published and a link will appear as shown below.

If you make changes in your files they will automatically get updated on your site. You can always go to the environment option and view the deployment of your site.

Make sure that all the files you are creating or uploading are in the correct location, otherwise,​ you might face a 404 error.

RELATED TAGS

flask
python
communitycreator
RELATED COURSES

View all Courses

Keep Exploring