# Running the app

### Run the app on Browser

Once you have the [initial setup](https://enappd-apps.gitbook.io/apps/ionic-4-full-app/set-up-the-development-environment) 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://3065094597-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-La-kqVz2Uq1Ka0VUWZT%2F-LaBSIQaCsUVAP5QmRgn%2F-LaBTFGrkCzUKYK6OGrN%2FScreen%20Shot%202019-03-17%20at%209.51.09%20PM.png?alt=media\&token=fcfe3aa6-68ad-4ce6-9f3a-4fa58fa02d17)

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)
