Skip to content

How To Run Downloaded Website Code In Local?

Once you have downloaded code into your local pc, please follow below steps.

  • Extract the downloaded .zip file to a folder.
  • Open folder in vscode, launch terminal and execute below commands at root of the project where package.json exits. All the frameworks follow same commands to run the source code.
  1. Install dependencies

    Terminal window
    npm install
  2. Run the code in local development

    Terminal window
    npm run dev
  3. Build for production

    Terminal window
    npm run build
  4. Preview production in local

    Terminal window
    npm run preview