---
url: https://docs.artemsemkin.com/velum/html/get-started/run-it-on-a-web-server.md
description: >-
  Open the template through a local web server, so its pages run instead of
  showing a notice.
---

# Run it on a web server

The pages run only when a web server sends them to the browser. Opened from disk with a double click, a page shows a notice and runs none of its scripts: no menu, no sliders, no AJAX transitions.

![A page opened from disk shows this notice instead of the site](https://docs.artemsemkin.com/velum/html/images/get-started/run-it-on-a-web-server-1.png)

::: info Why not from disk?
The components load their scripts as the page needs them, and browsers refuse to load scripts that way from a file on disk. Through a web server, even one on your own computer, the same files load.
:::

A local web server for your editor is the simplest way. The steps below use [Visual Studio Code](https://code.visualstudio.com/) with the free [Live Server](https://github.com/ritwickdey/vscode-live-server) extension. Any other web server works the same way, your hosting account included.

## How to access

**VS Code → Extensions**

## Installing Live Server

#### ▶️ Step 1.

Open **Extensions** in VS Code's sidebar and search for **Live Server**.

#### ▶️ Step 2.

Click **Install** on Live Server by Ritwick Dey.

## Opening the site

#### ▶️ Step 1.

Choose **File → Open Folder…** and select the `HTML` folder from the package.

#### ▶️ Step 2.

Click **Go Live** in the status bar at the bottom of the window. Your browser opens the site on port 5500 and shows `index.html`.

#### ▶️ Step 3.

Edit a page and save it. Live Server reloads the browser, so you see the change at once.

To stop the server, click the port number that took the place of **Go Live** in the status bar.

::: tip Right-click a page
To open one page directly, right-click its file in VS Code's Explorer and choose **Open with Live Server**.
:::

Live Server is for your own computer. For the site visitors see, upload the HTML folder to your host. With the site running, [choose your way of working](./choose-your-way-of-working) before you change anything.
