Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: How do you deploy static JavaScript apps?
4 points by sebslomski on Nov 5, 2014 | hide | past | favorite | 5 comments
Hi,

how do you guys deploy static JavaScript apps in the wild? Till now I've been using an ec2 instance. But this just feels like a massive overkill.

s3? With pushState?



I have a static angular app deployed to S3. I'm using the AWS CLI tool (http://aws.amazon.com/cli/) to deploy and I thinks it's pretty convient. You can also use CloudFront with S3 to get a real CDN.


There are two real questions here:

* How do you host your javascript applications?

* For your given host how do you deploy?

Some applications I have are powered by node.js, others are served behind nginx. For both case I tend to deploy either via a plain rsync, or via a git push.


I've used Divshot before and it works well for static apps.

https://divshot.com/


Co-founder of Divshot here (thanks for the mention, jchmura). We built our platform from the ground up to be the best possible way to deploy static JS apps.

Let me know if you have any questions, I spend all day thinking about this stuff. :)


Github Pages has always been good enough for me.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: