Setting up local projects

Requirements:

  • Have a stable (even-numbered) version of Node.js installed

  • Have Git installed

  • A development environment (e.g., Visual Studio Code)

  • Access to the code repository with Developer or higher permissions

  1. Accessing the code repository:

  2. Clone the repository locally using either SSH or HTTPS. For this example, we’ll use HTTPS to open the code directly in Visual Studio Code:

  3. Save the project in any folder on your computer:

  4. Open the project in Visual Studio Code:

  5. Since this is a company project, it is safe to trust the authors of the files in the folder:

  6. Once the folder is open, go to the top menu and select “Terminal → New Terminal”:

  7. In the new terminal, run the command "npm install", this will create all the necessary files.

  8. Next, run "npm run build" to check that there are no issues with the build process.

  9. If no errors appear, you may continue with: "npm run dev".

  10. To access the project, click on the link shown under “Local”:

  11. The project will now be running on your device’s local environment.

Last updated