---
description: Steps to follow for running your app on browser, device or deploy as PWA
---

# Running the app

## Run the app on Browser

Once you have the [initial setup](initial-setup) 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‌

![](https://812711768-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lqea4846K1EF_JYP5b0%2F-LqeaeMNtY8bL_ztQSq_%2F-Lqed4tQtjzC4jnYV-Sh%2Fassets_-LqBqAw4qSMckDjeSSDw_-LqGO_Gi1JCkLUT9J3xO_-LqGjqDQZt3LTITbJaaY_assets_-La-kqVz2Uq1Ka0VUWZT_-LaBSIQaCsUVAP5QmRgn_-LaBTFGrkCzUKYK6OGrN_Screen%20Shot%202019-03-17%20at%209.51.09%20PM.png?alt=media\&token=4cb4b2b8-f5c1-4a98-a650-2adfaaa75f17)

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)​
