Hi there,
I’m new to this forum and to middleman, so expect obvious newbie mistakes from me.
I’d like to host a middleman-based statis site on AWS. I’ve read the docs. All the solutions on that page involve writing down the access keys inside config.rb
.
But I also want to make the source code of my website available to everyone. So instead of having the keys inside config.rb, I’d like to have them somewhere else; probably in system variables, so I can do ENV['AWS_ACCESS_KEY']
. Ideally, I would like to keep them in a local .gitignored file.
How does one do that (or something equivalent) in middleman?