Skip to content

Run your local project

To work with the project, you need to have your local environment up and running so you can see changes reflected in WordPress.


  • Open XAMPP and make sure the following services are running:
  • Go to the Manager Servers tab
  • Restart All so MySQL, ProFTPD and Apache start running

To see your code updates in local, you need to open the projectAcronym-wp-theme folder in your Visual Studio (uni-wp-theme in the example bellow).

wp location

And locally install Node.js in case you haven’t already. For that, open the Visual Studio’s terminal and:

Terminal window
nvm install 21
nvm use 21

This will install the Node 21 version (you can ask your manager for the exact version the project needs) in your project.

Then, install all the dependencies of the node-modules in your local project with the command:

Terminal window
npm install

And start working in your local project:

Terminal window
npm run virtual
  • This command starts the local build process.
  • As long as this process is running, any updates you make and save will be reflected automatically in your local environment.

With XAMPP running and npm run virtual active:

  • Open your local WordPress site in the browser. Example: localhost/wp-sei, localhost/wp-prop

Knowledge Check

Test your understanding of this section

Loading questions...