In this project, we have deployed a Yoga School Website on Azure Portal using GitHub as our version control system. We have also added a GitHub page to the project. This documentation will guide you through the process of deploying the website on Azure and adding the GitHub page.
This project is deployed on github pages and azure static web app
- Azure Static Web App
- Azure Bot Service
- Language Cognitive Service
- HTML
- CSS
- Bootstrap
- Javascript
The goal of this project is to deploy a Yoga School Website on Azure Portal using GitHub as our version control system. Azure is a cloud computing platform that allows us to host and deploy our website on the internet. GitHub is a web-based platform for version control and collaboration that enables developers to store and manage their code repositories. We will use GitHub to store and manage the code for our website and then deploy it on Azure.
Before starting the deployment process, make sure that you have the following:
- Azure Portal account
- GitHub account
- Visual Studio Code or any other code editor
The deployment process consists of the following steps:
The first step is to create a new repository on GitHub. To do this, follow these steps:
- Log in to your GitHub account.
- Click on the "+" icon in the top right corner of the screen.
- Select "New repository" from the dropdown menu.
- Give your repository a name and select "Public" or "Private" based on your preference.
- Click on the "Create repository" button.
The next step is to clone the repository to your local machine. To do this, follow these steps:
- Open Visual Studio Code.
- Click on the "View" menu and select "Command Palette".
- Type "Git: Clone" in the search bar and press Enter.
- Enter the URL of your GitHub repository and select a folder to clone the repository to.
- Click on the "Clone" button.
The next step is to create the Yoga School Website. To do this, follow these steps:
- Create a new HTML file in your code editor.
- Write the HTML code for your website.
- Save the file with a .html extension in the root folder of your repository.
The next step is to commit and push the code to GitHub. To do this, follow these steps:
- Open Visual Studio Code.
- Click on the "Source Control" icon in the left sidebar.
- Click on the "+" icon to stage your changes.
- Enter a commit message and click on the checkmark to commit your changes.
- Click on the "..." icon and select "Push" to push your changes to GitHub.
The final step is to deploy the website on Azure. To do this, follow these steps:
- Log in to your Azure Portal account.
- Click on the "+ Create a resource" button.
- Search for "Web App" and select it from the list.
- Give your Web App a name and select a subscription, resource group, and runtime stack.
- Click on the "Review + create" button and then click on the "Create" button.
- Once the Web App is created, click on the "Deployment Center" tab.
- Select "GitHub" as the source and connect to your GitHub repository.
- Select the branch you want to deploy and click on the "Continue" button.
- Configure the deployment options and click on the "Finish" button.
- Wait for deployment and then go to resource and copy link of deployment
- Run the link in browser.