Closed thedumbtechguy closed 3 months ago
Example of the config to put in the Rails credentials?
Yep.
I have added sample structure for what to put in one's credentials, cleaned out the output formatting, and removed all prompts. Everything is now driven by environment variables.
Output for this step should now look like this:
NOTE Edit your application's credentials to store your bucket details with:
bin/rails credentials:edit
Supply the necessary credentials for your S3-compatible storage provider in the following format:
litestream:
replica_bucket: <your-bucket-name>
replica_key_id: <public-key>
replica_access_key: <private-key>
You can confirm that everything is configured correctly by running and inspecting the output of the following command:
bin/rails litestream:env
Just run it and it went zoooooom
. all working correctly
Right now, the generator just tells you to configure credentials and uncomments the config. We could include an example of what that config looks like to make it easier.