Webpage to WebSite
3 Minutes · Module - 10 Sit or Stand websites
Website hosting for students teaches how to deploy a machine learning webpage using Netlify so anyone can access it online. A Tamil technology lesson.
- Creating an account on Netlify and verifying email
- Renaming the file to index.html and placing it in a folder
- Dragging the folder to Netlify and testing the live web page
What this lesson teaches
Web hosting is the process of uploading a web page to an online platform so that anyone across the internet can access and interact with it. Hosting allows a local machine learning project created on a computer to be converted into a universal website with its own live address.
Why hosting is needed
A web page built on a local computer cannot be opened by friends or users on other devices. Hosting places the project files onto a shared platform, such as Netlify, so that the code runs on the web. Once hosted, the platform creates a public link that enables anyone anywhere to view and run the application.
Setting up an account on Netlify
- Search for Netlify in a browser or follow a direct link to reach the hosting platform.
- Click the sign-up button on the right side of the page and register using an email address.
- Check your inbox for a verification email sent by the platform.
- Click the verify email button to confirm the address and open Netlify.
- Click the skip personalization option to complete the registration and enter the dashboard.
Preparing the files for hosting
Before a project can be uploaded, its files must follow a standard naming convention. The HTML file containing the machine learning code must be renamed and saved as index.html. A dedicated folder, named after the project such as sit and stand, must be created on the computer. Placing the index.html file inside this folder ensures that the hosting platform can find and load the main page correctly.
Uploading and testing the live site
- Open the project folder and the Netlify dashboard side by side on your screen.
- Drag the folder and drop it into the sites section on the Netlify webpage.
- Wait for the files to finish uploading, after which a live website address is generated.
- Open the generated link in a browser, click the start button, and grant permission for camera access.
- Test the machine learning model in front of the camera to confirm it recognizes poses like sitting or standing, then share the finished link.
Part of the course
A.I. with Teachable Machine
More in Module - 10 Sit or Stand websites
- 1Teachable to HTML4 Minutes
- 2Webpage to WebSiteNow playing