One newbie question about deploying on web

I created a simple site based on ionic 1, only contains html and js files,

how do I deploy on web rather than iOS and Android apps?

Copy and paste the “www” folder will work?

I did that also, and sent it to a friend,which casually opened the app and it worked, but i still don’t know is that the right way, because my app is like 9 MB large, imho…