# Running the app

## Run the app on Browser

Once you have the [initial setup](/ionic-4-netflix-clone-template/initial-setup.md) done, it's time to run your app. First we'll run the app in development environment. In development environment, your app runs in a browser (of your choice). It is recommended to make all changes and development while running the app on browser . Running on device while developing will be too time consuming.‌

To run the app on browser, run

```
$ ionic serve
```

on your command line, inside your project folder. This will build the project and deploy it on a `localhost` url (usually it is `localhost:8100`). Your command line will look like this‌

![](/files/-Lqu3msP8JhZyODWLfUN)

The initial deploy process will take some time when it creates "chunks" of code pieces. Once you see `compiled successfully` , you are good to go. Your browser window will open automatically and load the app in a full screen view.‌

To change the app to a device view, right click anywhere on the browser and choose `Inspect Element`and choose device mode.‌

More about browser development tools can be found out in following links‌

* ​[Chrome Dev Tools](https://developers.google.com/web/tools/chrome-devtools/device-mode/)​
* ​[Firefox Dev Tools](https://developer.mozilla.org/en-US/docs/Tools)​


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://enappd.gitbook.io/ionic-4-netflix-clone-template/running-the-app.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
