soumyajit4419 / Portfolio

My self coded personal website build with React.js
https://soumyajit.vercel.app/
4.34k stars 2.32k forks source link

Unable to run the website #173

Open Shubhiidixit opened 6 months ago

Pranavbhosale808 commented 6 months ago

Clone the repo by using "git clone " in your system , You can find the repo url under the code button when you run the git clone command after that the POrtfolio folder will create in your system go in that folder after that fire this comamnd "npm start" after that you redirected to localhost:3000 there you can see this website.

Thank You :)

kumar-rakshith commented 1 month ago

It sounds like you have a set of instructions for cloning a Git repository and running a web application locally. Let's break down the steps:

  1. Clone the Repository:

    • Open your terminal or command prompt.
    • Use the git clone command followed by the repository URL.
    • For example:
      git clone https://github.com/example/repository.git
    • Replace https://github.com/example/repository.git with the actual URL of the repository you want to clone.
  2. Navigate to the Portfolio Folder:

    • Once the cloning process is complete, you should have a folder created on your system.
    • Navigate into that folder using the cd command.
    • For example, if your repository is named portfolio, you would do:
      cd portfolio
  3. Start the Development Server:

    • Inside the portfolio folder, run the npm start command.
    • This assumes that the repository contains a package.json file with scripts defined, typically start for starting the development server.
    • For example:
      npm start
    • This command will typically start a development server and launch your web application.
  4. Access the Website:

    • After running npm start, your terminal will usually provide a local address where the website is hosted, often localhost:3000.
    • Open your web browser and navigate to http://localhost:3000.
    • Here, you should see the website running locally on your machine.
  5. Confirmation:

    • Once the development server is running and you can see the website at localhost:3000, you have successfully set up and launched the web application locally.

Make sure you have Node.js and npm (Node Package Manager) installed on your system before running npm start, as they are typically required for JavaScript-based web applications like those built with React or similar frameworks.