Skip to content

Latest commit

 

History

History
101 lines (67 loc) · 2.65 KB

README.md

File metadata and controls

101 lines (67 loc) · 2.65 KB

🚀 𝗕𝘂𝗶𝗹𝗱𝗶𝗻𝗴 & 𝗗𝗲𝗽𝗹𝗼𝘆𝗶𝗻𝗴 𝗮 𝗡𝗲𝘁𝗳𝗹𝗶𝘅-𝗖𝗹𝗼𝗻𝗲 𝗔𝗽𝗽! 🚀

DevOps-Project-8

image

Project Blog link :-

https://medium.com/@rutikdevops/-d0f7c4f05b1b

Project Overview :-

  • In this Project, I walk you through a clone app that replicates the iconic Netflix user interface, complete with smooth transitions and a database integration for storing user information.

Project Steps :-

  • Create 1 ec2 instance : Netflix : Ubuntu, t2-medium
image

- Goto Security-> security group-> Edit inbound rules-> Add rule-> choose All Traffic

image

1. Install and Configure the Docker :-

ubuntu
sudo su
apt update -y
apt install docker.io -y

2. Clone the Github code :-

git clone https://github.com/rutikdevops/DevOps-Project-8.git
cd DevOps-Project-8

3. Install Required Packages

Install the necessary packages and dependencies for the application using the following command:

sudo apt install -y curl dirmngr apt-transport-https lsb-release ca-certificates

4. Install Node.js

Install Node.js, a JavaScript runtime, with the following commands:

curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt install -y nodejs

4. Install Project Dependencies

Navigate to the project directory and install the project-specific dependencies:

npm install

5. Start the Application: Works

To start the Netflix clone application, use the following command:

npm start &

6. Optional & May Not Work: Serve the Built Application

If you want to serve the built version of the application, you can use the serve package. First, install it globally:

npm install -g serve

Then, serve the built application on port 3000:

serve -s build -l 3000

Now you should be able to access the Netflix clone application by opening your web browser and navigating to http://localhost:3000.

Enjoy exploring the Netflix clone!

Pull Docker Image from DockerHub :-

docker pull rutikdevops/netflix

image

Project Reference :-