Ionic 2 on a cloud server



what is the proper way to run a ionic 2 progressive app on a cloud server trought ssh?

so far I am using this command for run the application in background:

//in the ionic webapp directory
$> nohup ionic serve 1>&- 2>&- &


ionic serve is just for local development; you don’t need (and should not) use it in production.

To deploy your app as a website you can simply copy the www folder to a regular web server like nginx.