After finishing the development cycle, it is possible to download the DApp to be hosted somewhere on the Internet. Downloaded DApps take into account the currently selected network, due to contract deployment settings and end-point configuration. Considering that, it is necessary to perform the deployment steps before proceeding.
To download the DApp, go to the preview window by clicking the Show Preview button located right next to the app folder in the Files hierarchy. Click the Download DApp button, at the top left side of the Show Preview window. Alternatively, from the Mosaic View, find the Download DApp button and click on it. A pop-up follows asking for confirmation. After reading the details, click the Download button and the DApp will be downloaded.
The DApp will be a single, self-contained HTML file, that can be run locally in the browser, hosted on the Internet or distributed by any other means for others to access. An example of a service that provides easy static web publishing is Surge: http://surge.sh/help/getting-started-with-surge.
Common mistakes when exporting DApps: