Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Log in to your AWS Management Console

Screenshot 2025-08-17 at 10 24 44 pm Screenshot 2025-08-17 at 10 26 35 pm

In this step, create a new directory named MarketPeak_Ecommerce, navigate into it, and initialize it as a Git repository using the commands mkdir MarketPeak_Ecommerce, cd MarketPeak_Ecommerce, and git init

Screenshot 2025-09-12 at 9 07 16 pm

Download the e-commerce website by running the wget command.

Screenshot 2025-09-12 at 9 15 53 pm

after downing wget you need to put in wget https://www.tooplate.com/download/2130_waso_strategy

Screenshot 2025-09-12 at 9 19 05 pm

We need to configure out git

Screenshot 2025-09-12 at 9 22 04 pm

After the configuration, run git add . and then git commit to stage and save your files in the repository.Screenshot 2025-09-12 at 9 24 41 pm

Screenshot 2025-09-12 at 9 24 41 pm

here we need to add the repository "https://github.com/offranking/Market-peck.git"

Screenshot 2025-09-12 at 9 28 26 pm

Clone the repository on Linux ubuntu

git clone "https://github.com/offranking/Market-peck.git"

Screenshot 2025-09-12 at 9 48 19 pm

use your SSH method

Screenshot 2025-09-12 at 10 11 36 pm

after run this cat /home/ubuntu/.ssh/id_rsa.pub to view thw key

Screenshot 2025-09-12 at 10 22 18 pm

on this part we need to update the https

sudo yum update -y sudo yum install httpd -y sudo systemctl start httpd sudo systemctl enable httpd

Screenshot 2025-09-12 at 10 27 26 pm Screenshot 2025-09-12 at 10 28 46 pm

On this part we need to prepare a web dictory

sudo rm -rf /var/www/html/* sudo cp -r ~/MarketPeak_Ecommerce/* /var/www/html/

Screenshot 2025-09-12 at 10 31 09 pm

after that reload httpd to show you the server "sudo systemctl reload httpd"

Screenshot 2025-09-12 at 10 35 36 pm

open your web browner and copy the public address to browse your website

Screenshot 2025-09-12 at 10 37 52 pm

past your ip address on your browser and it will display the website

Screenshot 2025-09-12 at 7 15 59 pm

create a deveploment branch and check in to the branch

git branch development git checkout development

Screenshot 2025-09-12 at 10 53 23 pm

prepare a file call about.html and open the file with vim about.html save the file and add .

Screenshot 2025-09-12 at 11 00 21 pm

you have to run git commit -m

Screenshot 2025-09-12 at 11 04 56 pm

the next thing is to push to the new branch which is devepment

run git push to origin deveploment Screenshot 2025-09-12 at 11 07 38 pm

here is the html code

Screenshot 2025-09-12 at 7 10 09 pm

on this part we need to checkout to main.

git checkout main

Screenshot 2025-09-12 at 11 12 26 pm

git pull origin main

Screenshot 2025-09-12 at 7 17 07 pm

we have to reload the server again by running "sudo systemctl reload"

Screenshot 2025-09-12 at 11 17 07 pm

after you reload and run your public ip on the server

Screenshot 2025-09-12 at 6 37 05 pm

About

Introductions to cloud

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages