Closed jamiefolsom closed 9 years ago
Hi, Jamie!
I've confirmed that everything on the client-side app is running from our _site
directory, which is all static HTML, CSS & JS. So I suspect that the client-side app, and the domain, could be run from GitHub Pages.
We did have a .htaccess
in there to enable the .appcache
as a MIME type, but I think we're no longer relying on that.
That leaves your API app on Heroku. As long as there are no CORS issues inherent to GitHub Pages, my assumption is that you can run this app from GitHub Pages and keep the API pointing at Heroku.
If you need an alternative, we're running the staging site from an S3 bucket, which is a very performant and economical option that can support a custom domain. You typically name the bucket to match the A record and then need additional buckets pointing to that for any CNAME records. I've been using their legacy blanket permissions in my buckets; You might need a little ramp-up on setting permissions to allow public access on a bucket that supports a website as they no longer allow blanket access & secret keys.
We use DeployHQ.com to automate deployments using GitHub hooks whenever we push to Master. You could automate things similarly with any number of script options or services.
@SherriAlexander Can you confirm any other details when you have a chance?
Mark
Great -- I've got it up and running on AWS: http://artbotapp.com -- does that look like the latest version to you? Thanks!
Looks good! I'd get a CNAME in place for the www.artbotapp.com domain, too, just in case people type that in.
Mark
Nothing to add -- looks good to me! :)
Re: CNAME; Good point, will do. Thanks all!
Hi @circa1977,
Opening an issue to discuss deployment. Questions include:
No great rush on this from my perspective, but @desigonz may feel otherwise (she's requested that we set up that domain).
Thanks!
Jamie