Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run the website #173

Open
Shubhiidixit opened this issue Feb 17, 2024 · 2 comments
Open

Unable to run the website #173

Shubhiidixit opened this issue Feb 17, 2024 · 2 comments

Comments

@Shubhiidixit
Copy link

No description provided.

@Pranavbhosale808
Copy link

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants