mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-08-11 01:28:44 +09:00
Improve self-hosting instructions
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env ruby
|
||||
require "bundler/setup"
|
||||
require "securerandom"
|
||||
require "web_push"
|
||||
|
||||
vapid_key = WebPush.generate_key
|
||||
|
||||
puts "SECRET_KEY_BASE=#{SecureRandom.hex(64)}"
|
||||
puts "VAPID_PRIVATE_KEY=#{vapid_key.private_key}"
|
||||
puts "VAPID_PUBLIC_KEY=#{vapid_key.public_key}"
|
||||
Reference in New Issue
Block a user