13
How to add hard-coded website to square space?
(beehaw.org)
All things programming and coding related. Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
Can't comment on square space, but you could maybe try firebase (google), github pages, or netlify as alternatives?
You can (or at least could ~5 years ago) easily serve a static site through an s3 bucket
Now you can just host static websites for free on gitlab/github.
True, though I think GutHub does need a paid account if you want the repo to be private
Yeah, I mean if it's a static website unless it's using a generator, the source is accessible by just visiting the website. So having it public shouldn't matter too much, right? Even if it's using a generator, it's not like what you are writing is secret. That said I use GitLab and Hugo on a private repo. I have no reason to make it public and all the highly experienced web developers told me it simply doesn't need to be public so why make it public?
Good point! I rarely use plain static pages, there’s usually some templating involved if I’m going through GH pages.
Just to throw out another one, there's also Cloudflare Pages.
I actually started looking at firebase today. I'm confused by it, but that's the case with everything new to me.
You'll want to create a new firebase project, install the firebase CLI on your computer and then use the CLI to: login to firebase, select the project you created, and then using the CLI run
firebase deploy
wherever your code is. That should use firebase "hosting" to serve your static files.I find Google Cloud's documentation extremely confusing (including firebase), so you're not alone on that front. Took a lot of searching & troubleshooting to finally get my setup working as I intended.
netlify is amazing for static sites.