Skip to content

Commit

Permalink
chore: add comment to script for inserting certificate.
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque authored Apr 1, 2019
1 parent 6fcbd7d commit 2a0fbc7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions script/insert-self-signed-certificate-from-url.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
raise "Usage: #{__FILE__} URI SQLITE_DATABASE_PATH" unless uri_string && database

# Modify this hash with the configuration for your database
# For example, a postgres connection would look like:
# DATABASE_CREDENTIALS = {logger: Logger.new($stdout), adapter: "postgres", host: "HOST", username: "USERNAME", password: "PASSWORD", :encoding => 'utf8'}
DATABASE_CREDENTIALS = {logger: Logger.new($stdout), adapter: "sqlite", database: database, :encoding => 'utf8'}

uri = URI(uri_string)
Expand Down

0 comments on commit 2a0fbc7

Please sign in to comment.