TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How do you deploy static JavaScript apps?

4 pointsby sebslomskiover 10 years ago
Hi,<p>how do you guys deploy static JavaScript apps in the wild? Till now I&#x27;ve been using an ec2 instance. But this just feels like a massive overkill.<p>s3? With pushState?

4 comments

stevekempover 10 years ago
There are two real questions here:<p>* How do you host your javascript applications?<p>* For your given host how do you deploy?<p>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.
gingersnapover 10 years ago
I have a static angular app deployed to S3. I&#x27;m using the AWS CLI tool (<a href="http://aws.amazon.com/cli/" rel="nofollow">http:&#x2F;&#x2F;aws.amazon.com&#x2F;cli&#x2F;</a>) to deploy and I thinks it&#x27;s pretty convient. You can also use CloudFront with S3 to get a real CDN.
jchmuraover 10 years ago
I&#x27;ve used Divshot before and it works well for static apps.<p><a href="https://divshot.com/" rel="nofollow">https:&#x2F;&#x2F;divshot.com&#x2F;</a>
评论 #8565600 未加载
Oculusover 10 years ago
Github Pages has always been good enough for me.